org.jboss.seam.core
Class ConversationEntry

java.lang.Object
  extended by org.jboss.seam.core.ConversationEntry
All Implemented Interfaces:
Serializable, Comparable<ConversationEntry>

public final class ConversationEntry
extends Object
implements Serializable, Comparable<ConversationEntry>

Metadata about an active conversation. Also used by the conversation list and breadcrumbs.

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
ConversationEntry(String id, List<String> stack, ConversationEntries entries)
           
 
Method Summary
 int compareTo(ConversationEntry entry)
           
 void destroy()
           
 void end()
           
 List<String> getConversationIdStack()
           
 String getDescription()
           
 String getId()
           
 String getInitiatorComponentName()
          Deprecated.  
 Date getLastDatetime()
           
 long getLastRequestTime()
           
 Date getStartDatetime()
           
 int getTimeout()
           
 String getViewId()
           
 boolean isCurrent()
           
 boolean isDisplayable()
           
 boolean isEnded()
           
 boolean isLockedByCurrentThread()
           
 boolean isNested()
           
 boolean isRemoveAfterRedirect()
           
 boolean lock()
           
 boolean lockNoWait()
           
 void select()
           
 void setRemoveAfterRedirect(boolean removeAfterRedirect)
           
 boolean switchConversation()
           
 String toString()
           
 void unlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConversationEntry

public ConversationEntry(String id,
                         List<String> stack,
                         ConversationEntries entries)
Method Detail

getDescription

public String getDescription()

getLastRequestTime

public long getLastRequestTime()

getId

public String getId()

getStartDatetime

public Date getStartDatetime()

destroy

public void destroy()

select

public void select()

switchConversation

public boolean switchConversation()

getViewId

public String getViewId()

getLastDatetime

public Date getLastDatetime()

getConversationIdStack

public List<String> getConversationIdStack()

getInitiatorComponentName

public String getInitiatorComponentName()
Deprecated. 

Returns:
a component name

isDisplayable

public boolean isDisplayable()

isCurrent

public boolean isCurrent()

compareTo

public int compareTo(ConversationEntry entry)
Specified by:
compareTo in interface Comparable<ConversationEntry>

getTimeout

public int getTimeout()

isRemoveAfterRedirect

public boolean isRemoveAfterRedirect()

setRemoveAfterRedirect

public void setRemoveAfterRedirect(boolean removeAfterRedirect)

lockNoWait

public boolean lockNoWait()

lock

public boolean lock()

unlock

public void unlock()

isLockedByCurrentThread

public boolean isLockedByCurrentThread()

end

public void end()

isEnded

public boolean isEnded()

isNested

public boolean isNested()

toString

public String toString()
Overrides:
toString in class Object