Class AttachPublicationHandler

    • Constructor Detail

      • AttachPublicationHandler

        public AttachPublicationHandler()
    • 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()
      • validateNext

        protected boolean validateNext()
                                throws java.io.IOException
        Overrides:
        validateNext in class JcmsFormHandler
        Throws:
        java.io.IOException
      • performFinish

        protected boolean performFinish()
                                 throws java.io.IOException
        Overrides:
        performFinish in class JcmsFormHandler
        Throws:
        java.io.IOException
      • validateAttach

        protected boolean validateAttach()
      • performAttach

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

        public java.util.Set<TypeFieldEntry> getTypeFieldEntrySet()
      • getCurrentValueCollection

        public java.util.Collection getCurrentValueCollection()
      • getFormStepCount

        public int getFormStepCount()
        Description copied from class: JcmsFormHandler
        Retrieve the total number of steps used for edition when invoking this form handler.

        The default implementation of this method is to return 1, corresponding to one step (which means only 1 screen being displayed).

        You can provide a custom FormHandler to override this behavior.

        See jcore/doSteps.jspf for use of this method.

        Overrides:
        getFormStepCount in class JcmsFormHandler
        Returns:
        the total number of steps in this formhandler
      • isStepPublication

        public boolean isStepPublication()
      • isStepField

        public boolean isStepField()
      • setTarget

        public void setTarget​(java.lang.String v)
      • getAvailableTarget

        public Publication getAvailableTarget()
      • setAttachment

        public void setAttachment​(java.lang.String v)
      • getAvailableAttachment

        public Publication getAvailableAttachment()
      • setFieldName

        public void setFieldName​(java.lang.String v)
      • getAvailableFieldName

        public java.lang.String getAvailableFieldName()