Class EditWorkspaceCommonHandler

    • Field Detail

      • administrators

        protected Member[] administrators
      • administratorsAddCount

        protected int administratorsAddCount
      • catSet

        protected java.util.HashSet catSet
      • order

        protected int order
      • model

        protected boolean model
      • closed

        protected boolean closed
      • title

        protected java.lang.String title
      • titleML

        protected java.util.HashMap titleML
      • defaultGroup

        protected Group defaultGroup
      • incomingMailEnabled

        protected boolean incomingMailEnabled
      • incomingMailLocalPart

        protected java.lang.String incomingMailLocalPart
      • classificationLevel

        protected int classificationLevel
      • minClassificationLevel

        protected int minClassificationLevel
    • Constructor Detail

      • EditWorkspaceCommonHandler

        public EditWorkspaceCommonHandler()
    • Method Detail

      • processAction

        public boolean processAction()
                              throws java.io.IOException
        Description copied from class: JcmsFormHandler
        Method to be implemented to check/validate action to be performed and process them.

        Default implementation is to return false. No need to call super method.

        This method may NOT be invoked at all if security validation are not met.

        You must ensure your handler and JSP can work properly without any code invoked in this method.

        Overrides:
        processAction in class AbstractEditWorkspaceHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • setAdministrators

        public void setAdministrators​(java.lang.String[] v)
      • getAvailableAdministrators

        public Member[] getAvailableAdministrators()
      • setAdministratorsAddCount

        public void setAdministratorsAddCount​(int v)
      • getAdministratorsCount

        public int getAdministratorsCount()
      • getAvailableCatSet

        public java.util.Set getAvailableCatSet()
      • setCatSet

        public void setCatSet​(java.lang.String[] v)
      • getAvailableTagRoot

        public Category getAvailableTagRoot()
      • setTagRoot

        public void setTagRoot​(java.lang.String v)
      • getAvailableOrder

        public int getAvailableOrder()
        Get the value of order.
        Returns:
        Value of order.
      • setOrder

        public void setOrder​(int v)
        Set the value of order.
        Parameters:
        v - Value to assign to order.
      • getAvailableModel

        public boolean getAvailableModel()
        Get the value of model.
        Returns:
        Value of model.
      • setModel

        public void setModel​(boolean v)
        Set the value of model.
        Parameters:
        v - Value to assign to model.
      • getAvailableClosed

        public boolean getAvailableClosed()
        Get the value of closed.
        Returns:
        Value of closed.
      • setClosed

        public void setClosed​(boolean v)
        Set the value of closed.
        Parameters:
        v - Value to assign to closed.
      • getAvailableTitle

        public java.lang.String getAvailableTitle()
      • getAvailableTitle

        public java.lang.String getAvailableTitle​(java.lang.String lang)
      • setTitle

        public void setTitle​(java.lang.String[] v)
      • getAvailableTitleML

        public java.util.HashMap<java.lang.String,​java.lang.String> getAvailableTitleML()
      • setLanguage

        public void setLanguage​(java.lang.String[] v)
      • getAvailableLanguage

        public java.lang.String getAvailableLanguage()
      • getAvailableDefaultLanguage

        public java.lang.String getAvailableDefaultLanguage()
      • getAvailableParent

        public Workspace getAvailableParent()
      • setParent

        public void setParent​(java.lang.String parentid)
      • getAvailableDefaultGroup

        public Group getAvailableDefaultGroup()
      • setDefaultGroup

        public void setDefaultGroup​(java.lang.String v)
      • setMainPortal

        public void setMainPortal​(java.lang.String v)
      • setIncomingMailEnabled

        public void setIncomingMailEnabled​(boolean enable)
        Set the value of incoming mail.
        Parameters:
        enable - Value to assign to incoming mail.
        Since:
        jcms-9.0.0
      • getAvailableIncomingMailEnabled

        public boolean getAvailableIncomingMailEnabled()
        Get the value of incoming mail.
        Returns:
        Value of incoming mail.
        Since:
        jcms-9.0.0
      • setIncomingMailLocalPart

        public void setIncomingMailLocalPart​(java.lang.String v)
      • getAvailableIncomingMailLocalPart

        public java.lang.String getAvailableIncomingMailLocalPart()
      • getAvailableClassificationLevel

        public int getAvailableClassificationLevel()
        Retrieve the classification level current available for the edition in progress
        Returns:
        a classification level
        Since:
        10.0.8 / JCMS-10746
      • setClassificationLevel

        public void setClassificationLevel​(int level)
        Set the classification level to assign to the edited workspace
        Parameters:
        level - a value from 0 for unclassified workspace to ClassificationManager.getMaximumLevel() (included) for highly classified workspace. 0 if used if null is specified.
        Since:
        10.0.8 / JCMS-10746
      • getClassificationLevelSettings

        public EnumerateSettings getClassificationLevelSettings()
        Retrieve a settings suitable to edit a classification level in the current context.
        Returns:
        a new EnumerateSettings instance
        Since:
        10.0.8 / JCMS-10746
      • showClassification

        public boolean showClassification()
        Check if the classification level field should be displayed
        Returns:
        true to display field, false otherwise
        Since:
        10.0.8 / JCMS-10746
      • getAvailableMinClassificationLevel

        public int getAvailableMinClassificationLevel()
        Retrieve the minimum classification level current available for the edition in progress
        Returns:
        a classification level
        Since:
        10.0.8 / JCMS-10746
      • setMinClassificationLevel

        public void setMinClassificationLevel​(int level)
        Set the minimum classification level to assign to the edited workspace
        Parameters:
        level - a value from 0 to ClassificationManager.getMaximumLevel()
        Since:
        10.0.8 / JCMS-10746