public class ObjectStateWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectState> implements com.liferay.portal.kernel.model.ModelWrapper<ObjectState>, ObjectState
This class is a wrapper for ObjectState
.
ObjectState
,
Serialized FormOBJECT_STATE_ID_ACCESSOR
Constructor and Description |
---|
ObjectStateWrapper(ObjectState objectState) |
Modifier and Type | Method and Description |
---|---|
ObjectState |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this object state.
|
java.util.Date |
getCreateDate()
Returns the create date of this object state.
|
long |
getListTypeEntryId()
Returns the list type entry ID of this object state.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this object state.
|
long |
getMvccVersion()
Returns the mvcc version of this object state.
|
long |
getObjectStateFlowId()
Returns the object state flow ID of this object state.
|
long |
getObjectStateId()
Returns the object state ID of this object state.
|
java.util.List<ObjectStateTransition> |
getObjectStateTransitions() |
long |
getPrimaryKey()
Returns the primary key of this object state.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this object state.
|
java.lang.String |
getUserName()
Returns the user name of this object state.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this object state.
|
java.lang.String |
getUuid()
Returns the uuid of this object state.
|
void |
persist() |
void |
setCompanyId(long companyId)
Sets the company ID of this object state.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this object state.
|
void |
setListTypeEntryId(long listTypeEntryId)
Sets the list type entry ID of this object state.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this object state.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this object state.
|
void |
setObjectStateFlowId(long objectStateFlowId)
Sets the object state flow ID of this object state.
|
void |
setObjectStateId(long objectStateId)
Sets the object state ID of this object state.
|
void |
setObjectStateTransitions(java.util.List<ObjectStateTransition> objectStateTransitions) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this object state.
|
void |
setUserId(long userId)
Sets the user ID of this object state.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this object state.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this object state.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this object state.
|
java.lang.String |
toXmlString() |
protected ObjectStateWrapper |
wrap(ObjectState objectState) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
public ObjectStateWrapper(ObjectState objectState)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ObjectState>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ObjectState>
public ObjectState cloneWithOriginalValues()
cloneWithOriginalValues
in interface ObjectStateModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<ObjectState>
public long getCompanyId()
getCompanyId
in interface ObjectStateModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface ObjectStateModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getListTypeEntryId()
getListTypeEntryId
in interface ObjectStateModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface ObjectStateModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface ObjectStateModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getObjectStateFlowId()
getObjectStateFlowId
in interface ObjectStateModel
public long getObjectStateId()
getObjectStateId
in interface ObjectStateModel
public java.util.List<ObjectStateTransition> getObjectStateTransitions()
getObjectStateTransitions
in interface ObjectState
public long getPrimaryKey()
getPrimaryKey
in interface ObjectStateModel
public long getUserId()
getUserId
in interface ObjectStateModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface ObjectStateModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface ObjectStateModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface ObjectStateModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface ObjectStateModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this object statepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface ObjectStateModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this object statepublic void setListTypeEntryId(long listTypeEntryId)
setListTypeEntryId
in interface ObjectStateModel
listTypeEntryId
- the list type entry ID of this object statepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface ObjectStateModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this object statepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface ObjectStateModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this object statepublic void setObjectStateFlowId(long objectStateFlowId)
setObjectStateFlowId
in interface ObjectStateModel
objectStateFlowId
- the object state flow ID of this object statepublic void setObjectStateId(long objectStateId)
setObjectStateId
in interface ObjectStateModel
objectStateId
- the object state ID of this object statepublic void setObjectStateTransitions(java.util.List<ObjectStateTransition> objectStateTransitions)
setObjectStateTransitions
in interface ObjectState
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ObjectStateModel
primaryKey
- the primary key of this object statepublic void setUserId(long userId)
setUserId
in interface ObjectStateModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this object statepublic void setUserName(java.lang.String userName)
setUserName
in interface ObjectStateModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this object statepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface ObjectStateModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this object statepublic void setUuid(java.lang.String uuid)
setUuid
in interface ObjectStateModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this object statepublic java.lang.String toXmlString()
toXmlString
in interface ObjectStateModel
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected ObjectStateWrapper wrap(ObjectState objectState)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectState>