
org.trailsframework.conversations.services.ConversationManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of trails-conversations Show documentation
Show all versions of trails-conversations Show documentation
An implementation of conversation-within-page concept for Tapestry 5
The newest version!
package org.trailsframework.conversations.services;
public interface ConversationManager {
public enum Parameters {
keepalive
};
public boolean exists(String conversationId);
public String createConversation(String pageName, Integer maxIdleSeconds);
public String createConversation(String pageName, Integer maxIdleSeconds, boolean useCookie);
public String createConversation(String pageName, Integer maxIdleSeconds, Integer maxConversationLengthSeconds, boolean useCookie);
public String createConversation(String id, String pageName, Integer maxIdleSeconds, Integer maxConversationLengthSeconds, boolean useCookie);
public String getActiveConversation();
public boolean isActiveConversation(String conversationId);
public int getSecondsBeforeActiveConversationBecomesIdle();
/**
* Activates conversation context. Internally used by the conversation frameworks.
* The interface of this operation will change in T5.1 since it has a common interface
* for handling request parameters
* */
public boolean activateConversation(Object parameterObject);
public String endConversation(String conversationId);
public void setPagePersistentFieldStrategy(ConversationalPersistentFieldStrategy pagePersistentFieldStrategy);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy