org.tynamo.conversations.services
Interface ConversationManager

All Known Implementing Classes:
ConversationManagerImpl

public interface ConversationManager


Nested Class Summary
static class ConversationManager.Parameters
           
 
Method Summary
 boolean activateConversation(Object parameterObject)
           
 void addConversationListener(String pageName, ConversationAware conversationAware)
           
 String createConversation(String pageName, Integer maxIdleSeconds)
           
 String createConversation(String pageName, Integer maxIdleSeconds, boolean useCookie)
           
 String createConversation(String pageName, Integer maxIdleSeconds, Integer maxConversationLengthSeconds, boolean useCookie)
           
 String createConversation(String id, String pageName, Integer maxIdleSeconds, Integer maxConversationLengthSeconds, boolean useCookie)
           
 String endConversation(String conversationId)
           
 boolean exists(String conversationId)
           
 String getActiveConversation()
           
 int getSecondsBeforeActiveConversationBecomesIdle()
           
 boolean isActiveConversation(String conversationId)
           
 void removeConversationListener(String pageName, ConversationAware conversationAware)
           
 void setPagePersistentFieldStrategy(ConversationalPersistentFieldStrategy pagePersistentFieldStrategy)
           
 

Method Detail

exists

boolean exists(String conversationId)

createConversation

String createConversation(String pageName,
                          Integer maxIdleSeconds)

createConversation

String createConversation(String pageName,
                          Integer maxIdleSeconds,
                          boolean useCookie)

createConversation

String createConversation(String pageName,
                          Integer maxIdleSeconds,
                          Integer maxConversationLengthSeconds,
                          boolean useCookie)

createConversation

String createConversation(String id,
                          String pageName,
                          Integer maxIdleSeconds,
                          Integer maxConversationLengthSeconds,
                          boolean useCookie)

getActiveConversation

String getActiveConversation()

isActiveConversation

boolean isActiveConversation(String conversationId)

getSecondsBeforeActiveConversationBecomesIdle

int getSecondsBeforeActiveConversationBecomesIdle()

activateConversation

boolean activateConversation(Object parameterObject)

endConversation

String endConversation(String conversationId)

setPagePersistentFieldStrategy

void setPagePersistentFieldStrategy(ConversationalPersistentFieldStrategy pagePersistentFieldStrategy)

addConversationListener

void addConversationListener(String pageName,
                             ConversationAware conversationAware)

removeConversationListener

void removeConversationListener(String pageName,
                                ConversationAware conversationAware)


Copyright © 2004-2010. All Rights Reserved.