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

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

The newest version!
package org.tynamo.conversations.services;

import org.tynamo.conversations.ConversationAware;

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();

	public boolean activateConversation(Object parameterObject);

	public String endConversation(String conversationId);

	public void setPagePersistentFieldStrategy(ConversationalPersistentFieldStrategy pagePersistentFieldStrategy);
	
	public void addConversationListener(String pageName, ConversationAware conversationAware);

	public void removeConversationListener(String pageName, ConversationAware conversationAware);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy