Class ReadAckHandler

    • Field Detail

      • opAck

        protected boolean opAck
    • Constructor Detail

      • ReadAckHandler

        public ReadAckHandler()
    • Method Detail

      • init

        protected void init()
        Description copied from class: JcmsFormHandler
        Method to implement if you need to initialize your handler from parameter received, prior to all security validation.

        You must absolutely not perform any action which modify data or site configuration.

        Therefore it is strongly recommend NOT TO implement this method, or use very wisely.

        init in class JcmsFormHandler
      • getPublication

        public Publication getPublication()
        getPublication in class JcmsJspContext
        the current Content or Form if not null, or the Portlet (or null). Slow: we DO NOT cache this value (so do not use this getter every 2millisecs).
      • processAction

        public boolean processAction()
        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.

        processAction in class JcmsFormHandler
        false if no redirection is needed, true otherwise
        Throws: - IO Exception
      • validateAck

        protected boolean validateAck()
      • performAck

        protected boolean performAck()
      • setOpAck

        public void setOpAck​(java.lang.String v)
      • setPubId

        public void setPubId​(java.lang.String v)