Class CookiePolicySaveActionListener

  • All Implemented Interfaces:
    java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.FacesListener

    public class CookiePolicySaveActionListener
    extends java.lang.Object
    implements javax.faces.event.ActionListener, javax.faces.component.StateHolder
    CookiePolicy action listener for saving the cookie policy choice.
    Since:
    11.0.3
    Author:
    Melloware mellowaredev@gmail.com / Frank Cornelis
    • Field Summary

      • Fields inherited from interface javax.faces.event.ActionListener

        TO_FLOW_DOCUMENT_ID_ATTR_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isTransient()  
      void processAction​(javax.faces.event.ActionEvent actionEvent)  
      void restoreState​(javax.faces.context.FacesContext context, java.lang.Object state)  
      java.lang.Object saveState​(javax.faces.context.FacesContext context)  
      void setTransient​(boolean newTransientValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CookiePolicySaveActionListener

        public CookiePolicySaveActionListener()
      • CookiePolicySaveActionListener

        public CookiePolicySaveActionListener​(javax.el.ValueExpression policyValueExpression,
                                              javax.el.ValueExpression retentionValueExpression)
    • Method Detail

      • saveState

        public java.lang.Object saveState​(javax.faces.context.FacesContext context)
        Specified by:
        saveState in interface javax.faces.component.StateHolder
      • restoreState

        public void restoreState​(javax.faces.context.FacesContext context,
                                 java.lang.Object state)
        Specified by:
        restoreState in interface javax.faces.component.StateHolder
      • isTransient

        public boolean isTransient()
        Specified by:
        isTransient in interface javax.faces.component.StateHolder
      • setTransient

        public void setTransient​(boolean newTransientValue)
        Specified by:
        setTransient in interface javax.faces.component.StateHolder
      • processAction

        public void processAction​(javax.faces.event.ActionEvent actionEvent)
                           throws javax.faces.event.AbortProcessingException
        Specified by:
        processAction in interface javax.faces.event.ActionListener
        Throws:
        javax.faces.event.AbortProcessingException