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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    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.
    Returns the uuid of this object state.
    void
     
    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
     
    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
     
    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.
     
    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

      public ObjectStateWrapper(ObjectState objectState)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<ObjectState>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<ObjectState>
    • cloneWithOriginalValues

      public ObjectState cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<ObjectState>
      Specified by:
      cloneWithOriginalValues in interface ObjectStateModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this object state.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface ObjectStateModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this object state
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this object state.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface ObjectStateModel
      Specified by:
      getCreateDate in interface com.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 interface ObjectStateModel
      Returns:
      the list type entry ID of this object state
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this object state.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface ObjectStateModel
      Specified by:
      getModifiedDate in interface com.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 interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface ObjectStateModel
      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 interface ObjectStateModel
      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 interface ObjectStateModel
      Returns:
      the object state ID of this object state
    • getObjectStateTransitions

      public List<ObjectStateTransition> getObjectStateTransitions()
      Specified by:
      getObjectStateTransitions in interface ObjectState
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this object state.
      Specified by:
      getPrimaryKey in interface ObjectStateModel
      Returns:
      the primary key of this object state
    • getUserId

      public long getUserId()
      Returns the user ID of this object state.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface ObjectStateModel
      Returns:
      the user ID of this object state
    • getUserName

      public String getUserName()
      Returns the user name of this object state.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface ObjectStateModel
      Returns:
      the user name of this object state
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this object state.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface ObjectStateModel
      Returns:
      the user uuid of this object state
    • getUuid

      public String getUuid()
      Returns the uuid of this object state.
      Specified by:
      getUuid in interface ObjectStateModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this object state
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this object state.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface ObjectStateModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this object state
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this object state.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface ObjectStateModel
      Specified by:
      setCreateDate in interface com.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 interface ObjectStateModel
      Parameters:
      listTypeEntryId - the list type entry ID of this object state
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this object state.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface ObjectStateModel
      Specified by:
      setModifiedDate in interface com.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 interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface ObjectStateModel
      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 interface ObjectStateModel
      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 interface ObjectStateModel
      Parameters:
      objectStateId - the object state ID of this object state
    • setObjectStateTransitions

      public void setObjectStateTransitions(List<ObjectStateTransition> objectStateTransitions)
      Specified by:
      setObjectStateTransitions in interface ObjectState
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this object state.
      Specified by:
      setPrimaryKey in interface ObjectStateModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface ObjectStateModel
      Parameters:
      userId - the user ID of this object state
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this object state.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface ObjectStateModel
      Parameters:
      userName - the user name of this object state
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this object state.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface ObjectStateModel
      Parameters:
      userUuid - the user uuid of this object state
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this object state.
      Specified by:
      setUuid in interface ObjectStateModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this object state
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface ObjectStateModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected ObjectStateWrapper wrap(ObjectState objectState)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectState>