docs: public static CmsLockType valueOf(int type) {
  
          switch (type) {
              case 1:
                  return SHARED_INHERITED;
              case 2:
                  return SHARED_EXCLUSIVE;
              case 3:
                  return INHERITED;
              case 4:
                  return EXCLUSIVE;
              case 6:
                  return TEMPORARY;
              case 7:
                  return PUBLISH;
              case 8:
                  return SYSTEM_UNLOCKED;
              default:
                  return UNLOCKED;
          }
      }