Package com.liferay.object.model
Class ObjectStateWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectState>
com.liferay.object.model.ObjectStateWrapper
- All Implemented Interfaces:
ObjectState
,ObjectStateModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<ObjectState>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ModelWrapper<ObjectState>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,Serializable
,Cloneable
,Comparable<ObjectState>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.object.model.ObjectState
OBJECT_STATE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this object state.Returns the create date of this object state.long
Returns the list type entry ID of this object state.Returns the modified date of this object state.long
Returns the mvcc version of this object state.long
Returns the object state flow ID of this object state.long
Returns the object state ID of this object state.long
Returns the primary key of this object state.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the user ID of this object state.Returns the user name of this object state.Returns the user uuid of this object state.getUuid()
Returns the uuid of this object state.void
persist()
void
setCompanyId
(long companyId) Sets the company ID of this object state.void
setCreateDate
(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
(Map<String, Object> attributes) void
setModifiedDate
(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
(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
(String userName) Sets the user name of this object state.void
setUserUuid
(String userUuid) Sets the user uuid of this object state.void
Sets the uuid of this object state.protected ObjectStateWrapper
wrap
(ObjectState objectState) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
ObjectStateWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectState>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectState>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectState>
- Specified by:
cloneWithOriginalValues
in interfaceObjectStateModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this object state.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceObjectStateModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this object state
-
getCreateDate
Returns the create date of this object state.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceObjectStateModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this object state
-
getListTypeEntryId
public long getListTypeEntryId()Returns the list type entry ID of this object state.- Specified by:
getListTypeEntryId
in interfaceObjectStateModel
- Returns:
- the list type entry ID of this object state
-
getModifiedDate
Returns the modified date of this object state.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceObjectStateModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this object state
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this object state.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfaceObjectStateModel
- Returns:
- the mvcc version of this object state
-
getObjectStateFlowId
public long getObjectStateFlowId()Returns the object state flow ID of this object state.- Specified by:
getObjectStateFlowId
in interfaceObjectStateModel
- Returns:
- the object state flow ID of this object state
-
getObjectStateId
public long getObjectStateId()Returns the object state ID of this object state.- Specified by:
getObjectStateId
in interfaceObjectStateModel
- Returns:
- the object state ID of this object state
-
getObjectStateTransitions
- Specified by:
getObjectStateTransitions
in interfaceObjectState
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this object state.- Specified by:
getPrimaryKey
in interfaceObjectStateModel
- Returns:
- the primary key of this object state
-
getUserId
public long getUserId()Returns the user ID of this object state.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceObjectStateModel
- Returns:
- the user ID of this object state
-
getUserName
Returns the user name of this object state.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceObjectStateModel
- Returns:
- the user name of this object state
-
getUserUuid
Returns the user uuid of this object state.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceObjectStateModel
- Returns:
- the user uuid of this object state
-
getUuid
Returns the uuid of this object state.- Specified by:
getUuid
in interfaceObjectStateModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this object state
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this object state.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceObjectStateModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this object state
-
setCreateDate
Sets the create date of this object state.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceObjectStateModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this object state
-
setListTypeEntryId
public void setListTypeEntryId(long listTypeEntryId) Sets the list type entry ID of this object state.- Specified by:
setListTypeEntryId
in interfaceObjectStateModel
- Parameters:
listTypeEntryId
- the list type entry ID of this object state
-
setModifiedDate
Sets the modified date of this object state.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceObjectStateModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this object state
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this object state.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfaceObjectStateModel
- Parameters:
mvccVersion
- the mvcc version of this object state
-
setObjectStateFlowId
public void setObjectStateFlowId(long objectStateFlowId) Sets the object state flow ID of this object state.- Specified by:
setObjectStateFlowId
in interfaceObjectStateModel
- Parameters:
objectStateFlowId
- the object state flow ID of this object state
-
setObjectStateId
public void setObjectStateId(long objectStateId) Sets the object state ID of this object state.- Specified by:
setObjectStateId
in interfaceObjectStateModel
- Parameters:
objectStateId
- the object state ID of this object state
-
setObjectStateTransitions
- Specified by:
setObjectStateTransitions
in interfaceObjectState
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this object state.- Specified by:
setPrimaryKey
in interfaceObjectStateModel
- Parameters:
primaryKey
- the primary key of this object state
-
setUserId
public void setUserId(long userId) Sets the user ID of this object state.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceObjectStateModel
- Parameters:
userId
- the user ID of this object state
-
setUserName
Sets the user name of this object state.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceObjectStateModel
- Parameters:
userName
- the user name of this object state
-
setUserUuid
Sets the user uuid of this object state.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceObjectStateModel
- Parameters:
userUuid
- the user uuid of this object state
-
setUuid
Sets the uuid of this object state.- Specified by:
setUuid
in interfaceObjectStateModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this object state
-
toXmlString
- Specified by:
toXmlString
in interfaceObjectStateModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectState>
-