Package com.liferay.object.model
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:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.object.model.ObjectEntry
OBJECT_ENTRY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this object entry.Returns the create date of this object entry.Returns the external reference code of this object entry.long
Returns the group ID of this object entry.Returns the last publish date of this object entry.Returns the modified date of this object entry.long
Returns the mvcc version of this object entry.long
long
Returns the object definition ID of this object entry.long
Returns the object entry ID of this object entry.long
Returns the primary key of this object entry.long
Returns the root object entry ID of this object entry.com.liferay.exportimport.kernel.lar.StagedModelType
int
Returns the status of this object entry.long
Returns the status by user ID of this object entry.Returns the status by user name of this object entry.Returns the status by user uuid of this object entry.Returns the status date of this object entry.long
Returns the user ID of this object entry.Returns the user name of this object entry.Returns the user uuid of this object entry.getUuid()
Returns the uuid of this object entry.boolean
Returnstrue
if this object entry is approved.boolean
isDenied()
Returnstrue
if this object entry is denied.boolean
isDraft()
Returnstrue
if this object entry is a draft.boolean
Returnstrue
if this object entry is expired.boolean
Returnstrue
if this object entry is inactive.boolean
Returnstrue
if this object entry is incomplete.boolean
Returnstrue
if this object entry is pending.boolean
Returnstrue
if this object entry is scheduled.void
persist()
void
setCompanyId
(long companyId) Sets the company ID of this object entry.void
setCreateDate
(Date createDate) Sets the create date of this object entry.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this object entry.void
setGroupId
(long groupId) Sets the group ID of this object entry.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this object entry.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this object entry.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this object entry.void
setObjectDefinitionId
(long objectDefinitionId) Sets the object definition ID of this object entry.void
setObjectEntryId
(long objectEntryId) Sets the object entry ID of this object entry.void
setPrimaryKey
(long primaryKey) Sets the primary key of this object entry.void
setRootObjectEntryId
(long rootObjectEntryId) Sets the root object entry ID of this object entry.void
setStatus
(int status) Sets the status of this object entry.void
setStatusByUserId
(long statusByUserId) Sets the status by user ID of this object entry.void
setStatusByUserName
(String statusByUserName) Sets the status by user name of this object entry.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this object entry.void
setStatusDate
(Date statusDate) Sets the status date of this object entry.void
setTransientValues
(Map<String, Serializable> values) void
setUserId
(long userId) Sets the user ID of this object entry.void
setUserName
(String userName) Sets the user name of this object entry.void
setUserUuid
(String userUuid) Sets the user uuid of this object entry.void
Sets the uuid of this object entry.void
setValues
(Map<String, Serializable> values) protected ObjectEntryWrapper
wrap
(ObjectEntry objectEntry) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, 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
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
-
ObjectEntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectEntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectEntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<ObjectEntry>
- Specified by:
cloneWithOriginalValues
in interfaceObjectEntryModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this object entry.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceObjectEntryModel
- 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 entry
-
getCreateDate
Returns the create date of this object entry.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceObjectEntryModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this object entry
-
getExternalReferenceCode
Returns the external reference code of this object entry.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceObjectEntryModel
- 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 interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
getGroupId
in interfaceObjectEntryModel
- Returns:
- the group ID of this object entry
-
getLastPublishDate
Returns the last publish date of this object entry.- Specified by:
getLastPublishDate
in interfaceObjectEntryModel
- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this object entry
-
getModelClassName
- Specified by:
getModelClassName
in interfacecom.liferay.portal.kernel.model.ClassedModel
- Specified by:
getModelClassName
in interfaceObjectEntry
- Overrides:
getModelClassName
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ObjectEntry>
-
getModifiedDate
Returns the modified date of this object entry.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceObjectEntryModel
- Specified by:
getModifiedDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfaceObjectEntryModel
- Returns:
- the mvcc version of this object entry
-
getNonzeroGroupId
public long getNonzeroGroupId() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
getNonzeroGroupId
in interfaceObjectEntry
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectDefinitionId
public long getObjectDefinitionId()Returns the object definition ID of this object entry.- Specified by:
getObjectDefinitionId
in interfaceObjectEntryModel
- 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 interfaceObjectEntryModel
- 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 interfaceObjectEntryModel
- 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 interfaceObjectEntryModel
- 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 interfaceObjectEntryModel
- Specified by:
getStatus
in interfacecom.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 interfaceObjectEntryModel
- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this object entry
-
getStatusByUserName
Returns the status by user name of this object entry.- Specified by:
getStatusByUserName
in interfaceObjectEntryModel
- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this object entry
-
getStatusByUserUuid
Returns the status by user uuid of this object entry.- Specified by:
getStatusByUserUuid
in interfaceObjectEntryModel
- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this object entry
-
getStatusDate
Returns the status date of this object entry.- Specified by:
getStatusDate
in interfaceObjectEntryModel
- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this object entry
-
getTitleValue
- Specified by:
getTitleValue
in interfaceObjectEntry
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getUserId
public long getUserId()Returns the user ID of this object entry.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceObjectEntryModel
- Returns:
- the user ID of this object entry
-
getUserName
Returns the user name of this object entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceObjectEntryModel
- Returns:
- the user name of this object entry
-
getUserUuid
Returns the user uuid of this object entry.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceObjectEntryModel
- Returns:
- the user uuid of this object entry
-
getUuid
Returns the uuid of this object entry.- Specified by:
getUuid
in interfaceObjectEntryModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this object entry
-
getValues
- Specified by:
getValues
in interfaceObjectEntry
-
isApproved
public boolean isApproved()Returnstrue
if this object entry is approved.- Specified by:
isApproved
in interfaceObjectEntryModel
- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this object entry is approved;false
otherwise
-
isDenied
public boolean isDenied()Returnstrue
if this object entry is denied.- Specified by:
isDenied
in interfaceObjectEntryModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this object entry is denied;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this object entry is a draft.- Specified by:
isDraft
in interfaceObjectEntryModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this object entry is a draft;false
otherwise
-
isExpired
public boolean isExpired()Returnstrue
if this object entry is expired.- Specified by:
isExpired
in interfaceObjectEntryModel
- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this object entry is expired;false
otherwise
-
isInactive
public boolean isInactive()Returnstrue
if this object entry is inactive.- Specified by:
isInactive
in interfaceObjectEntryModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this object entry is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this object entry is incomplete.- Specified by:
isIncomplete
in interfaceObjectEntryModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this object entry is incomplete;false
otherwise
-
isPending
public boolean isPending()Returnstrue
if this object entry is pending.- Specified by:
isPending
in interfaceObjectEntryModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this object entry is pending;false
otherwise
-
isScheduled
public boolean isScheduled()Returnstrue
if this object entry is scheduled.- Specified by:
isScheduled
in interfaceObjectEntryModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this object entry is scheduled;false
otherwise
-
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 entry.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceObjectEntryModel
- 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 entry
-
setCreateDate
Sets the create date of this object entry.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceObjectEntryModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this object entry
-
setExternalReferenceCode
Sets the external reference code of this object entry.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceObjectEntryModel
- 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 interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
setGroupId
in interfaceObjectEntryModel
- Parameters:
groupId
- the group ID of this object entry
-
setLastPublishDate
Sets the last publish date of this object entry.- Specified by:
setLastPublishDate
in interfaceObjectEntryModel
- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this object entry
-
setModifiedDate
Sets the modified date of this object entry.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceObjectEntryModel
- Specified by:
setModifiedDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfaceObjectEntryModel
- 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 interfaceObjectEntryModel
- 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 interfaceObjectEntryModel
- 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 interfaceObjectEntryModel
- 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 interfaceObjectEntryModel
- 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 interfaceObjectEntryModel
- Specified by:
setStatus
in interfacecom.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 interfaceObjectEntryModel
- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this object entry
-
setStatusByUserName
Sets the status by user name of this object entry.- Specified by:
setStatusByUserName
in interfaceObjectEntryModel
- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this object entry
-
setStatusByUserUuid
Sets the status by user uuid of this object entry.- Specified by:
setStatusByUserUuid
in interfaceObjectEntryModel
- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this object entry
-
setStatusDate
Sets the status date of this object entry.- Specified by:
setStatusDate
in interfaceObjectEntryModel
- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this object entry
-
setTransientValues
- Specified by:
setTransientValues
in interfaceObjectEntry
-
setUserId
public void setUserId(long userId) Sets the user ID of this object entry.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceObjectEntryModel
- Parameters:
userId
- the user ID of this object entry
-
setUserName
Sets the user name of this object entry.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceObjectEntryModel
- Parameters:
userName
- the user name of this object entry
-
setUserUuid
Sets the user uuid of this object entry.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceObjectEntryModel
- Parameters:
userUuid
- the user uuid of this object entry
-
setUuid
Sets the uuid of this object entry.- Specified by:
setUuid
in interfaceObjectEntryModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this object entry
-
setValues
- Specified by:
setValues
in interfaceObjectEntry
-
toXmlString
- Specified by:
toXmlString
in interfaceObjectEntryModel
-
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<ObjectEntry>
-