code: public static String getStateKey(CmsResourceState state) {
  
          StringBuffer sb = new StringBuffer(GUI_STATE_PREFIX);
          sb.append(state.getState());
          sb.append(GUI_STATE_POSTFIX);
          return sb.toString();
      }
docs: Create state message key for resource name.<p>
  
  @param state resource state
  
  @return title message key to resource state
  
  @see org.opencms.file.CmsResource#getState()