Class EditNotificationCriteriaHandler

    • Field Detail

      • notifiedData

        protected Data notifiedData
      • periodType

        protected int periodType
      • mutationType

        protected int mutationType
      • categorySet

        protected java.util.Set<Category> categorySet
      • catMode

        protected java.lang.String catMode
      • exactCat

        protected boolean exactCat
      • text

        protected java.lang.String text
      • textMode

        protected java.lang.String textMode
      • classSet

        protected java.util.Set<java.lang.Class<? extends Publication>> classSet
      • documentKinds

        protected java.lang.String[] documentKinds
      • isCreate

        protected boolean isCreate
      • openTab

        protected java.lang.String openTab
    • Constructor Detail

      • EditNotificationCriteriaHandler

        public EditNotificationCriteriaHandler()
    • 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
      • validateFinish

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

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

        public boolean isFormStepClickable()
        Description copied from class: JcmsFormHandler
        Returns true if the form step are clickable.
        Overrides:
        isFormStepClickable in class JcmsFormHandler
        Returns:
        true if the form step are clickable.
      • validateDelete

        protected boolean validateDelete()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • performDelete

        protected boolean performDelete()
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • setFields

        public void setFields​(Data data)
        Description copied from class: EditDataHandler
        Set the common (Data) 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 EditDataHandler
        Parameters:
        data - the publication to set the fields
      • getQueryString

        protected java.lang.String getQueryString()
      • 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
      • showNextButton

        public boolean showNextButton()
        Description copied from class: JcmsFormHandler
        Check if the "Next" button should be displayed in step modal form.

        The default implementation of this method is to return true unless the finish button is being displayed by method JcmsFormHandler.showFinishButton().

        You can provide a custom FormHandler to override this behavior.

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

        Overrides:
        showNextButton in class JcmsFormHandler
        Returns:
        true to display the "Next" button, false to hide it
      • showFinishButton

        public boolean showFinishButton()
        Description copied from class: JcmsFormHandler
        Check if the "Finish" button should be displayed in step modal form.

        The default implementation of this method is to return true if the current step (as returned by JcmsFormHandler.getFormStep() is the last one (as compared with JcmsFormHandler.getFormStepCount().

        You can provide a custom FormHandler to override this behavior.

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

        Overrides:
        showFinishButton in class JcmsFormHandler
        Returns:
        true to display the "Finish" button, false to hide it
      • setNotifiedData

        public void setNotifiedData​(java.lang.String v)
      • showCategoryOptions

        public boolean showCategoryOptions()
      • showTextOptions

        public boolean showTextOptions()
      • setOpenTab

        public void setOpenTab​(java.lang.String v)
      • getOpenTab

        public java.lang.String getOpenTab()
      • setPeriodType

        public void setPeriodType​(int v)
      • getAvailablePeriodType

        public int getAvailablePeriodType()
      • setMutationType

        public void setMutationType​(int v)
      • getAvailableMutationType

        public int getAvailableMutationType()
      • setCids

        public void setCids​(java.lang.String[] v)
      • getAvailableCategorySet

        public java.util.Set<Category> getAvailableCategorySet()
      • setText

        public void setText​(java.lang.String v)
      • getAvailableText

        public java.lang.String getAvailableText()
      • setTextMode

        public void setTextMode​(java.lang.String v)
      • getAvailableTextMode

        public java.lang.String getAvailableTextMode()
      • setCatMode

        public void setCatMode​(java.lang.String v)
      • getAvailableCatMode

        public java.lang.String getAvailableCatMode()
      • isCatModeAnd

        public boolean isCatModeAnd()
      • setExactCat

        public void setExactCat​(java.lang.String v)
      • getAvailableExactCat

        public boolean getAvailableExactCat()
      • setTypes

        public void setTypes​(java.lang.String[] types)
      • getAvailableClassSet

        public java.util.Set<java.lang.Class<? extends Publication>> getAvailableClassSet()
      • getAllClassList

        public java.util.List getAllClassList()
      • setRefineWS

        public void setRefineWS​(java.lang.String v)
      • getAvailableRefineWS

        public Workspace getAvailableRefineWS()
      • setDocumentKinds

        public void setDocumentKinds​(java.lang.String[] kinds)
      • getAvailableDocumentKinds

        public java.lang.String[] getAvailableDocumentKinds()
      • showDocumentKinds

        public boolean showDocumentKinds()
        Indicates if the document kinds filtering should be available given current notification's types.
        Returns:
        true if all notification's type(s) are FileDocument types, false, otherwise.
        Since:
        jcms-9.0.3