@Typed public abstract class AbstractSeamConversationContext<T> extends Object implements SeamConversationContext<T>
Constructor and Description |
---|
AbstractSeamConversationContext() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected abstract void |
doActivate(String conversationId) |
protected abstract void |
doAssociate(T storage) |
protected abstract void |
doDeactivate() |
protected abstract void |
doDissociate(T storage) |
protected abstract void |
doInvalidate() |
SeamConversationContext<T> |
invalidate()
Invalidate conversation context.
|
protected static boolean |
isEmpty(String string) |
protected abstract void doAssociate(T storage)
public SeamConversationContext<T> associate(T storage)
SeamConversationContext
associate
in interface SeamConversationContext<T>
storage
- the current storageprotected abstract void doDissociate(T storage)
public SeamConversationContext<T> dissociate(T storage)
SeamConversationContext
dissociate
in interface SeamConversationContext<T>
storage
- the current storageprotected abstract void doActivate(String conversationId)
public SeamConversationContext<T> activate(String conversationId)
SeamConversationContext
activate
in interface SeamConversationContext<T>
conversationId
- the conversation id to activateprotected abstract void doInvalidate()
public SeamConversationContext<T> invalidate()
SeamConversationContext
invalidate
in interface SeamConversationContext<T>
protected abstract void doDeactivate()
public SeamConversationContext<T> deactivate()
SeamConversationContext
deactivate
in interface SeamConversationContext<T>
protected static boolean isEmpty(String string)
Copyright © 2014. All rights reserved.