public class CommerceRegionWrapper extends java.lang.Object implements CommerceRegion, com.liferay.portal.kernel.model.ModelWrapper<CommerceRegion>
This class is a wrapper for CommerceRegion.
CommerceRegion,
Serialized FormCOMMERCE_REGION_ID_ACCESSOR| Constructor and Description |
|---|
CommerceRegionWrapper(CommerceRegion commerceRegion) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(CommerceRegion commerceRegion) |
boolean |
equals(java.lang.Object obj) |
boolean |
getActive()
Returns the active of this commerce region.
|
java.lang.String |
getCode()
Returns the code of this commerce region.
|
CommerceCountry |
getCommerceCountry() |
long |
getCommerceCountryId()
Returns the commerce country ID of this commerce region.
|
long |
getCommerceRegionId()
Returns the commerce region ID of this commerce region.
|
long |
getCompanyId()
Returns the company ID of this commerce region.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce region.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
java.util.Date |
getLastPublishDate()
Returns the last publish date of this commerce region.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce region.
|
java.lang.String |
getName()
Returns the name of this commerce region.
|
long |
getPrimaryKey()
Returns the primary key of this commerce region.
|
java.io.Serializable |
getPrimaryKeyObj() |
double |
getPriority()
Returns the priority of this commerce region.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this commerce region.
|
java.lang.String |
getUserName()
Returns the user name of this commerce region.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce region.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce region.
|
CommerceRegion |
getWrappedModel() |
int |
hashCode() |
boolean |
isActive()
Returns
true if this commerce region is active. |
boolean |
isCachedModel() |
boolean |
isEntityCacheEnabled() |
boolean |
isEscapedModel() |
boolean |
isFinderCacheEnabled() |
boolean |
isNew() |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
resetOriginalValues() |
void |
setActive(boolean active)
Sets whether this commerce region is active.
|
void |
setCachedModel(boolean cachedModel) |
void |
setCode(java.lang.String code)
Sets the code of this commerce region.
|
void |
setCommerceCountryId(long commerceCountryId)
Sets the commerce country ID of this commerce region.
|
void |
setCommerceRegionId(long commerceRegionId)
Sets the commerce region ID of this commerce region.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce region.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce region.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this commerce region.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce region.
|
void |
setName(java.lang.String name)
Sets the name of this commerce region.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce region.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setPriority(double priority)
Sets the priority of this commerce region.
|
void |
setUserId(long userId)
Sets the user ID of this commerce region.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce region.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce region.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce region.
|
com.liferay.portal.kernel.model.CacheModel<CommerceRegion> |
toCacheModel() |
CommerceRegion |
toEscapedModel() |
java.lang.String |
toString() |
CommerceRegion |
toUnescapedModel() |
java.lang.String |
toXmlString() |
public CommerceRegionWrapper(CommerceRegion commerceRegion)
public java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public java.lang.Object clone()
clone in interface CommerceRegionModelclone in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class java.lang.Objectpublic int compareTo(CommerceRegion commerceRegion)
compareTo in interface CommerceRegionModelcompareTo in interface java.lang.Comparable<CommerceRegion>public boolean getActive()
getActive in interface CommerceRegionModelpublic java.lang.String getCode()
getCode in interface CommerceRegionModelpublic CommerceCountry getCommerceCountry() throws com.liferay.portal.kernel.exception.PortalException
getCommerceCountry in interface CommerceRegioncom.liferay.portal.kernel.exception.PortalExceptionpublic long getCommerceCountryId()
getCommerceCountryId in interface CommerceRegionModelpublic long getCommerceRegionId()
getCommerceRegionId in interface CommerceRegionModelpublic long getCompanyId()
getCompanyId in interface CommerceRegionModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceRegionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface CommerceRegionModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface CommerceRegionModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceRegionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getName()
getName in interface CommerceRegionModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceRegionModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface CommerceRegionModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic double getPriority()
getPriority in interface CommerceRegionModelpublic long getUserId()
getUserId in interface CommerceRegionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceRegionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceRegionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CommerceRegionModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic int hashCode()
hashCode in interface CommerceRegionModelhashCode in class java.lang.Objectpublic boolean isActive()
true if this commerce region is active.isActive in interface CommerceRegionModeltrue if this commerce region is active; false otherwisepublic boolean isCachedModel()
isCachedModel in interface CommerceRegionModelisCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public boolean isEscapedModel()
isEscapedModel in interface CommerceRegionModelisEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public boolean isNew()
isNew in interface CommerceRegionModelisNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public void persist()
CommerceRegion interface instead.persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setActive(boolean active)
setActive in interface CommerceRegionModelactive - the active of this commerce regionpublic void setCachedModel(boolean cachedModel)
setCachedModel in interface CommerceRegionModelsetCachedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public void setCode(java.lang.String code)
setCode in interface CommerceRegionModelcode - the code of this commerce regionpublic void setCommerceCountryId(long commerceCountryId)
setCommerceCountryId in interface CommerceRegionModelcommerceCountryId - the commerce country ID of this commerce regionpublic void setCommerceRegionId(long commerceRegionId)
setCommerceRegionId in interface CommerceRegionModelcommerceRegionId - the commerce region ID of this commerce regionpublic void setCompanyId(long companyId)
setCompanyId in interface CommerceRegionModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this commerce regionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceRegionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce regionpublic void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface CommerceRegionModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface CommerceRegionModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface CommerceRegionModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface CommerceRegionModellastPublishDate - the last publish date of this commerce regionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceRegionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce regionpublic void setName(java.lang.String name)
setName in interface CommerceRegionModelname - the name of this commerce regionpublic void setNew(boolean n)
setNew in interface CommerceRegionModelsetNew in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceRegionModelprimaryKey - the primary key of this commerce regionpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface CommerceRegionModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPriority(double priority)
setPriority in interface CommerceRegionModelpriority - the priority of this commerce regionpublic void setUserId(long userId)
setUserId in interface CommerceRegionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce regionpublic void setUserName(java.lang.String userName)
setUserName in interface CommerceRegionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce regionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceRegionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce regionpublic void setUuid(java.lang.String uuid)
setUuid in interface CommerceRegionModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce regionpublic com.liferay.portal.kernel.model.CacheModel<CommerceRegion> toCacheModel()
toCacheModel in interface CommerceRegionModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public CommerceRegion toEscapedModel()
toEscapedModel in interface CommerceRegionModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public java.lang.String toString()
toString in interface CommerceRegionModeltoString in class java.lang.Objectpublic CommerceRegion toUnescapedModel()
toUnescapedModel in interface CommerceRegionModeltoUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public java.lang.String toXmlString()
toXmlString in interface CommerceRegionModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic CommerceRegion getWrappedModel()
getWrappedModel in interface com.liferay.portal.kernel.model.ModelWrapper<CommerceRegion>public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceRegion>