Class EditWorkspaceRoleHandler

    • Field Detail

      • wfId

        protected java.lang.String wfId
      • roleMap

        protected java.util.HashMap<java.lang.String,​WKRole> roleMap
      • roleMembers

        protected Member[] roleMembers
      • roleMembersAddCount

        protected int roleMembersAddCount
      • involvedAuthor

        protected boolean involvedAuthor
      • opInvolvedAuthor

        protected boolean opInvolvedAuthor
      • involvedManager

        protected boolean involvedManager
      • opInvolvedManager

        protected boolean opInvolvedManager
      • roleGroups

        protected Group[] roleGroups
      • roleGroupsAddCount

        protected int roleGroupsAddCount
      • roleWeight

        protected int[] roleWeight
      • roleWeightType

        protected boolean[] roleWeightType
      • openRole

        protected java.lang.String openRole
      • opSaveRole

        protected boolean opSaveRole
      • opEditRole

        protected boolean opEditRole
      • editableRole

        protected WFRole editableRole
      • oldEditableRole

        protected WFRole oldEditableRole
      • opChangeWF

        protected boolean opChangeWF
    • Constructor Detail

      • EditWorkspaceRoleHandler

        public EditWorkspaceRoleHandler()
    • 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
      • setWfId

        public void setWfId​(java.lang.String v)
      • getAvailableWfId

        public java.lang.String getAvailableWfId()
      • getAvailableAllWorkflowSet

        public java.util.Set<Workflow> getAvailableAllWorkflowSet()
      • getAvailableWorkflowSet

        public java.util.Set<Workflow> getAvailableWorkflowSet()
      • getAvailableGroupSet

        public java.util.Set<Group> getAvailableGroupSet()
      • getAvailableRoleMap

        public java.util.Map<java.lang.String,​WKRole> getAvailableRoleMap()
      • validateAddItem

        public boolean validateAddItem()
      • performAddItem

        public boolean performAddItem()
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • setOpAddItem

        public void setOpAddItem​(java.lang.String v)
      • setRoleMembers

        public void setRoleMembers​(java.lang.String[] v)
      • getAvailableRoleMembers

        public Member[] getAvailableRoleMembers()
      • setRoleMembersAddCount

        public void setRoleMembersAddCount​(int v)
      • getRoleMembersCount

        public int getRoleMembersCount()
      • getAvailableInvolvedAuthor

        public boolean getAvailableInvolvedAuthor()
      • setInvolvedAuthor

        public void setInvolvedAuthor​(java.lang.String involvedAuthor)
      • getAvailableInvolvedManager

        public boolean getAvailableInvolvedManager()
      • setInvolvedManager

        public void setInvolvedManager​(java.lang.String involvedManager)
      • setRoleGroups

        public void setRoleGroups​(java.lang.String[] v)
      • getAvailableRoleGroups

        public Group[] getAvailableRoleGroups()
      • setRoleGroupsAddCount

        public void setRoleGroupsAddCount​(int v)
      • getRoleGroupsCount

        public int getRoleGroupsCount()
      • setRoleWeight

        public void setRoleWeight​(java.lang.String[] v)
      • setRoleWeightType

        public void setRoleWeightType​(boolean[] v)
      • getWeightForGroup

        public int getWeightForGroup​(int pos)
      • isPercentageForGroup

        public boolean isPercentageForGroup​(int pos)
      • getAvailableOpenRole

        public java.lang.String getAvailableOpenRole()
      • setOpenRole

        public void setOpenRole​(java.lang.String openRole)
      • getAvailableGroupMode

        public int getAvailableGroupMode()
      • setGroupMode

        public void setGroupMode​(int groupMode)
      • getAvailableMemberMode

        public int getAvailableMemberMode()
      • setMemberMode

        public void setMemberMode​(int memberMode)
      • setOpSaveRole

        public void setOpSaveRole​(java.lang.String v)
      • validateSaveRole

        public boolean validateSaveRole()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • performSaveRole

        public boolean performSaveRole()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • setOpEditRole

        public void setOpEditRole​(java.lang.String v)
      • validateEditRole

        public boolean validateEditRole()
      • performEditRole

        public boolean performEditRole()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • getAvailableEditableRole

        public WFRole getAvailableEditableRole()
      • setEditableRole

        public void setEditableRole​(java.lang.String editableRole)
      • isWKRoleEditable

        public boolean isWKRoleEditable​(WFRole wfRole)
      • setOldEditableRole

        public void setOldEditableRole​(java.lang.String editableRole)
      • setOpChangeWF

        public void setOpChangeWF​(java.lang.String v)
      • validateChangeWF

        public boolean validateChangeWF()
      • performChangeWF

        public boolean performChangeWF()
                                throws java.io.IOException
        Throws:
        java.io.IOException