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
model
Fields inherited from interface com.liferay.portal.kernel.model.Region
REGION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the active of this region.String[]
long
Returns the company ID of this region.long
Returns the country ID of this region.Returns the create date of this region.long
Returns 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.long
Returns the mvcc version of this region.getName()
Returns the name of this region.double
Returns the position of this region.long
Returns the primary key of this region.Returns the region code of this region.long
Returns the region ID of this region.getTitle()
long
Returns 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.boolean
isActive()
Returnstrue
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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID 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
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
setTitleCurrentLanguageId
(String languageId) 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
Sets the uuid of this region.protected RegionWrapper
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, 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
-
RegionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<Region>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<Region>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Region>
- Specified by:
cloneWithOriginalValues
in interfaceRegionModel
-
getActive
public boolean getActive()Returns the active of this region.- Specified by:
getActive
in interfaceRegionModel
- Returns:
- the active of this region
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceRegionModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this region.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceRegionModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this region
-
getCountryId
public long getCountryId()Returns the country ID of this region.- Specified by:
getCountryId
in interfaceRegionModel
- Returns:
- the country ID of this region
-
getCreateDate
Returns the create date of this region.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceRegionModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this region
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this region.- Specified by:
getCtCollectionId
in interfaceCTModel<Region>
- Specified by:
getCtCollectionId
in interfaceRegionModel
- Returns:
- the ct collection ID of this region
-
getDefaultLanguageId
Returns the default language ID of this region.- Specified by:
getDefaultLanguageId
in interfaceRegionModel
- Returns:
- the default language ID of this region
-
getLanguageIdToTitleMap
- Specified by:
getLanguageIdToTitleMap
in interfaceRegionModel
-
getLastPublishDate
Returns the last publish date of this region.- Specified by:
getLastPublishDate
in interfaceRegionModel
- Returns:
- the last publish date of this region
-
getModifiedDate
Returns the modified date of this region.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceRegionModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this region
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this region.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceRegionModel
- Returns:
- the mvcc version of this region
-
getName
Returns the name of this region.- Specified by:
getName
in interfaceRegionModel
- Returns:
- the name of this region
-
getPosition
public double getPosition()Returns the position of this region.- Specified by:
getPosition
in interfaceRegionModel
- Returns:
- the position of this region
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this region.- Specified by:
getPrimaryKey
in interfaceCTModel<Region>
- Specified by:
getPrimaryKey
in interfaceRegionModel
- Returns:
- the primary key of this region
-
getRegionCode
Returns the region code of this region.- Specified by:
getRegionCode
in interfaceRegionModel
- Returns:
- the region code of this region
-
getRegionId
public long getRegionId()Returns the region ID of this region.- Specified by:
getRegionId
in interfaceRegionModel
- Returns:
- the region ID of this region
-
getTitle
- Specified by:
getTitle
in interfaceRegionModel
-
getTitle
- Specified by:
getTitle
in interfaceRegionModel
-
getTitle
- Specified by:
getTitle
in interfaceRegionModel
-
getTitleCurrentLanguageId
- Specified by:
getTitleCurrentLanguageId
in interfaceRegion
-
getTitleMapAsXML
- Specified by:
getTitleMapAsXML
in interfaceRegionModel
-
getUserId
public long getUserId()Returns the user ID of this region.- Specified by:
getUserId
in interfaceAuditedModel
- Specified by:
getUserId
in interfaceRegionModel
- Returns:
- the user ID of this region
-
getUserName
Returns the user name of this region.- Specified by:
getUserName
in interfaceAuditedModel
- Specified by:
getUserName
in interfaceRegionModel
- Returns:
- the user name of this region
-
getUserUuid
Returns the user uuid of this region.- Specified by:
getUserUuid
in interfaceAuditedModel
- Specified by:
getUserUuid
in interfaceRegionModel
- Returns:
- the user uuid of this region
-
getUuid
Returns the uuid of this region.- Specified by:
getUuid
in interfaceRegionModel
- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this region
-
isActive
public boolean isActive()Returnstrue
if this region is active.- Specified by:
isActive
in interfaceRegionModel
- Returns:
true
if this region is active;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setActive
public void setActive(boolean active) Sets whether this region is active.- Specified by:
setActive
in interfaceRegionModel
- Parameters:
active
- the active of this region
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this region.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceRegionModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this region
-
setCountryId
public void setCountryId(long countryId) Sets the country ID of this region.- Specified by:
setCountryId
in interfaceRegionModel
- Parameters:
countryId
- the country ID of this region
-
setCreateDate
Sets the create date of this region.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceRegionModel
- Specified by:
setCreateDate
in 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:
setCtCollectionId
in interfaceCTModel<Region>
- Specified by:
setCtCollectionId
in interfaceRegionModel
- Parameters:
ctCollectionId
- the ct collection ID of this region
-
setDefaultLanguageId
Sets the default language ID of this region.- Specified by:
setDefaultLanguageId
in interfaceRegionModel
- Parameters:
defaultLanguageId
- the default language ID of this region
-
setLastPublishDate
Sets the last publish date of this region.- Specified by:
setLastPublishDate
in interfaceRegionModel
- Parameters:
lastPublishDate
- the last publish date of this region
-
setModifiedDate
Sets the modified date of this region.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceRegionModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this region
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this region.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceRegionModel
- Parameters:
mvccVersion
- the mvcc version of this region
-
setName
Sets the name of this region.- Specified by:
setName
in interfaceRegionModel
- Parameters:
name
- the name of this region
-
setPosition
public void setPosition(double position) Sets the position of this region.- Specified by:
setPosition
in interfaceRegionModel
- Parameters:
position
- the position of this region
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this region.- Specified by:
setPrimaryKey
in interfaceCTModel<Region>
- Specified by:
setPrimaryKey
in interfaceRegionModel
- Parameters:
primaryKey
- the primary key of this region
-
setRegionCode
Sets the region code of this region.- Specified by:
setRegionCode
in interfaceRegionModel
- Parameters:
regionCode
- the region code of this region
-
setRegionId
public void setRegionId(long regionId) Sets the region ID of this region.- Specified by:
setRegionId
in interfaceRegionModel
- Parameters:
regionId
- the region ID of this region
-
setTitleCurrentLanguageId
- Specified by:
setTitleCurrentLanguageId
in interfaceRegion
-
setUserId
public void setUserId(long userId) Sets the user ID of this region.- Specified by:
setUserId
in interfaceAuditedModel
- Specified by:
setUserId
in interfaceRegionModel
- Parameters:
userId
- the user ID of this region
-
setUserName
Sets the user name of this region.- Specified by:
setUserName
in interfaceAuditedModel
- Specified by:
setUserName
in interfaceRegionModel
- Parameters:
userName
- the user name of this region
-
setUserUuid
Sets the user uuid of this region.- Specified by:
setUserUuid
in interfaceAuditedModel
- Specified by:
setUserUuid
in interfaceRegionModel
- Parameters:
userUuid
- the user uuid of this region
-
setUuid
Sets the uuid of this region.- Specified by:
setUuid
in interfaceRegionModel
- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this region
-
toXmlString
- Specified by:
toXmlString
in interfaceRegionModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<Region>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<Region>
-
getStagedModelType
- Specified by:
getStagedModelType
in interfaceStagedModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<Region>
-