Class EditNotificationHandler

    • Field Detail

      • 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 Detail

      • EditNotificationHandler

        public EditNotificationHandler()
    • Method Detail

      • sendRedirect

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

        public boolean cleanCriteria()
      • performCreate

        public Notification performCreate()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • performUpdate

        public void performUpdate​(Notification notification)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • performDelete

        public void performDelete​(Notification notification)
      • setOpAddItem

        public void setOpAddItem​(java.lang.String v)
      • getCriteriaText

        public java.lang.String getCriteriaText()
      • getAvailableSelectionCriteriaMode

        public int getAvailableSelectionCriteriaMode()
      • setSelectionCriteriaMode

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

        public int getAvailableMutationTypes​(int i)
      • getAvailablePeriodType

        public int getAvailablePeriodType​(int i)
      • setMutationTypes

        public void setMutationTypes​(java.lang.String[] v)
      • setPeriodTypes

        public void setPeriodTypes​(java.lang.String[] v)
      • setNotificationQueryStrings

        public void setNotificationQueryStrings​(java.lang.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 java.io.IOException
        Overrides:
        restValidation in class EditDataHandler
        Throws:
        java.io.IOException