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

PersistentState24 - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration.model24.portlet
Class PersistentState24

java.lang.Object
  extended byorg.jboss.portal.migration.model24.portlet.PersistentState24
All Implemented Interfaces:
State

public class PersistentState24
extends java.lang.Object
implements State


Field Summary
protected  java.util.Set children
          The clones of this state.
protected  java.util.Date creationTime
          When the state has been created.
protected  java.util.Map entries
          The different entries.
protected  java.lang.Long key
          The primary key.
protected  PersistentState24 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
PersistentState24()
           
PersistentState24(java.lang.String portletId, ValueMap valueMap)
           
 
Method Summary
 java.util.Set getChildren()
           
 java.util.Date getCreationTime()
           
 java.util.Map getEntries()
           
 java.lang.String getId()
          Return the state id.
 java.lang.Long getKey()
           
 PersistentState24 getParent()
           
 java.lang.String getPortletId()
          Return the portlet id this state refers to.
 java.lang.Long getRegistrationId()
           
 java.util.Date getTerminationTime()
          The scheduled termination time.
 ValueMap getValue()
          The state value.
 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(PersistentState24 parent)
           
 void setPortletId(java.lang.String portletId)
           
 void setRegistrationId(java.lang.Long registrationId)
           
 void setTerminationTime(java.util.Date terminationTime)
          Set the termination time value.
 
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 PersistentState24 parent
The state that we cloned from.

Constructor Detail

PersistentState24

public PersistentState24()

PersistentState24

public PersistentState24(java.lang.String portletId,
                         ValueMap valueMap)
Method Detail

getKey

public java.lang.Long getKey()

setKey

public void setKey(java.lang.Long key)

getId

public java.lang.String getId()
Description copied from interface: State
Return the state id.

Specified by:
getId in interface State
Returns:
the state id

getPortletId

public java.lang.String getPortletId()
Description copied from interface: State
Return the portlet id this state refers to.

Specified by:
getPortletId in interface State
Returns:
the portlet id

setPortletId

public void setPortletId(java.lang.String portletId)

getEntries

public java.util.Map getEntries()

setEntries

public void setEntries(java.util.Map entries)

getValue

public ValueMap getValue()
Description copied from interface: State
The state value.

Specified by:
getValue in interface State
Returns:
the state value

getCreationTime

public java.util.Date getCreationTime()

setCreationTime

public void setCreationTime(java.util.Date creationTime)

getTerminationTime

public java.util.Date getTerminationTime()
Description copied from interface: State
The scheduled termination time.

Specified by:
getTerminationTime in interface State
Returns:
the termination time

setTerminationTime

public void setTerminationTime(java.util.Date terminationTime)
Description copied from interface: State
Set the termination time value.

Specified by:
setTerminationTime in interface State

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 PersistentState24 getParent()

setParent

public void setParent(PersistentState24 parent)