Class EditPortalElementHandler

    • Field Detail

      • opDeepCopy

        protected boolean opDeepCopy
      • prefixCopy

        protected java.lang.String prefixCopy
      • abilities

        protected java.lang.String[] abilities
    • Constructor Detail

      • EditPortalElementHandler

        public EditPortalElementHandler()
    • Method Detail

      • getAvailableDescription

        public abstract java.lang.String getAvailableDescription()
      • getAvailableDescription

        public abstract java.lang.String getAvailableDescription​(java.lang.String lang)
      • getAllAvailableDescriptionML

        public abstract java.util.HashMap getAllAvailableDescriptionML()
      • getAvailableCacheType

        public abstract java.lang.String getAvailableCacheType()
      • getAvailableCacheSensibility

        public abstract java.lang.String getAvailableCacheSensibility()
      • getAvailableInvalidTime

        public abstract long getAvailableInvalidTime()
      • getAvailableInvalidClass

        public abstract java.lang.String[] getAvailableInvalidClass()
      • getInvalidClassCount

        public abstract int getInvalidClassCount()
      • getAvailableBehaviorCopy

        public abstract java.lang.String getAvailableBehaviorCopy()
      • getAvailableCssId

        public abstract java.lang.String getAvailableCssId()
      • 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 EditPublicationHandler
        Returns:
        false if no redirection is needed, true otherwise
        Throws:
        java.io.IOException - IO Exception
      • setFields

        public void setFields​(Publication data)
        Description copied from class: EditPublicationHandler
        Set the common (Publication) fields. This method is also a hook for sub-classed to fill some field (or do anything else) before a create or an update.
        Overrides:
        setFields in class EditPublicationHandler
        Parameters:
        data - the publication to set the fields
      • setAbilities

        public void setAbilities​(java.lang.String[] abilities)
      • getAvailableAbilities

        public java.lang.String[] getAvailableAbilities()
      • validateDeepCopy

        public boolean validateDeepCopy()
      • performDeepCopy

        public boolean performDeepCopy()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • setOpDeepCopy

        public void setOpDeepCopy​(java.lang.String b)
      • setPrefixCopy

        public void setPrefixCopy​(java.lang.String s)
      • getDefaultTemplateUsage

        public java.lang.String getDefaultTemplateUsage()
        Returns the default template usage used to display the publication. This default tempalte may change between Content and Portlets
        Overrides:
        getDefaultTemplateUsage in class EditPublicationHandler
        Returns:
        String the default usage
        Since:
        jcms-6.0.0
      • isSkipValidateWorkspace

        public boolean isSkipValidateWorkspace()
      • setSkipValidateWorkspace

        public void setSkipValidateWorkspace​(boolean skipValidateWorkspace)