站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

PersistentState - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.core.impl.portlet.state
Class PersistentState

java.lang.Object
  extended byorg.jboss.portal.core.impl.portlet.state.PersistentState

public class PersistentState
extends java.lang.Object

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
protected  java.util.Set children
          The clones of this state.
protected  java.util.Date creationTime
          When the state has been created.
private  ProducerStateContext ctx
          .
protected  java.util.Map entries
          The different entries.
protected  java.lang.Long key
          The primary key.
protected  PersistentState parent
          The state that we cloned from.
protected  java.lang.String portletId
          The portlet id.
protected  java.lang.Long registrationId
          For now a registration id, later probably a one to many relationship with a registration entry.
protected  java.util.Date terminationTime
          When the state expires, a null value means there is no expiration date scheduled.
 
Constructor Summary
PersistentState()
           
PersistentState(java.lang.String portletId, PropertyMap propertyMap)
           
 
Method Summary
 java.util.Set getChildren()
           
 ProducerStateContext getContext()
           
 java.util.Date getCreationTime()
           
 java.util.Map getEntries()
           
 java.lang.String getId()
           
 java.lang.Long getKey()
           
 PersistentState getParent()
           
 java.lang.String getPortletId()
           
 java.lang.Long getRegistrationId()
           
 java.util.Date getTerminationTime()
           
 void setChildren(java.util.Set children)
           
 void setCreationTime(java.util.Date creationTime)
           
 void setEntries(java.util.Map entries)
           
 void setKey(java.lang.Long key)
           
 void setParent(PersistentState parent)
           
 void setPortletId(java.lang.String portletId)
           
 void setRegistrationId(java.lang.Long registrationId)
           
 void setTerminationTime(java.util.Date terminationTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected java.lang.Long key
The primary key.


portletId

protected java.lang.String portletId
The portlet id.


entries

protected java.util.Map entries
The different entries.


creationTime

protected java.util.Date creationTime
When the state has been created.


terminationTime

protected java.util.Date terminationTime
When the state expires, a null value means there is no expiration date scheduled.


registrationId

protected java.lang.Long registrationId
For now a registration id, later probably a one to many relationship with a registration entry.


children

protected java.util.Set children
The clones of this state.


parent

protected PersistentState parent
The state that we cloned from.


ctx

private ProducerStateContext ctx
.

Constructor Detail

PersistentState

public PersistentState()

PersistentState

public PersistentState(java.lang.String portletId,
                       PropertyMap propertyMap)
Method Detail

getKey

public java.lang.Long getKey()

setKey

public void setKey(java.lang.Long key)

getId

public java.lang.String getId()

getPortletId

public java.lang.String getPortletId()

setPortletId

public void setPortletId(java.lang.String portletId)

getEntries

public java.util.Map getEntries()

setEntries

public void setEntries(java.util.Map entries)

getCreationTime

public java.util.Date getCreationTime()

setCreationTime

public void setCreationTime(java.util.Date creationTime)

getTerminationTime

public java.util.Date getTerminationTime()

setTerminationTime

public void setTerminationTime(java.util.Date terminationTime)

getRegistrationId

public java.lang.Long getRegistrationId()

setRegistrationId

public void setRegistrationId(java.lang.Long registrationId)

getChildren

public java.util.Set getChildren()

setChildren

public void setChildren(java.util.Set children)

getParent

public PersistentState getParent()

setParent

public void setParent(PersistentState parent)

getContext

public ProducerStateContext getContext()