docs: public static String getStateStyle(Item resourceItem) {
  
          String result = "";
          if (resourceItem != null) {
              if ((resourceItem.getItemProperty(PROPERTY_INSIDE_PROJECT) == null)
                  || ((Boolean)resourceItem.getItemProperty(PROPERTY_INSIDE_PROJECT).getValue()).booleanValue()) {
  
                  CmsResourceState state = (CmsResourceState)resourceItem.getItemProperty(
                      CmsResourceTableProperty.PROPERTY_STATE).getValue();
                  result = getStateStyle(state);
              } else {
                  result = OpenCmsTheme.PROJECT_OTHER;
              }
              if ((resourceItem.getItemProperty(PROPERTY_RELEASED_NOT_EXPIRED) != null)
                  && !((Boolean)resourceItem.getItemProperty(PROPERTY_RELEASED_NOT_EXPIRED).getValue()).booleanValue()) {
                  result += " " + OpenCmsTheme.EXPIRED;
              }
              if ((resourceItem.getItemProperty(CmsResourceTableProperty.PROPERTY_DISABLED) != null)
                  && ((Boolean)resourceItem.getItemProperty(
                      CmsResourceTableProperty.PROPERTY_DISABLED).getValue()).booleanValue()) {
                  result += " " + OpenCmsTheme.DISABLED;
              }
          }
          return result;
      }