Class EditWSTypeEntryHandler

  • All Implemented Interfaces:
    JcmsConstants, JaliosConstants

    public class EditWSTypeEntryHandler
    extends EditDataHandler
    This class handle create/update/delete form action on WSTypeEntry
    Since:
    jcms-5.5.0
    Version:
    $Revision: 124617 $
    Author:
    Jean-Philippe Encausse
    • Field Detail

      • typeName

        protected java.lang.String typeName
      • type

        protected java.lang.Class<?> type
      • isDebatable

        protected java.lang.Boolean isDebatable
      • isCategoryTab

        protected java.lang.Boolean isCategoryTab
      • isTemplateTab

        protected java.lang.Boolean isTemplateTab
      • isReadRightTab

        protected java.lang.Boolean isReadRightTab
      • isUpdateRightTab

        protected java.lang.Boolean isUpdateRightTab
      • isWorkflowTab

        protected java.lang.Boolean isWorkflowTab
      • isAdvancedTab

        protected java.lang.Boolean isAdvancedTab
      • categories

        protected java.lang.String[] categories
      • groups

        protected java.lang.String[] groups
      • labelMap

        protected java.util.HashMap<java.lang.String,​java.lang.String> labelMap
      • descriptionMap

        protected java.util.HashMap<java.lang.String,​java.lang.String> descriptionMap
      • useDefaultGroups

        protected boolean useDefaultGroups
      • useDefaultCategories

        protected boolean useDefaultCategories
      • templateSet

        protected java.util.Set<java.lang.String> templateSet
    • Constructor Detail

      • EditWSTypeEntryHandler

        public EditWSTypeEntryHandler()
    • 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 EditDataHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • showFullDisplayProperties

        public boolean showFullDisplayProperties()
      • showTabCategories

        public boolean showTabCategories()
      • showTabReadRights

        public boolean showTabReadRights()
      • showTabUpdateRights

        public boolean showTabUpdateRights()
      • showTabTemplates

        public boolean showTabTemplates()
      • showDefaultCategories

        public boolean showDefaultCategories()
      • showDefaultReadRights

        public boolean showDefaultReadRights()
      • setFields

        protected void setFields​(WSTypeEntry workingWste)
      • sendRedirect

        protected void sendRedirect()
                             throws java.io.IOException
        Overrides:
        sendRedirect in class EditDataHandler
        Throws:
        java.io.IOException
      • validateCreate

        protected boolean validateCreate()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • validateUpdate

        protected boolean validateUpdate()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • validateDelete

        protected boolean validateDelete()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • performCreate

        protected boolean performCreate()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • performUpdate

        protected boolean performUpdate()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • performDelete

        protected boolean performDelete()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • setCids

        public void setCids​(java.lang.String[] cids)
      • setGids

        public void setGids​(java.lang.String[] gids)
      • setLabel

        public void setLabel​(java.lang.String[] values)
      • setDescription

        public void setDescription​(java.lang.String[] values)
      • setAdvancedTab

        public void setAdvancedTab​(boolean isAdvancedTab)
      • setCategoryTab

        public void setCategoryTab​(boolean isCategoryTab)
      • setDebatable

        public void setDebatable​(boolean isDebatable)
      • setReadRightTab

        public void setReadRightTab​(boolean isReadRightTab)
      • setTemplateTab

        public void setTemplateTab​(boolean isTemplateTab)
      • setUpdateRightTab

        public void setUpdateRightTab​(boolean isUpdateRightTab)
      • setWorkflowTab

        public void setWorkflowTab​(boolean isWorkflowTab)
      • setUseDefaultGroups

        public void setUseDefaultGroups​(boolean useDefaultGroups)
      • setUseDefaultCategories

        public void setUseDefaultCategories​(boolean useDefaultCategories)
      • setWorkflowId

        public void setWorkflowId​(java.lang.String wfid)
      • setTypeName

        public void setTypeName​(java.lang.String typeName)
      • getType

        public java.lang.Class<?> getType()
      • setTemplates

        public void setTemplates​(java.lang.String[] templates)
      • getAvailableWorkflowId

        public java.lang.String getAvailableWorkflowId()
      • getAvailableCategories

        public java.lang.String[] getAvailableCategories()
      • getAvailableGroups

        public java.lang.String[] getAvailableGroups()
      • getAvailableDescriptionMap

        public java.util.Map<java.lang.String,​java.lang.String> getAvailableDescriptionMap()
      • getAvailableAdvancedTab

        public boolean getAvailableAdvancedTab()
      • getAvailableCategoryTab

        public boolean getAvailableCategoryTab()
      • getAvailableDebatable

        public boolean getAvailableDebatable()
      • getAvailableReadRightTab

        public boolean getAvailableReadRightTab()
      • getAvailableTemplateTab

        public boolean getAvailableTemplateTab()
      • getAvailableUpdateRightTab

        public boolean getAvailableUpdateRightTab()
      • getAvailableWorkflowTab

        public boolean getAvailableWorkflowTab()
      • getAvailableLabelMap

        public java.util.Map<java.lang.String,​java.lang.String> getAvailableLabelMap()
      • getAvailableUseDefaultCategories

        public boolean getAvailableUseDefaultCategories()
      • getAvailableUseDefaultGroups

        public boolean getAvailableUseDefaultGroups()
      • hasTemplate

        public boolean hasTemplate​(java.lang.String templateName)
      • restValidation

        protected boolean restValidation​(boolean result)
                                  throws java.io.IOException
        Overrides:
        restValidation in class EditDataHandler
        Throws:
        java.io.IOException