public class CommerceRegionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceRegion> 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 |
|---|---|
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.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this commerce region.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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.
|
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.
|
boolean |
isActive()
Returns
true if this commerce region is active. |
void |
persist() |
void |
setActive(boolean active)
Sets whether this commerce region is active.
|
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 |
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 |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce region.
|
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.
|
protected CommerceRegionWrapper |
wrap(CommerceRegion commerceRegion) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic CommerceRegionWrapper(CommerceRegion commerceRegion)
public 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 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 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 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 boolean isActive()
true if this commerce region is active.isActive in interface CommerceRegionModeltrue if this commerce region is active; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setActive(boolean active)
setActive in interface CommerceRegionModelactive - the active of this commerce regionpublic 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 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 setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceRegionModelprimaryKey - the primary key of this commerce regionpublic 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.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CommerceRegionWrapper wrap(CommerceRegion commerceRegion)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceRegion>