com.flexive.shared.content
Class FxContentVersionInfo.NewLifeCycleInfoImpl

java.lang.Object
  extended by com.flexive.shared.content.FxContentVersionInfo.NewLifeCycleInfoImpl
All Implemented Interfaces:
LifeCycleInfo, java.io.Serializable
Enclosing class:
FxContentVersionInfo

static class FxContentVersionInfo.NewLifeCycleInfoImpl
extends java.lang.Object
implements LifeCycleInfo

Temp. class to create LifeCycleInfo's for new instances


Constructor Summary
FxContentVersionInfo.NewLifeCycleInfoImpl(long userId)
          Ctor
 
Method Summary
 long getCreationTime()
          Get the timestamp when this object was created
 long getCreatorId()
          Get the Id of the User that created this entry
 long getModificationTime()
          Get the timestamp of the most recent modification
 long getModificatorId()
          Get the Id of the most recent User that modified this entry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FxContentVersionInfo.NewLifeCycleInfoImpl

FxContentVersionInfo.NewLifeCycleInfoImpl(long userId)
Ctor

Parameters:
userId - user id to use
Method Detail

getCreatorId

public long getCreatorId()
Get the Id of the User that created this entry

Specified by:
getCreatorId in interface LifeCycleInfo
Returns:
Id of the User that created this entry

getCreationTime

public long getCreationTime()
Get the timestamp when this object was created

Specified by:
getCreationTime in interface LifeCycleInfo
Returns:
the timestamp when this object was created

getModificatorId

public long getModificatorId()
Get the Id of the most recent User that modified this entry

Specified by:
getModificatorId in interface LifeCycleInfo
Returns:
Id of the most recent User that modified this entry

getModificationTime

public long getModificationTime()
Get the timestamp of the most recent modification

Specified by:
getModificationTime in interface LifeCycleInfo
Returns:
timestamp of the most recent modification