Class ObjectEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectEntry>
com.liferay.object.model.ObjectEntryWrapper
All Implemented Interfaces:
ObjectEntry, ObjectEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<ObjectEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<ObjectEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.WorkflowedModel, Serializable, Cloneable, Comparable<ObjectEntry>

public class ObjectEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectEntry> implements com.liferay.portal.kernel.model.ModelWrapper<ObjectEntry>, ObjectEntry

This class is a wrapper for ObjectEntry.

See Also:
Generated:
  • Constructor Details

    • ObjectEntryWrapper

      public ObjectEntryWrapper(ObjectEntry objectEntry)
  • Method Details

    • getModelAttributes

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

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

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

      public long getCompanyId()
      Returns the company ID of this object entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface ObjectEntryModel
      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 entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this object entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface ObjectEntryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this object entry
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this object entry.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface ObjectEntryModel
      Returns:
      the external reference code of this object entry
    • getGroupId

      public long getGroupId()
      Returns the group ID of this object entry.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      getGroupId in interface ObjectEntryModel
      Returns:
      the group ID of this object entry
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this object entry.
      Specified by:
      getLastPublishDate in interface ObjectEntryModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this object entry
    • getModelClassName

      public String getModelClassName()
      Specified by:
      getModelClassName in interface com.liferay.portal.kernel.model.ClassedModel
      Specified by:
      getModelClassName in interface ObjectEntry
      Overrides:
      getModelClassName in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectEntry>
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this object entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface ObjectEntryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this object entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this object entry.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      getMvccVersion in interface ObjectEntryModel
      Returns:
      the mvcc version of this object entry
    • getNonzeroGroupId

      public long getNonzeroGroupId() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getNonzeroGroupId in interface ObjectEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getObjectDefinitionId

      public long getObjectDefinitionId()
      Returns the object definition ID of this object entry.
      Specified by:
      getObjectDefinitionId in interface ObjectEntryModel
      Returns:
      the object definition ID of this object entry
    • getObjectEntryId

      public long getObjectEntryId()
      Returns the object entry ID of this object entry.
      Specified by:
      getObjectEntryId in interface ObjectEntryModel
      Returns:
      the object entry ID of this object entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this object entry.
      Specified by:
      getPrimaryKey in interface ObjectEntryModel
      Returns:
      the primary key of this object entry
    • getRootObjectEntryId

      public long getRootObjectEntryId()
      Returns the root object entry ID of this object entry.
      Specified by:
      getRootObjectEntryId in interface ObjectEntryModel
      Returns:
      the root object entry ID of this object entry
    • getStatus

      public int getStatus()
      Returns the status of this object entry.
      Specified by:
      getStatus in interface ObjectEntryModel
      Specified by:
      getStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status of this object entry
    • getStatusByUserId

      public long getStatusByUserId()
      Returns the status by user ID of this object entry.
      Specified by:
      getStatusByUserId in interface ObjectEntryModel
      Specified by:
      getStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user ID of this object entry
    • getStatusByUserName

      public String getStatusByUserName()
      Returns the status by user name of this object entry.
      Specified by:
      getStatusByUserName in interface ObjectEntryModel
      Specified by:
      getStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user name of this object entry
    • getStatusByUserUuid

      public String getStatusByUserUuid()
      Returns the status by user uuid of this object entry.
      Specified by:
      getStatusByUserUuid in interface ObjectEntryModel
      Specified by:
      getStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status by user uuid of this object entry
    • getStatusDate

      public Date getStatusDate()
      Returns the status date of this object entry.
      Specified by:
      getStatusDate in interface ObjectEntryModel
      Specified by:
      getStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      the status date of this object entry
    • getTitleValue

      public String getTitleValue() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getTitleValue in interface ObjectEntry
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUserId

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

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

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

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

      public Map<String,Serializable> getValues()
      Specified by:
      getValues in interface ObjectEntry
    • isApproved

      public boolean isApproved()
      Returns true if this object entry is approved.
      Specified by:
      isApproved in interface ObjectEntryModel
      Specified by:
      isApproved in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this object entry is approved; false otherwise
    • isDenied

      public boolean isDenied()
      Returns true if this object entry is denied.
      Specified by:
      isDenied in interface ObjectEntryModel
      Specified by:
      isDenied in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this object entry is denied; false otherwise
    • isDraft

      public boolean isDraft()
      Returns true if this object entry is a draft.
      Specified by:
      isDraft in interface ObjectEntryModel
      Specified by:
      isDraft in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this object entry is a draft; false otherwise
    • isExpired

      public boolean isExpired()
      Returns true if this object entry is expired.
      Specified by:
      isExpired in interface ObjectEntryModel
      Specified by:
      isExpired in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this object entry is expired; false otherwise
    • isInactive

      public boolean isInactive()
      Returns true if this object entry is inactive.
      Specified by:
      isInactive in interface ObjectEntryModel
      Specified by:
      isInactive in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this object entry is inactive; false otherwise
    • isIncomplete

      public boolean isIncomplete()
      Returns true if this object entry is incomplete.
      Specified by:
      isIncomplete in interface ObjectEntryModel
      Specified by:
      isIncomplete in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this object entry is incomplete; false otherwise
    • isPending

      public boolean isPending()
      Returns true if this object entry is pending.
      Specified by:
      isPending in interface ObjectEntryModel
      Specified by:
      isPending in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this object entry is pending; false otherwise
    • isScheduled

      public boolean isScheduled()
      Returns true if this object entry is scheduled.
      Specified by:
      isScheduled in interface ObjectEntryModel
      Specified by:
      isScheduled in interface com.liferay.portal.kernel.model.WorkflowedModel
      Returns:
      true if this object entry is scheduled; false otherwise
    • 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 entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface ObjectEntryModel
      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 entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this object entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface ObjectEntryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this object entry
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this object entry.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface ObjectEntryModel
      Parameters:
      externalReferenceCode - the external reference code of this object entry
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this object entry.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Specified by:
      setGroupId in interface ObjectEntryModel
      Parameters:
      groupId - the group ID of this object entry
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this object entry.
      Specified by:
      setLastPublishDate in interface ObjectEntryModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this object entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this object entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface ObjectEntryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this object entry
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this object entry.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Specified by:
      setMvccVersion in interface ObjectEntryModel
      Parameters:
      mvccVersion - the mvcc version of this object entry
    • setObjectDefinitionId

      public void setObjectDefinitionId(long objectDefinitionId)
      Sets the object definition ID of this object entry.
      Specified by:
      setObjectDefinitionId in interface ObjectEntryModel
      Parameters:
      objectDefinitionId - the object definition ID of this object entry
    • setObjectEntryId

      public void setObjectEntryId(long objectEntryId)
      Sets the object entry ID of this object entry.
      Specified by:
      setObjectEntryId in interface ObjectEntryModel
      Parameters:
      objectEntryId - the object entry ID of this object entry
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this object entry.
      Specified by:
      setPrimaryKey in interface ObjectEntryModel
      Parameters:
      primaryKey - the primary key of this object entry
    • setRootObjectEntryId

      public void setRootObjectEntryId(long rootObjectEntryId)
      Sets the root object entry ID of this object entry.
      Specified by:
      setRootObjectEntryId in interface ObjectEntryModel
      Parameters:
      rootObjectEntryId - the root object entry ID of this object entry
    • setStatus

      public void setStatus(int status)
      Sets the status of this object entry.
      Specified by:
      setStatus in interface ObjectEntryModel
      Specified by:
      setStatus in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      status - the status of this object entry
    • setStatusByUserId

      public void setStatusByUserId(long statusByUserId)
      Sets the status by user ID of this object entry.
      Specified by:
      setStatusByUserId in interface ObjectEntryModel
      Specified by:
      setStatusByUserId in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserId - the status by user ID of this object entry
    • setStatusByUserName

      public void setStatusByUserName(String statusByUserName)
      Sets the status by user name of this object entry.
      Specified by:
      setStatusByUserName in interface ObjectEntryModel
      Specified by:
      setStatusByUserName in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserName - the status by user name of this object entry
    • setStatusByUserUuid

      public void setStatusByUserUuid(String statusByUserUuid)
      Sets the status by user uuid of this object entry.
      Specified by:
      setStatusByUserUuid in interface ObjectEntryModel
      Specified by:
      setStatusByUserUuid in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusByUserUuid - the status by user uuid of this object entry
    • setStatusDate

      public void setStatusDate(Date statusDate)
      Sets the status date of this object entry.
      Specified by:
      setStatusDate in interface ObjectEntryModel
      Specified by:
      setStatusDate in interface com.liferay.portal.kernel.model.WorkflowedModel
      Parameters:
      statusDate - the status date of this object entry
    • setTransientValues

      public void setTransientValues(Map<String,Serializable> values)
      Specified by:
      setTransientValues in interface ObjectEntry
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this object entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface ObjectEntryModel
      Parameters:
      userId - the user ID of this object entry
    • setUserName

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

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

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

      public void setValues(Map<String,Serializable> values)
      Specified by:
      setValues in interface ObjectEntry
    • toXmlString

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

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

      protected ObjectEntryWrapper wrap(ObjectEntry objectEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectEntry>