Class EditNotificationCriteriaHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditNotificationCriteriaHandler extends EditDataHandler
  • Field Details

    • notificationCriteria

      protected NotificationCriteria notificationCriteria
    • notifiedData

      protected Data notifiedData
    • notification

      protected Notification notification
    • periodType

      protected int periodType
    • mutationType

      protected int mutationType
    • categorySet

      protected Set<Category> categorySet
    • catMode

      protected String catMode
    • exactCat

      protected boolean exactCat
    • text

      protected String text
    • textMode

      protected String textMode
    • classSet

      protected Set<Class<? extends Publication>> classSet
    • documentKinds

      protected String[] documentKinds
    • refineWS

      protected Workspace refineWS
    • workingData

      protected NotificationCriteria workingData
    • isCreate

      protected boolean isCreate
    • openTab

      protected String openTab
    • opSave

      protected boolean opSave
  • Constructor Details

    • EditNotificationCriteriaHandler

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

      protected boolean validateSave() throws IOException
      Throws:
      IOException
    • performSave

      protected boolean performSave() throws IOException
      Throws:
      IOException
    • validateDelete

      protected boolean validateDelete() throws IOException
      Throws:
      IOException
    • performDelete

      protected boolean performDelete() throws IOException
      Throws:
      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 String getQueryString()
    • getTypeSettings

      public ControlSettings getTypeSettings()
    • getDataClass

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

      public void setOpSave(String v)
    • setId

      public void setId(String id)
      Overrides:
      setId in class EditDataHandler
    • setNotifiedData

      public void setNotifiedData(String v)
    • getAvailableNotifiedData

      public Data getAvailableNotifiedData()
    • showCategoryOptions

      public boolean showCategoryOptions()
    • showTextOptions

      public boolean showTextOptions()
    • setOpenTab

      public void setOpenTab(String v)
    • getOpenTab

      public 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(String[] v)
    • getAvailableCategorySet

      public Set<Category> getAvailableCategorySet()
    • setText

      public void setText(String v)
    • getAvailableText

      public String getAvailableText()
    • setTextMode

      public void setTextMode(String v)
    • getAvailableTextMode

      public String getAvailableTextMode()
    • setCatMode

      public void setCatMode(String v)
    • getAvailableCatMode

      public String getAvailableCatMode()
    • isCatModeAnd

      public boolean isCatModeAnd()
    • setExactCat

      public void setExactCat(String v)
    • getAvailableExactCat

      public boolean getAvailableExactCat()
    • setTypes

      public void setTypes(String[] types)
    • getAvailableClassSet

      public Set<Class<? extends Publication>> getAvailableClassSet()
    • getAllClassList

      public List getAllClassList()
    • setRefineWS

      public void setRefineWS(String v)
    • getAvailableRefineWS

      public Workspace getAvailableRefineWS()
    • setDocumentKinds

      public void setDocumentKinds(String[] kinds)
    • getAvailableDocumentKinds

      public 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