Class AttachWorkspaceHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class AttachWorkspaceHandler extends EditDataHandler
  • Field Details

    • publication

      protected Publication publication
    • attachWorkspace

      protected Workspace attachWorkspace
    • catSet

      protected Set<Category> catSet
    • opAttach

      protected boolean opAttach
    • opDetach

      protected boolean opDetach
  • Constructor Details

    • AttachWorkspaceHandler

      public AttachWorkspaceHandler()
  • Method Details

    • 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 EditDataHandler
      Returns:
      false if no redirection is needed, true otherwise
      Throws:
      IOException - IO Exception
    • validateMember

      public boolean validateMember()
    • validateAttach

      protected boolean validateAttach()
    • performAttach

      protected boolean performAttach() throws IOException
      Throws:
      IOException
    • validateDetach

      protected boolean validateDetach()
    • performDetach

      protected boolean performDetach() throws IOException
      Throws:
      IOException
    • getDataClass

      public Class<? extends Publication> getDataClass()
      Specified by:
      getDataClass in class EditDataHandler
    • setId

      public void setId(String v)
      Overrides:
      setId in class EditDataHandler
    • getFormStepHiddenFields

      public String getFormStepHiddenFields()
      Overrides:
      getFormStepHiddenFields in class JcmsFormHandler
    • getAvailablePublication

      public Publication getAvailablePublication()
    • setAttachWorkspace

      public void setAttachWorkspace(String v)
    • getAvailableAttachWorkspace

      public Workspace getAvailableAttachWorkspace()
    • setCids

      public void setCids(String[] array)
    • getProposedWorkspaceSet

      public Set<Workspace> getProposedWorkspaceSet()
    • setOpAttach

      public void setOpAttach(String v)
    • setOpDetach

      public void setOpDetach(String v)
    • getRedirect

      public String getRedirect()
      Description copied from class: JcmsFormHandler
      Get the value of redirect.
      Overrides:
      getRedirect in class JcmsFormHandler
      Returns:
      Value of redirect.
    • showCategories

      public boolean showCategories()
    • getWorkspaceSettings

      public ControlSettings getWorkspaceSettings()
    • getCategorySettings

      public ControlSettings getCategorySettings()