org.jboss.seam.conversation.spi
Interface SeamConversationContext<T>

Type Parameters:
T - exact storage type
All Known Implementing Classes:
AbstractHttpSeamConversationContext, AbstractSeamConversationContext

public interface SeamConversationContext<T>

Manage Seam Conversation context.

Author:
Ales Justin

Method Summary
 SeamConversationContext<T> activate(String conversationId)
          Activate conversation with given id.
 SeamConversationContext<T> associate(T storage)
          Associate storage with conversation context.
 SeamConversationContext<T> deactivate()
          Deactivate conversation context(s).
 SeamConversationContext<T> dissociate(T storage)
          Dissociate storage with conversation context.
 SeamConversationContext<T> invalidate()
          Invalidate conversation context.
 

Method Detail

associate

SeamConversationContext<T> associate(T storage)
Associate storage with conversation context.

Parameters:
storage - the current storage
Returns:
the flowing current SeamConversationContext instance

activate

SeamConversationContext<T> activate(String conversationId)
Activate conversation with given id.

Parameters:
conversationId - the conversation id to activate
Returns:
the flowing current SeamConversationContext instance

invalidate

SeamConversationContext<T> invalidate()
Invalidate conversation context.

Returns:
the flowing current SeamConversationContext instance

deactivate

SeamConversationContext<T> deactivate()
Deactivate conversation context(s).

Returns:
the flowing current SeamConversationContext instance

dissociate

SeamConversationContext<T> dissociate(T storage)
Dissociate storage with conversation context.

Parameters:
storage - the current storage
Returns:
the flowing current SeamConversationContext instance


Copyright © 2011 Seam Framework. All Rights Reserved.