public class COREntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<COREntry> implements COREntry, com.liferay.portal.kernel.model.ModelWrapper<COREntry>
This class is a wrapper for COREntry
.
COREntry
,
Serialized FormCOR_ENTRY_ID_ACCESSOR
Constructor and Description |
---|
COREntryWrapper(COREntry corEntry) |
Modifier and Type | Method and Description |
---|---|
COREntry |
cloneWithOriginalValues() |
boolean |
getActive()
Returns the active of this cor entry.
|
long |
getCompanyId()
Returns the company ID of this cor entry.
|
long |
getCOREntryId()
Returns the cor entry ID of this cor entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this cor entry.
|
java.lang.String |
getDescription()
Returns the description of this cor entry.
|
java.util.Date |
getDisplayDate()
Returns the display date of this cor entry.
|
java.util.Date |
getExpirationDate()
Returns the expiration date of this cor entry.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this cor entry.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this cor entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this cor entry.
|
long |
getMvccVersion()
Returns the mvcc version of this cor entry.
|
java.lang.String |
getName()
Returns the name of this cor entry.
|
long |
getPrimaryKey()
Returns the primary key of this cor entry.
|
int |
getPriority()
Returns the priority of this cor entry.
|
int |
getStatus()
Returns the status of this cor entry.
|
long |
getStatusByUserId()
Returns the status by user ID of this cor entry.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this cor entry.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this cor entry.
|
java.util.Date |
getStatusDate()
Returns the status date of this cor entry.
|
java.lang.String |
getType()
Returns the type of this cor entry.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this cor entry.
|
long |
getUserId()
Returns the user ID of this cor entry.
|
java.lang.String |
getUserName()
Returns the user name of this cor entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this cor entry.
|
boolean |
isActive()
Returns
true if this cor entry is active. |
boolean |
isApproved()
Returns
true if this cor entry is approved. |
boolean |
isDenied()
Returns
true if this cor entry is denied. |
boolean |
isDraft()
Returns
true if this cor entry is a draft. |
boolean |
isExpired()
Returns
true if this cor entry is expired. |
boolean |
isInactive()
Returns
true if this cor entry is inactive. |
boolean |
isIncomplete()
Returns
true if this cor entry is incomplete. |
boolean |
isPending()
Returns
true if this cor entry is pending. |
boolean |
isScheduled()
Returns
true if this cor entry is scheduled. |
void |
persist() |
void |
setActive(boolean active)
Sets whether this cor entry is active.
|
void |
setCompanyId(long companyId)
Sets the company ID of this cor entry.
|
void |
setCOREntryId(long COREntryId)
Sets the cor entry ID of this cor entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this cor entry.
|
void |
setDescription(java.lang.String description)
Sets the description of this cor entry.
|
void |
setDisplayDate(java.util.Date displayDate)
Sets the display date of this cor entry.
|
void |
setExpirationDate(java.util.Date expirationDate)
Sets the expiration date of this cor entry.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this cor entry.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this cor entry.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this cor entry.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this cor entry.
|
void |
setName(java.lang.String name)
Sets the name of this cor entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this cor entry.
|
void |
setPriority(int priority)
Sets the priority of this cor entry.
|
void |
setStatus(int status)
Sets the status of this cor entry.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this cor entry.
|
void |
setStatusByUserName(java.lang.String statusByUserName)
Sets the status by user name of this cor entry.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this cor entry.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this cor entry.
|
void |
setType(java.lang.String type)
Sets the type of this cor entry.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this cor entry.
|
void |
setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) |
void |
setUserId(long userId)
Sets the user ID of this cor entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this cor entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this cor entry.
|
protected COREntryWrapper |
wrap(COREntry corEntry) |
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, toXmlString
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, toXmlString
public COREntryWrapper(COREntry corEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<COREntry>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<COREntry>
public COREntry cloneWithOriginalValues()
cloneWithOriginalValues
in interface COREntryModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<COREntry>
public boolean getActive()
getActive
in interface COREntryModel
public long getCompanyId()
getCompanyId
in interface COREntryModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getCOREntryId()
getCOREntryId
in interface COREntryModel
public java.util.Date getCreateDate()
getCreateDate
in interface COREntryModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getDescription()
getDescription
in interface COREntryModel
public java.util.Date getDisplayDate()
getDisplayDate
in interface COREntryModel
public java.util.Date getExpirationDate()
getExpirationDate
in interface COREntryModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface COREntryModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface COREntryModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface COREntryModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getMvccVersion()
getMvccVersion
in interface COREntryModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface COREntryModel
public long getPrimaryKey()
getPrimaryKey
in interface COREntryModel
public int getPriority()
getPriority
in interface COREntryModel
public int getStatus()
getStatus
in interface COREntryModel
getStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
public long getStatusByUserId()
getStatusByUserId
in interface COREntryModel
getStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserName()
getStatusByUserName
in interface COREntryModel
getStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getStatusByUserUuid()
getStatusByUserUuid
in interface COREntryModel
getStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.util.Date getStatusDate()
getStatusDate
in interface COREntryModel
getStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
public java.lang.String getType()
getType
in interface COREntryModel
public java.lang.String getTypeSettings()
getTypeSettings
in interface COREntryModel
public long getUserId()
getUserId
in interface COREntryModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface COREntryModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface COREntryModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public boolean isActive()
true
if this cor entry is active.isActive
in interface COREntryModel
true
if this cor entry is active; false
otherwisepublic boolean isApproved()
true
if this cor entry is approved.isApproved
in interface COREntryModel
isApproved
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cor entry is approved; false
otherwisepublic boolean isDenied()
true
if this cor entry is denied.isDenied
in interface COREntryModel
isDenied
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cor entry is denied; false
otherwisepublic boolean isDraft()
true
if this cor entry is a draft.isDraft
in interface COREntryModel
isDraft
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cor entry is a draft; false
otherwisepublic boolean isExpired()
true
if this cor entry is expired.isExpired
in interface COREntryModel
isExpired
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cor entry is expired; false
otherwisepublic boolean isInactive()
true
if this cor entry is inactive.isInactive
in interface COREntryModel
isInactive
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cor entry is inactive; false
otherwisepublic boolean isIncomplete()
true
if this cor entry is incomplete.isIncomplete
in interface COREntryModel
isIncomplete
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cor entry is incomplete; false
otherwisepublic boolean isPending()
true
if this cor entry is pending.isPending
in interface COREntryModel
isPending
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cor entry is pending; false
otherwisepublic boolean isScheduled()
true
if this cor entry is scheduled.isScheduled
in interface COREntryModel
isScheduled
in interface com.liferay.portal.kernel.model.WorkflowedModel
true
if this cor entry is scheduled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setActive(boolean active)
setActive
in interface COREntryModel
active
- the active of this cor entrypublic void setCompanyId(long companyId)
setCompanyId
in interface COREntryModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this cor entrypublic void setCOREntryId(long COREntryId)
setCOREntryId
in interface COREntryModel
COREntryId
- the cor entry ID of this cor entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface COREntryModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this cor entrypublic void setDescription(java.lang.String description)
setDescription
in interface COREntryModel
description
- the description of this cor entrypublic void setDisplayDate(java.util.Date displayDate)
setDisplayDate
in interface COREntryModel
displayDate
- the display date of this cor entrypublic void setExpirationDate(java.util.Date expirationDate)
setExpirationDate
in interface COREntryModel
expirationDate
- the expiration date of this cor entrypublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface COREntryModel
externalReferenceCode
- the external reference code of this cor entrypublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface COREntryModel
lastPublishDate
- the last publish date of this cor entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface COREntryModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this cor entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface COREntryModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this cor entrypublic void setName(java.lang.String name)
setName
in interface COREntryModel
name
- the name of this cor entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface COREntryModel
primaryKey
- the primary key of this cor entrypublic void setPriority(int priority)
setPriority
in interface COREntryModel
priority
- the priority of this cor entrypublic void setStatus(int status)
setStatus
in interface COREntryModel
setStatus
in interface com.liferay.portal.kernel.model.WorkflowedModel
status
- the status of this cor entrypublic void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface COREntryModel
setStatusByUserId
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserId
- the status by user ID of this cor entrypublic void setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName
in interface COREntryModel
setStatusByUserName
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserName
- the status by user name of this cor entrypublic void setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid
in interface COREntryModel
setStatusByUserUuid
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusByUserUuid
- the status by user uuid of this cor entrypublic void setStatusDate(java.util.Date statusDate)
setStatusDate
in interface COREntryModel
setStatusDate
in interface com.liferay.portal.kernel.model.WorkflowedModel
statusDate
- the status date of this cor entrypublic void setType(java.lang.String type)
setType
in interface COREntryModel
type
- the type of this cor entrypublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings
in interface COREntryModel
typeSettings
- the type settings of this cor entrypublic void setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsUnicodeProperties
in interface COREntry
public void setUserId(long userId)
setUserId
in interface COREntryModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this cor entrypublic void setUserName(java.lang.String userName)
setUserName
in interface COREntryModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this cor entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface COREntryModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this cor entryprotected COREntryWrapper wrap(COREntry corEntry)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<COREntry>