docs: public static CmsResourceState valueOf(int state) {
  
          switch (state) {
              case 0:
                  return CmsResource.STATE_UNCHANGED;
              case 1:
                  return CmsResource.STATE_CHANGED;
              case 2:
                  return CmsResource.STATE_NEW;
              case 3:
                  return CmsResource.STATE_DELETED;
              case 99:
              default:
                  return CmsResource.STATE_KEEP;
          }
      }