Class JPortalPublishHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class JPortalPublishHandler extends generated.EditJPortalHandler
  • Constructor Details

    • JPortalPublishHandler

      public JPortalPublishHandler()
  • Method Details

    • isOpPublishJPortal

      public boolean isOpPublishJPortal()
    • setOpPublishJPortal

      public void setOpPublishJPortal(boolean opPublishJPortal)
    • showLanguageChooser

      public boolean showLanguageChooser()
      Overrides:
      showLanguageChooser in class EditPublicationHandler
      Returns:
      true if channel is multilingual and current Publication type has at least one multilingual field.
    • 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 EditPortalElementHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • getModalRedirect

      public String getModalRedirect()
      Description copied from class: JcmsFormHandler
      Get the redirect value to be used in the modals with modalRedirect.jspf and the request attribute 'modal.redirect'.
      Overrides:
      getModalRedirect in class EditPublicationHandler
      Returns:
      redirect value
    • getCustomTitle

      public String getCustomTitle()
    • setCustomTitle

      public void setCustomTitle(String customTitle)
    • isShowJPortalTitleField

      public boolean isShowJPortalTitleField()
    • setShowJPortalTitleField

      public void setShowJPortalTitleField(boolean showJPortalTitleField)
    • isCollaborativeSpaceJPortal

      public boolean isCollaborativeSpaceJPortal()
    • isCollaborativeSpacePagePortal

      public boolean isCollaborativeSpacePagePortal()
      Returns:
      true if the jportal belongs to a collaborative space and is not the dashboard portal
      Since:
      jcms-10.0.9 / JCMS-11419
      See Also:
    • getAvailableCollaborativeSpace

      public PortletCollection getAvailableCollaborativeSpace()
    • setCollaborativeSpace

      public void setCollaborativeSpace(String collaborativeSpace)