Class EditNotificationHandler

All Implemented Interfaces:
JcmsConstants, JaliosConstants

public class EditNotificationHandler extends EditDataHandler
  • Field Details

    • obj

      protected Notification obj
    • criteria

      protected NotificationCriteria[] criteria
    • opAddItem

      protected boolean opAddItem
    • criteriaAddCount

      protected int criteriaAddCount
    • criteriaInitialized

      protected boolean criteriaInitialized
    • selectionCriteriaMode

      protected int selectionCriteriaMode
    • member

      protected Member member
    • group

      protected Group group
  • Constructor Details

    • EditNotificationHandler

      public EditNotificationHandler()
  • Method Details

    • getNotification

      public Notification getNotification()
    • sendRedirect

      protected void sendRedirect() throws IOException
      Overrides:
      sendRedirect in class EditDataHandler
      Throws:
      IOException
    • 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
    • cleanCriteria

      public boolean cleanCriteria()
    • getDataClass

      public Class getDataClass()
      Specified by:
      getDataClass in class EditDataHandler
    • performCreate

      public Notification performCreate() throws IOException
      Throws:
      IOException
    • performUpdate

      public void performUpdate(Notification notification) throws IOException
      Throws:
      IOException
    • performDelete

      public void performDelete(Notification notification)
    • setId

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

      public void setOpAddItem(String v)
    • getCriteriaText

      public String getCriteriaText()
    • getAvailableSelectionCriteriaMode

      public int getAvailableSelectionCriteriaMode()
    • setSelectionCriteriaMode

      public void setSelectionCriteriaMode(String v)
      Set the value of useCatMode.
      Parameters:
      v - Value to assign to useCatMode.
    • getAvailableCriteria

      public NotificationCriteria[] getAvailableCriteria()
    • getAvailableMutationTypes

      public int getAvailableMutationTypes(int i)
    • getAvailablePeriodType

      public int getAvailablePeriodType(int i)
    • setMutationTypes

      public void setMutationTypes(String[] v)
    • setPeriodTypes

      public void setPeriodTypes(String[] v)
    • setNotificationQueryStrings

      public void setNotificationQueryStrings(String[] v)
    • setCriteriaAddCount

      public void setCriteriaAddCount(int v)
    • getAvailableCriteriaAddCount

      public int getAvailableCriteriaAddCount()
    • getCriteriaCount

      public int getCriteriaCount()
    • initCriteria

      public void initCriteria(int length)
    • restValidation

      protected boolean restValidation(boolean result) throws IOException
      Overrides:
      restValidation in class EditDataHandler
      Throws:
      IOException