Class EditPortalElementHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants
Direct Known Subclasses:
EditAbstractJPortalHandler, EditPortalHandler, EditPortalRedirectHandler, EditPortletHandler

public abstract class EditPortalElementHandler extends EditPublicationHandler
  • Field Details

    • opDeepCopy

      protected boolean opDeepCopy
    • prefixCopy

      protected String prefixCopy
    • abilities

      protected String[] abilities
  • Constructor Details

    • EditPortalElementHandler

      public EditPortalElementHandler()
  • Method Details

    • getAvailableDescription

      public abstract String getAvailableDescription()
    • getAvailableDescription

      public abstract String getAvailableDescription(String lang)
    • getAllAvailableDescriptionML

      public abstract HashMap getAllAvailableDescriptionML()
    • getAvailableCacheType

      public abstract String getAvailableCacheType()
    • getAvailableCacheSensibility

      public abstract String getAvailableCacheSensibility()
    • getAvailableInvalidTime

      public abstract long getAvailableInvalidTime()
    • getAvailableInvalidClass

      public abstract String[] getAvailableInvalidClass()
    • getInvalidClassCount

      public abstract int getInvalidClassCount()
    • getAvailableBehaviorCopy

      public abstract String getAvailableBehaviorCopy()
    • getAvailableCssId

      public abstract String getAvailableCssId()
    • processAction

      public boolean processAction() throws 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:
      IOException - IO Exception
    • validateUpdate

      public boolean validateUpdate() throws IOException
      Overrides:
      validateUpdate in class EditPublicationHandler
      Throws:
      IOException
    • 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
    • getAvailableTemplateEntry

      public TypeTemplateEntry getAvailableTemplateEntry(String usage)
      Overrides:
      getAvailableTemplateEntry in class EditPublicationHandler
    • getAvailableTemplates

      public String[] getAvailableTemplates()
      Overrides:
      getAvailableTemplates in class EditPublicationHandler
    • setAbilities

      public void setAbilities(String[] abilities)
    • getAvailableAbilities

      public String[] getAvailableAbilities()
    • validateDeepCopy

      public boolean validateDeepCopy()
    • performDeepCopy

      public boolean performDeepCopy() throws IOException
      Throws:
      IOException
    • setOpDeepCopy

      public void setOpDeepCopy(String b)
    • setPrefixCopy

      public void setPrefixCopy(String s)
    • getDefaultTemplateUsage

      public 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
    • validateWorkspace

      public boolean validateWorkspace() throws IOException
      Overrides:
      validateWorkspace in class EditPublicationHandler
      Throws:
      IOException
    • isSkipValidateWorkspace

      public boolean isSkipValidateWorkspace()
    • setSkipValidateWorkspace

      public void setSkipValidateWorkspace(boolean skipValidateWorkspace)