Package com.liferay.portal.kernel.model
Class RegionWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<Region>
com.liferay.portal.kernel.model.RegionWrapper
- All Implemented Interfaces:
AuditedModel,BaseModel<Region>,CTModel<Region>,ClassedModel,ModelWrapper<Region>,MVCCModel,PersistedModel,Region,RegionModel,ShardedModel,StagedAuditedModel,StagedModel,Serializable,Cloneable,Comparable<Region>
This class is a wrapper for Region.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.Region
REGION_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the active of this region.String[]longReturns the company ID of this region.longReturns the country ID of this region.Returns the create date of this region.longReturns the ct collection ID of this region.Returns the default language ID of this region.Returns the last publish date of this region.Returns the modified date of this region.longReturns the mvcc version of this region.getName()Returns the name of this region.doubleReturns the position of this region.longReturns the primary key of this region.Returns the region code of this region.longReturns the region ID of this region.getTitle()longReturns the user ID of this region.Returns the user name of this region.Returns the user uuid of this region.getUuid()Returns the uuid of this region.booleanisActive()Returnstrueif this region is active.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetActive(boolean active) Sets whether this region is active.voidsetCompanyId(long companyId) Sets the company ID of this region.voidsetCountryId(long countryId) Sets the country ID of this region.voidsetCreateDate(Date createDate) Sets the create date of this region.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this region.voidsetDefaultLanguageId(String defaultLanguageId) Sets the default language ID of this region.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this region.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this region.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this region.voidSets the name of this region.voidsetPosition(double position) Sets the position of this region.voidsetPrimaryKey(long primaryKey) Sets the primary key of this region.voidsetRegionCode(String regionCode) Sets the region code of this region.voidsetRegionId(long regionId) Sets the region ID of this region.voidsetTitleCurrentLanguageId(String languageId) voidsetUserId(long userId) Sets the user ID of this region.voidsetUserName(String userName) Sets the user name of this region.voidsetUserUuid(String userUuid) Sets the user uuid of this region.voidSets the uuid of this region.protected RegionWrapperMethods 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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
RegionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<Region>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<Region>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<Region>- Specified by:
cloneWithOriginalValuesin interfaceRegionModel
-
getActive
public boolean getActive()Returns the active of this region.- Specified by:
getActivein interfaceRegionModel- Returns:
- the active of this region
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceRegionModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this region.- Specified by:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceRegionModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this region
-
getCountryId
public long getCountryId()Returns the country ID of this region.- Specified by:
getCountryIdin interfaceRegionModel- Returns:
- the country ID of this region
-
getCreateDate
Returns the create date of this region.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceRegionModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this region
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this region.- Specified by:
getCtCollectionIdin interfaceCTModel<Region>- Specified by:
getCtCollectionIdin interfaceRegionModel- Returns:
- the ct collection ID of this region
-
getDefaultLanguageId
Returns the default language ID of this region.- Specified by:
getDefaultLanguageIdin interfaceRegionModel- Returns:
- the default language ID of this region
-
getLanguageIdToTitleMap
- Specified by:
getLanguageIdToTitleMapin interfaceRegionModel
-
getLastPublishDate
Returns the last publish date of this region.- Specified by:
getLastPublishDatein interfaceRegionModel- Returns:
- the last publish date of this region
-
getModifiedDate
Returns the modified date of this region.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceRegionModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this region
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this region.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceRegionModel- Returns:
- the mvcc version of this region
-
getName
Returns the name of this region.- Specified by:
getNamein interfaceRegionModel- Returns:
- the name of this region
-
getPosition
public double getPosition()Returns the position of this region.- Specified by:
getPositionin interfaceRegionModel- Returns:
- the position of this region
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this region.- Specified by:
getPrimaryKeyin interfaceCTModel<Region>- Specified by:
getPrimaryKeyin interfaceRegionModel- Returns:
- the primary key of this region
-
getRegionCode
Returns the region code of this region.- Specified by:
getRegionCodein interfaceRegionModel- Returns:
- the region code of this region
-
getRegionId
public long getRegionId()Returns the region ID of this region.- Specified by:
getRegionIdin interfaceRegionModel- Returns:
- the region ID of this region
-
getTitle
- Specified by:
getTitlein interfaceRegionModel
-
getTitle
- Specified by:
getTitlein interfaceRegionModel
-
getTitle
- Specified by:
getTitlein interfaceRegionModel
-
getTitleCurrentLanguageId
- Specified by:
getTitleCurrentLanguageIdin interfaceRegion
-
getTitleMapAsXML
- Specified by:
getTitleMapAsXMLin interfaceRegionModel
-
getUserId
public long getUserId()Returns the user ID of this region.- Specified by:
getUserIdin interfaceAuditedModel- Specified by:
getUserIdin interfaceRegionModel- Returns:
- the user ID of this region
-
getUserName
Returns the user name of this region.- Specified by:
getUserNamein interfaceAuditedModel- Specified by:
getUserNamein interfaceRegionModel- Returns:
- the user name of this region
-
getUserUuid
Returns the user uuid of this region.- Specified by:
getUserUuidin interfaceAuditedModel- Specified by:
getUserUuidin interfaceRegionModel- Returns:
- the user uuid of this region
-
getUuid
Returns the uuid of this region.- Specified by:
getUuidin interfaceRegionModel- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this region
-
isActive
public boolean isActive()Returnstrueif this region is active.- Specified by:
isActivein interfaceRegionModel- Returns:
trueif this region is active;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setActive
public void setActive(boolean active) Sets whether this region is active.- Specified by:
setActivein interfaceRegionModel- Parameters:
active- the active of this region
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this region.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceRegionModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this region
-
setCountryId
public void setCountryId(long countryId) Sets the country ID of this region.- Specified by:
setCountryIdin interfaceRegionModel- Parameters:
countryId- the country ID of this region
-
setCreateDate
Sets the create date of this region.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceRegionModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this region
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this region.- Specified by:
setCtCollectionIdin interfaceCTModel<Region>- Specified by:
setCtCollectionIdin interfaceRegionModel- Parameters:
ctCollectionId- the ct collection ID of this region
-
setDefaultLanguageId
Sets the default language ID of this region.- Specified by:
setDefaultLanguageIdin interfaceRegionModel- Parameters:
defaultLanguageId- the default language ID of this region
-
setLastPublishDate
Sets the last publish date of this region.- Specified by:
setLastPublishDatein interfaceRegionModel- Parameters:
lastPublishDate- the last publish date of this region
-
setModifiedDate
Sets the modified date of this region.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein interfaceRegionModel- Specified by:
setModifiedDatein interfaceStagedModel- Parameters:
modifiedDate- the modified date of this region
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this region.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceRegionModel- Parameters:
mvccVersion- the mvcc version of this region
-
setName
Sets the name of this region.- Specified by:
setNamein interfaceRegionModel- Parameters:
name- the name of this region
-
setPosition
public void setPosition(double position) Sets the position of this region.- Specified by:
setPositionin interfaceRegionModel- Parameters:
position- the position of this region
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this region.- Specified by:
setPrimaryKeyin interfaceCTModel<Region>- Specified by:
setPrimaryKeyin interfaceRegionModel- Parameters:
primaryKey- the primary key of this region
-
setRegionCode
Sets the region code of this region.- Specified by:
setRegionCodein interfaceRegionModel- Parameters:
regionCode- the region code of this region
-
setRegionId
public void setRegionId(long regionId) Sets the region ID of this region.- Specified by:
setRegionIdin interfaceRegionModel- Parameters:
regionId- the region ID of this region
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageIdin interfaceRegion
-
setUserId
public void setUserId(long userId) Sets the user ID of this region.- Specified by:
setUserIdin interfaceAuditedModel- Specified by:
setUserIdin interfaceRegionModel- Parameters:
userId- the user ID of this region
-
setUserName
Sets the user name of this region.- Specified by:
setUserNamein interfaceAuditedModel- Specified by:
setUserNamein interfaceRegionModel- Parameters:
userName- the user name of this region
-
setUserUuid
Sets the user uuid of this region.- Specified by:
setUserUuidin interfaceAuditedModel- Specified by:
setUserUuidin interfaceRegionModel- Parameters:
userUuid- the user uuid of this region
-
setUuid
Sets the uuid of this region.- Specified by:
setUuidin interfaceRegionModel- Specified by:
setUuidin interfaceStagedModel- Parameters:
uuid- the uuid of this region
-
toXmlString
- Specified by:
toXmlStringin interfaceRegionModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<Region>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<Region>
-
getStagedModelType
- Specified by:
getStagedModelTypein interfaceStagedModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<Region>
-