Class COREntryWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<COREntry>
com.liferay.commerce.order.rule.model.COREntryWrapper
- All Implemented Interfaces:
COREntry
,COREntryModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<COREntry>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.ModelWrapper<COREntry>
,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
,com.liferay.portal.kernel.model.WorkflowedModel
,Serializable
,Cloneable
,Comparable<COREntry>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.order.rule.model.COREntry
COR_ENTRY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the active of this cor entry.long
Returns the company ID of this cor entry.long
Returns the cor entry ID of this cor entry.Returns the create date of this cor entry.Returns the description of this cor entry.Returns the display date of this cor entry.Returns the expiration date of this cor entry.Returns the external reference code of this cor entry.Returns the last publish date of this cor entry.Returns the modified date of this cor entry.long
Returns the mvcc version of this cor entry.getName()
Returns the name of this cor entry.long
Returns the primary key of this cor entry.int
Returns the priority of this cor entry.com.liferay.exportimport.kernel.lar.StagedModelType
int
Returns the status of this cor entry.long
Returns the status by user ID of this cor entry.Returns the status by user name of this cor entry.Returns the status by user uuid of this cor entry.Returns the status date of this cor entry.getType()
Returns the type of this cor entry.Returns the type settings of this cor entry.long
Returns the user ID of this cor entry.Returns the user name of this cor entry.Returns the user uuid of this cor entry.getUuid()
Returns the uuid of this cor entry.boolean
isActive()
Returnstrue
if this cor entry is active.boolean
Returnstrue
if this cor entry is approved.boolean
isDenied()
Returnstrue
if this cor entry is denied.boolean
isDraft()
Returnstrue
if this cor entry is a draft.boolean
Returnstrue
if this cor entry is expired.boolean
Returnstrue
if this cor entry is inactive.boolean
Returnstrue
if this cor entry is incomplete.boolean
Returnstrue
if this cor entry is pending.boolean
Returnstrue
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
(Date createDate) Sets the create date of this cor entry.void
setDescription
(String description) Sets the description of this cor entry.void
setDisplayDate
(Date displayDate) Sets the display date of this cor entry.void
setExpirationDate
(Date expirationDate) Sets the expiration date of this cor entry.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this cor entry.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this cor entry.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this cor entry.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this cor entry.void
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
(String statusByUserName) Sets the status by user name of this cor entry.void
setStatusByUserUuid
(String statusByUserUuid) Sets the status by user uuid of this cor entry.void
setStatusDate
(Date statusDate) Sets the status date of this cor entry.void
Sets the type of this cor entry.void
setTypeSettings
(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
(String userName) Sets the user name of this cor entry.void
setUserUuid
(String userUuid) Sets the user uuid of this cor entry.void
Sets the uuid of this cor entry.protected COREntryWrapper
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
-
COREntryWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<COREntry>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<COREntry>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<COREntry>
- Specified by:
cloneWithOriginalValues
in interfaceCOREntryModel
-
getActive
public boolean getActive()Returns the active of this cor entry.- Specified by:
getActive
in interfaceCOREntryModel
- Returns:
- the active of this cor entry
-
getCompanyId
public long getCompanyId()Returns the company ID of this cor entry.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCOREntryModel
- 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 cor entry
-
getCOREntryId
public long getCOREntryId()Returns the cor entry ID of this cor entry.- Specified by:
getCOREntryId
in interfaceCOREntryModel
- Returns:
- the cor entry ID of this cor entry
-
getCreateDate
Returns the create date of this cor entry.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCOREntryModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this cor entry
-
getDescription
Returns the description of this cor entry.- Specified by:
getDescription
in interfaceCOREntryModel
- Returns:
- the description of this cor entry
-
getDisplayDate
Returns the display date of this cor entry.- Specified by:
getDisplayDate
in interfaceCOREntryModel
- Returns:
- the display date of this cor entry
-
getExpirationDate
Returns the expiration date of this cor entry.- Specified by:
getExpirationDate
in interfaceCOREntryModel
- Returns:
- the expiration date of this cor entry
-
getExternalReferenceCode
Returns the external reference code of this cor entry.- Specified by:
getExternalReferenceCode
in interfaceCOREntryModel
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this cor entry
-
getLastPublishDate
Returns the last publish date of this cor entry.- Specified by:
getLastPublishDate
in interfaceCOREntryModel
- Returns:
- the last publish date of this cor entry
-
getModifiedDate
Returns the modified date of this cor entry.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCOREntryModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this cor entry
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cor entry.- Specified by:
getMvccVersion
in interfaceCOREntryModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this cor entry
-
getName
Returns the name of this cor entry.- Specified by:
getName
in interfaceCOREntryModel
- Returns:
- the name of this cor entry
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cor entry.- Specified by:
getPrimaryKey
in interfaceCOREntryModel
- Returns:
- the primary key of this cor entry
-
getPriority
public int getPriority()Returns the priority of this cor entry.- Specified by:
getPriority
in interfaceCOREntryModel
- Returns:
- the priority of this cor entry
-
getStatus
public int getStatus()Returns the status of this cor entry.- Specified by:
getStatus
in interfaceCOREntryModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status of this cor entry
-
getStatusByUserId
public long getStatusByUserId()Returns the status by user ID of this cor entry.- Specified by:
getStatusByUserId
in interfaceCOREntryModel
- Specified by:
getStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user ID of this cor entry
-
getStatusByUserName
Returns the status by user name of this cor entry.- Specified by:
getStatusByUserName
in interfaceCOREntryModel
- Specified by:
getStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user name of this cor entry
-
getStatusByUserUuid
Returns the status by user uuid of this cor entry.- Specified by:
getStatusByUserUuid
in interfaceCOREntryModel
- Specified by:
getStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status by user uuid of this cor entry
-
getStatusDate
Returns the status date of this cor entry.- Specified by:
getStatusDate
in interfaceCOREntryModel
- Specified by:
getStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
- the status date of this cor entry
-
getType
Returns the type of this cor entry.- Specified by:
getType
in interfaceCOREntryModel
- Returns:
- the type of this cor entry
-
getTypeSettings
Returns the type settings of this cor entry.- Specified by:
getTypeSettings
in interfaceCOREntryModel
- Returns:
- the type settings of this cor entry
-
getUserId
public long getUserId()Returns the user ID of this cor entry.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCOREntryModel
- Returns:
- the user ID of this cor entry
-
getUserName
Returns the user name of this cor entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCOREntryModel
- Returns:
- the user name of this cor entry
-
getUserUuid
Returns the user uuid of this cor entry.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCOREntryModel
- Returns:
- the user uuid of this cor entry
-
getUuid
Returns the uuid of this cor entry.- Specified by:
getUuid
in interfaceCOREntryModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cor entry
-
isActive
public boolean isActive()Returnstrue
if this cor entry is active.- Specified by:
isActive
in interfaceCOREntryModel
- Returns:
true
if this cor entry is active;false
otherwise
-
isApproved
public boolean isApproved()Returnstrue
if this cor entry is approved.- Specified by:
isApproved
in interfaceCOREntryModel
- Specified by:
isApproved
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cor entry is approved;false
otherwise
-
isDenied
public boolean isDenied()Returnstrue
if this cor entry is denied.- Specified by:
isDenied
in interfaceCOREntryModel
- Specified by:
isDenied
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cor entry is denied;false
otherwise
-
isDraft
public boolean isDraft()Returnstrue
if this cor entry is a draft.- Specified by:
isDraft
in interfaceCOREntryModel
- Specified by:
isDraft
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cor entry is a draft;false
otherwise
-
isExpired
public boolean isExpired()Returnstrue
if this cor entry is expired.- Specified by:
isExpired
in interfaceCOREntryModel
- Specified by:
isExpired
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cor entry is expired;false
otherwise
-
isInactive
public boolean isInactive()Returnstrue
if this cor entry is inactive.- Specified by:
isInactive
in interfaceCOREntryModel
- Specified by:
isInactive
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cor entry is inactive;false
otherwise
-
isIncomplete
public boolean isIncomplete()Returnstrue
if this cor entry is incomplete.- Specified by:
isIncomplete
in interfaceCOREntryModel
- Specified by:
isIncomplete
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cor entry is incomplete;false
otherwise
-
isPending
public boolean isPending()Returnstrue
if this cor entry is pending.- Specified by:
isPending
in interfaceCOREntryModel
- Specified by:
isPending
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cor entry is pending;false
otherwise
-
isScheduled
public boolean isScheduled()Returnstrue
if this cor entry is scheduled.- Specified by:
isScheduled
in interfaceCOREntryModel
- Specified by:
isScheduled
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Returns:
true
if this cor entry is scheduled;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setActive
public void setActive(boolean active) Sets whether this cor entry is active.- Specified by:
setActive
in interfaceCOREntryModel
- Parameters:
active
- the active of this cor entry
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this cor entry.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCOREntryModel
- 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 cor entry
-
setCOREntryId
public void setCOREntryId(long COREntryId) Sets the cor entry ID of this cor entry.- Specified by:
setCOREntryId
in interfaceCOREntryModel
- Parameters:
COREntryId
- the cor entry ID of this cor entry
-
setCreateDate
Sets the create date of this cor entry.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCOREntryModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this cor entry
-
setDescription
Sets the description of this cor entry.- Specified by:
setDescription
in interfaceCOREntryModel
- Parameters:
description
- the description of this cor entry
-
setDisplayDate
Sets the display date of this cor entry.- Specified by:
setDisplayDate
in interfaceCOREntryModel
- Parameters:
displayDate
- the display date of this cor entry
-
setExpirationDate
Sets the expiration date of this cor entry.- Specified by:
setExpirationDate
in interfaceCOREntryModel
- Parameters:
expirationDate
- the expiration date of this cor entry
-
setExternalReferenceCode
Sets the external reference code of this cor entry.- Specified by:
setExternalReferenceCode
in interfaceCOREntryModel
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this cor entry
-
setLastPublishDate
Sets the last publish date of this cor entry.- Specified by:
setLastPublishDate
in interfaceCOREntryModel
- Parameters:
lastPublishDate
- the last publish date of this cor entry
-
setModifiedDate
Sets the modified date of this cor entry.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCOREntryModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this cor entry
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cor entry.- Specified by:
setMvccVersion
in interfaceCOREntryModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this cor entry
-
setName
Sets the name of this cor entry.- Specified by:
setName
in interfaceCOREntryModel
- Parameters:
name
- the name of this cor entry
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cor entry.- Specified by:
setPrimaryKey
in interfaceCOREntryModel
- Parameters:
primaryKey
- the primary key of this cor entry
-
setPriority
public void setPriority(int priority) Sets the priority of this cor entry.- Specified by:
setPriority
in interfaceCOREntryModel
- Parameters:
priority
- the priority of this cor entry
-
setStatus
public void setStatus(int status) Sets the status of this cor entry.- Specified by:
setStatus
in interfaceCOREntryModel
- Specified by:
setStatus
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
status
- the status of this cor entry
-
setStatusByUserId
public void setStatusByUserId(long statusByUserId) Sets the status by user ID of this cor entry.- Specified by:
setStatusByUserId
in interfaceCOREntryModel
- Specified by:
setStatusByUserId
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserId
- the status by user ID of this cor entry
-
setStatusByUserName
Sets the status by user name of this cor entry.- Specified by:
setStatusByUserName
in interfaceCOREntryModel
- Specified by:
setStatusByUserName
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserName
- the status by user name of this cor entry
-
setStatusByUserUuid
Sets the status by user uuid of this cor entry.- Specified by:
setStatusByUserUuid
in interfaceCOREntryModel
- Specified by:
setStatusByUserUuid
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusByUserUuid
- the status by user uuid of this cor entry
-
setStatusDate
Sets the status date of this cor entry.- Specified by:
setStatusDate
in interfaceCOREntryModel
- Specified by:
setStatusDate
in interfacecom.liferay.portal.kernel.model.WorkflowedModel
- Parameters:
statusDate
- the status date of this cor entry
-
setType
Sets the type of this cor entry.- Specified by:
setType
in interfaceCOREntryModel
- Parameters:
type
- the type of this cor entry
-
setTypeSettings
Sets the type settings of this cor entry.- Specified by:
setTypeSettings
in interfaceCOREntryModel
- Parameters:
typeSettings
- the type settings of this cor entry
-
setTypeSettingsUnicodeProperties
public void setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) - Specified by:
setTypeSettingsUnicodeProperties
in interfaceCOREntry
-
setUserId
public void setUserId(long userId) Sets the user ID of this cor entry.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCOREntryModel
- Parameters:
userId
- the user ID of this cor entry
-
setUserName
Sets the user name of this cor entry.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCOREntryModel
- Parameters:
userName
- the user name of this cor entry
-
setUserUuid
Sets the user uuid of this cor entry.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCOREntryModel
- Parameters:
userUuid
- the user uuid of this cor entry
-
setUuid
Sets the uuid of this cor entry.- Specified by:
setUuid
in interfaceCOREntryModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cor entry
-
toXmlString
- Specified by:
toXmlString
in interfaceCOREntryModel
-
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<COREntry>
-