Class AttachWorkspaceHandler

    • Field Detail

      • attachWorkspace

        protected Workspace attachWorkspace
      • catSet

        protected java.util.Set<Category> catSet
      • opAttach

        protected boolean opAttach
      • opDetach

        protected boolean opDetach
    • Constructor Detail

      • AttachWorkspaceHandler

        public AttachWorkspaceHandler()
    • 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
      • validateMember

        public boolean validateMember()
      • validateAttach

        protected boolean validateAttach()
      • performAttach

        protected boolean performAttach()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • validateDetach

        protected boolean validateDetach()
      • performDetach

        protected boolean performDetach()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • getAvailablePublication

        public Publication getAvailablePublication()
      • setAttachWorkspace

        public void setAttachWorkspace​(java.lang.String v)
      • getAvailableAttachWorkspace

        public Workspace getAvailableAttachWorkspace()
      • setCids

        public void setCids​(java.lang.String[] array)
      • getProposedWorkspaceSet

        public java.util.Set<Workspace> getProposedWorkspaceSet()
      • setOpAttach

        public void setOpAttach​(java.lang.String v)
      • setOpDetach

        public void setOpDetach​(java.lang.String v)
      • getRedirect

        public java.lang.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()