All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.trailsframework.conversations.services.ConversationManager Maven / Gradle / Ivy

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