org.apache.myfaces.custom.conversation
Class AbstractConversationActionListener
java.lang.Object
org.apache.myfaces.custom.conversation.AbstractConversationActionListener
- All Implemented Interfaces:
- java.util.EventListener, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.FacesListener
- Direct Known Subclasses:
- UIStartConversation.ConversationStartAction
public abstract class AbstractConversationActionListener
- extends java.lang.Object
- implements javax.faces.event.ActionListener, javax.faces.component.StateHolder
base class to handle actions events
- Author:
- imario@apache.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractConversationActionListener
public AbstractConversationActionListener()
getConversationName
public java.lang.String getConversationName()
- Returns:
- the conversation name this listener is associated to
setConversationName
public void setConversationName(java.lang.String conversationName)
- set the conversation name this listener should be associated to
- Parameters:
conversationName
-
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
doConversationAction
public abstract void doConversationAction(AbstractConversationComponent abstractConversationComponent)
- override this to do your conversation action
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.