Interface JcmsConstants

    • Field Detail

      • UPLOAD_PERMISSION_SIZE_PROP_PREFIX

        static final java.lang.String UPLOAD_PERMISSION_SIZE_PROP_PREFIX
        See Also:
        Constant Field Values
      • UPLOAD_PERMISSION_COUNT_PROP_PREFIX

        static final java.lang.String UPLOAD_PERMISSION_COUNT_PROP_PREFIX
        See Also:
        Constant Field Values
      • ORGANIZATION_ROOT_GROUP_PROP

        static final java.lang.String ORGANIZATION_ROOT_GROUP_PROP
        See Also:
        Constant Field Values
      • SVGINLINE_ICON_PREFIX

        static final java.lang.String SVGINLINE_ICON_PREFIX
        See Also:
        Constant Field Values
      • RAW_CONTENT_ICON_PREFIX

        static final java.lang.String RAW_CONTENT_ICON_PREFIX
        See Also:
        Constant Field Values
      • PHOTO_ICON_PROP_PREFIX

        static final java.lang.String PHOTO_ICON_PROP_PREFIX
        See Also:
        Constant Field Values
      • PHOTO_TINY_PROP_PREFIX

        static final java.lang.String PHOTO_TINY_PROP_PREFIX
        See Also:
        Constant Field Values
      • PHOTO_SMALL_PROP_PREFIX

        static final java.lang.String PHOTO_SMALL_PROP_PREFIX
        See Also:
        Constant Field Values
      • PHOTO_NORMAL_PROP_PREFIX

        static final java.lang.String PHOTO_NORMAL_PROP_PREFIX
        See Also:
        Constant Field Values
      • PHOTO_LARGE_PROP_PREFIX

        static final java.lang.String PHOTO_LARGE_PROP_PREFIX
        See Also:
        Constant Field Values
      • TYPES_ICON_SUFFIX_PROP

        static final java.lang.String TYPES_ICON_SUFFIX_PROP
        See Also:
        Constant Field Values
      • TYPES_THUMB_SUFFIX_PROP

        static final java.lang.String TYPES_THUMB_SUFFIX_PROP
        See Also:
        Constant Field Values
      • TYPES_ICON_TITLE_PROP

        static final java.lang.String TYPES_ICON_TITLE_PROP
        See Also:
        Constant Field Values
      • JALIOS_JUNIT_PROP

        static final java.lang.String JALIOS_JUNIT_PROP
        System property being set to true when running JCMS in unit tests.
        boolean isJUnit = Util.toBoolean(System.getProperty(JcmsConstants.JALIOS_JUNIT_PROP), false);
        See Also:
        Constant Field Values
      • FORCE_REDIRECT

        static final java.lang.String FORCE_REDIRECT
        This constant can be use as a request attribute key to force a redirection:
        request.setAttribute(JcmsConstants.FORCE_REDIRECT, channel.getUrl());
        See Also:
        Constant Field Values
      • SUCCESS_MSG

        @Deprecated
        static final java.lang.String SUCCESS_MSG
        Deprecated.
        use methods indicated in the javadoc above.
        This constant is used internally as a request or session attribute key to display an information message through any include to "doMessageBox.jsp".

        Use the method setSuccessMsg() or setSuccessMsgSession() available in jsp or in java bean extending through jsp or JcmsContext.

        In JSP :

         setSuccessMsg("Your content has been saved", request);
         setSuccessMsgSession("Your content has been saved", request);
         
        In java bean / java handler :
         setSuccessMsg("Your content has been saved");
         setSuccessMsgSession("Your content has been saved");
         
        In other java :
         JcmsContext.setSuccessMsg("Your content has been saved", request);
         JcmsContext.setSuccessMsgSession("Your content has been saved", request);
         
        See Also:
        Constant Field Values
      • INFORMATION_MSG

        @Deprecated
        static final java.lang.String INFORMATION_MSG
        Deprecated.
        use methods indicated in the javadoc above.
        This constant is used internally as a request or session attribute key to display an information message through any include to "doMessageBox.jsp".

        Use the method setInfoMsg() or setInfoMsgSession() available in jsp or in java bean extending through jsp or JcmsContext.

        In JSP :

         setInfoMsg("Your content has been saved", request);
         setInfoMsgSession("Your content has been saved", request);
         
        In java bean / java handler :
         setInfoMsg("Your content has been saved");
         setInfoMsgSession("Your content has been saved");
         
        In other java :
         JcmsContext.setInfoMsg("Your content has been saved", request);
         JcmsContext.setInfoMsgSession("Your content has been saved", request);
         
        See Also:
        Constant Field Values
      • WARNING_MSG

        @Deprecated
        static final java.lang.String WARNING_MSG
        Deprecated.
        use methods indicated in the javadoc above.
        This constant is used internally as a request or session attribute key to display an warning message through any include to "doMessageBox.jsp".

        Use the method setWarningMsg() or setWarningMsgSession() available in jsp or in java bean extending through jsp or JcmsContext.

        In JSP :

         setWarningMsg("Enter an expiration date in the future", request);
         setWarningMsgSession("Enter an expiration date in the future", request);
         
        In java bean / java handler :
         setWarningMsg("Enter an expiration date in the future");
         setWarningMsgSession("Enter an expiration date in the future");
         
        In other java :
         JcmsContext.setWarningMsg("Enter an expiration date in the future", request);
         JcmsContext.setWarningMsgSession("Enter an expiration date in the future", request);
         
        See Also:
        Constant Field Values
      • ERROR_MSG

        @Deprecated
        static final java.lang.String ERROR_MSG
        Deprecated.
        use methods indicated in the javadoc above.
        This constant is used internally as a request or session attribute key to display an error message through any include to "doMessageBox.jsp".

        Use the method setWarningMsg() or setErrorMsgSession() available in jsp or in java bean extending through jsp or JcmsContext.

        In JSP :

         setErrorMsg("An error occured while saving your content", request);
         setErrorMsgSession("An error occured while saving your content", request);
         
        In java bean / java handler :
         setErrorMsg("An error occured while saving your content");
         setErrorMsgSession("An error occured while saving your content");
         
        In other java :
         JcmsContext.setErrorMsg("An error occured while saving your content", request);
         JcmsContext.setErrorMsgSession("An error occured while saving your content", request);
         
        See Also:
        Constant Field Values
      • JCMS_MSG_LIST

        static final java.lang.String JCMS_MSG_LIST
        This constant is used internally as a request or session attribute key to display an information message through any include to "doMessageBox.jsp".
        See Also:
        Constant Field Values
      • JCMS_TOASTR_COLLECTION

        static final java.lang.String JCMS_TOASTR_COLLECTION
        This constant is used internally as a request or session attribute key to display a toastr through any include to "doToastr.jspf".
        See Also:
        Constant Field Values
      • SESSION_AUTHORIZED_FILENAMES_SET

        static final java.lang.String SESSION_AUTHORIZED_FILENAMES_SET
        This is a key, in the J2EE session attributes map, giving a set of files paths. A request with this session may have access to files without having the rights.
        Since:
        JCMS-6.1
        See Also:
        Constant Field Values
      • AJAX_MODE_ATTR

        static final java.lang.String AJAX_MODE_ATTR
        This constant is used internally as a request attribute key to define that the current context would be using ajax.
        See Also:
        Constant Field Values
      • VID_LOGGED_MEMBER

        static final java.lang.String VID_LOGGED_MEMBER
        This constant can be used as virtual id for a Member to represent the logged member.
        See Also:
        Constant Field Values
      • IS_IN_FRONT_OFFICE

        static final java.lang.String IS_IN_FRONT_OFFICE
        This constant is used to tell the page is in front office
        See Also:
        Constant Field Values
      • CLASS_PROPERTY

        static final java.lang.String CLASS_PROPERTY
        This constant is used for providers class properties
        See Also:
        Constant Field Values
      • CS_TYPOLOGY_ROOT_CAT_VID

        static final java.lang.String CS_TYPOLOGY_ROOT_CAT_VID
        The virtual id for the CollaborativeSpace Typology root Category.
        Since:
        jcms-10.0.7 / JCMS-9921
        See Also:
        Constant Field Values