public class RegionWrapper extends BaseModelWrapper<Region> implements ModelWrapper<Region>, Region
This class is a wrapper for Region.
Region,
Serialized FormmodelREGION_ID_ACCESSOR| Constructor and Description |
|---|
RegionWrapper(Region region) |
| Modifier and Type | Method and Description |
|---|---|
Region |
cloneWithOriginalValues() |
boolean |
getActive()
Returns the active of this region.
|
String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this region.
|
long |
getCountryId()
Returns the country ID of this region.
|
Date |
getCreateDate()
Returns the create date of this region.
|
String |
getDefaultLanguageId()
Returns the default language ID of this region.
|
Map<String,String> |
getLanguageIdToTitleMap() |
Date |
getLastPublishDate()
Returns the last publish date of this region.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this region.
|
long |
getMvccVersion()
Returns the mvcc version of this region.
|
String |
getName()
Returns the name of this region.
|
double |
getPosition()
Returns the position of this region.
|
long |
getPrimaryKey()
Returns the primary key of this region.
|
String |
getRegionCode()
Returns the region code of this region.
|
long |
getRegionId()
Returns the region ID of this region.
|
StagedModelType |
getStagedModelType() |
String |
getTitle() |
String |
getTitle(String languageId) |
String |
getTitle(String languageId,
boolean useDefault) |
String |
getTitleMapAsXML() |
long |
getUserId()
Returns the user ID of this region.
|
String |
getUserName()
Returns the user name of this region.
|
String |
getUserUuid()
Returns the user uuid of this region.
|
String |
getUuid()
Returns the uuid of this region.
|
boolean |
isActive()
Returns
true if this region is active. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setActive(boolean active)
Sets whether this region is active.
|
void |
setCompanyId(long companyId)
Sets the company ID of this region.
|
void |
setCountryId(long countryId)
Sets the country ID of this region.
|
void |
setCreateDate(Date createDate)
Sets the create date of this region.
|
void |
setDefaultLanguageId(String defaultLanguageId)
Sets the default language ID of this region.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this region.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this region.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this region.
|
void |
setName(String name)
Sets the name of this region.
|
void |
setPosition(double position)
Sets the position of this region.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this region.
|
void |
setRegionCode(String regionCode)
Sets the region code of this region.
|
void |
setRegionId(long regionId)
Sets the region ID of this region.
|
void |
setUserId(long userId)
Sets the user ID of this region.
|
void |
setUserName(String userName)
Sets the user name of this region.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this region.
|
void |
setUuid(String uuid)
Sets the uuid of this region.
|
protected RegionWrapper |
wrap(Region region) |
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, toXmlStringgetWrappedModelclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringclonegetModelClass, getModelClassNamepublic RegionWrapper(Region region)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<Region>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<Region>public Region cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<Region>cloneWithOriginalValues in interface RegionModelpublic boolean getActive()
getActive in interface RegionModelpublic String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface RegionModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface RegionModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic long getCountryId()
getCountryId in interface RegionModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface RegionModelgetCreateDate in interface StagedModelpublic String getDefaultLanguageId()
getDefaultLanguageId in interface RegionModelpublic Map<String,String> getLanguageIdToTitleMap()
getLanguageIdToTitleMap in interface RegionModelpublic Date getLastPublishDate()
getLastPublishDate in interface RegionModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface RegionModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface RegionModelpublic String getName()
getName in interface RegionModelpublic double getPosition()
getPosition in interface RegionModelpublic long getPrimaryKey()
getPrimaryKey in interface RegionModelpublic String getRegionCode()
getRegionCode in interface RegionModelpublic long getRegionId()
getRegionId in interface RegionModelpublic String getTitle()
getTitle in interface RegionModelpublic String getTitle(String languageId)
getTitle in interface RegionModelpublic String getTitle(String languageId,
boolean useDefault)
getTitle in interface RegionModelpublic String getTitleMapAsXML()
getTitleMapAsXML in interface RegionModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface RegionModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface RegionModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface RegionModelpublic String getUuid()
getUuid in interface RegionModelgetUuid in interface StagedModelpublic boolean isActive()
true if this region is active.isActive in interface RegionModeltrue if this region is active; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setActive(boolean active)
setActive in interface RegionModelactive - the active of this regionpublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface RegionModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this regionpublic void setCountryId(long countryId)
setCountryId in interface RegionModelcountryId - the country ID of this regionpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface RegionModelsetCreateDate in interface StagedModelcreateDate - the create date of this regionpublic void setDefaultLanguageId(String defaultLanguageId)
setDefaultLanguageId in interface RegionModeldefaultLanguageId - the default language ID of this regionpublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate in interface RegionModellastPublishDate - the last publish date of this regionpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface RegionModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this regionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface RegionModelmvccVersion - the mvcc version of this regionpublic void setName(String name)
setName in interface RegionModelname - the name of this regionpublic void setPosition(double position)
setPosition in interface RegionModelposition - the position of this regionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RegionModelprimaryKey - the primary key of this regionpublic void setRegionCode(String regionCode)
setRegionCode in interface RegionModelregionCode - the region code of this regionpublic void setRegionId(long regionId)
setRegionId in interface RegionModelregionId - the region ID of this regionpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface RegionModeluserId - the user ID of this regionpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface RegionModeluserName - the user name of this regionpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface RegionModeluserUuid - the user uuid of this regionpublic void setUuid(String uuid)
setUuid in interface RegionModelsetUuid in interface StagedModeluuid - the uuid of this regionpublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected RegionWrapper wrap(Region region)
wrap in class BaseModelWrapper<Region>