Package com.liferay.portal.kernel.model
Interface RegionModel
- All Superinterfaces:
AuditedModel
,BaseModel<Region>
,ClassedModel
,Cloneable
,Comparable<Region>
,CTModel<Region>
,MVCCModel
,Serializable
,ShardedModel
,StagedAuditedModel
,StagedModel
- All Known Subinterfaces:
Region
- All Known Implementing Classes:
RegionWrapper
@ProviderType
public interface RegionModel
extends BaseModel<Region>, CTModel<Region>, MVCCModel, ShardedModel, StagedAuditedModel
The base model interface for the Region service. Represents a row in the "Region" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.RegionModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.RegionImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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
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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this region.- Specified by:
getPrimaryKey
in interfaceCTModel<Region>
- Returns:
- the primary key of this region
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this region.- Specified by:
setPrimaryKey
in interfaceCTModel<Region>
- Parameters:
primaryKey
- the primary key of this region
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this region.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this region
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this region.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this region
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this region.- Specified by:
getCtCollectionId
in interfaceCTModel<Region>
- Returns:
- the ct collection ID of this region
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this region.- Specified by:
setCtCollectionId
in interfaceCTModel<Region>
- Parameters:
ctCollectionId
- the ct collection ID of this region
-
getUuid
Returns the uuid of this region.- Specified by:
getUuid
in interfaceStagedModel
- Returns:
- the uuid of this region
-
setUuid
Sets the uuid of this region.- Specified by:
setUuid
in interfaceStagedModel
- Parameters:
uuid
- the uuid of this region
-
getDefaultLanguageId
Returns the default language ID of this region.- Returns:
- the default language ID of this region
-
setDefaultLanguageId
Sets the default language ID of this region.- Parameters:
defaultLanguageId
- the default language ID of this region
-
getRegionId
long getRegionId()Returns the region ID of this region.- Returns:
- the region ID of this region
-
setRegionId
void setRegionId(long regionId) Sets the region ID of this region.- Parameters:
regionId
- the region ID of this region
-
getCompanyId
long getCompanyId()Returns the company ID of this region.- Specified by:
getCompanyId
in interfaceAuditedModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceStagedModel
- Returns:
- the company ID of this region
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this region.- Specified by:
setCompanyId
in interfaceAuditedModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in interfaceStagedModel
- Parameters:
companyId
- the company ID of this region
-
getUserId
long getUserId()Returns the user ID of this region.- Specified by:
getUserId
in interfaceAuditedModel
- Returns:
- the user ID of this region
-
setUserId
void setUserId(long userId) Sets the user ID of this region.- Specified by:
setUserId
in interfaceAuditedModel
- Parameters:
userId
- the user ID of this region
-
getUserUuid
String getUserUuid()Returns the user uuid of this region.- Specified by:
getUserUuid
in interfaceAuditedModel
- Returns:
- the user uuid of this region
-
setUserUuid
Sets the user uuid of this region.- Specified by:
setUserUuid
in interfaceAuditedModel
- Parameters:
userUuid
- the user uuid of this region
-
getUserName
Returns the user name of this region.- Specified by:
getUserName
in interfaceAuditedModel
- Returns:
- the user name of this region
-
setUserName
Sets the user name of this region.- Specified by:
setUserName
in interfaceAuditedModel
- Parameters:
userName
- the user name of this region
-
getCreateDate
Date getCreateDate()Returns the create date of this region.- Specified by:
getCreateDate
in interfaceAuditedModel
- Specified by:
getCreateDate
in interfaceStagedModel
- Returns:
- the create date of this region
-
setCreateDate
Sets the create date of this region.- Specified by:
setCreateDate
in interfaceAuditedModel
- Specified by:
setCreateDate
in interfaceStagedModel
- Parameters:
createDate
- the create date of this region
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this region.- Specified by:
getModifiedDate
in interfaceAuditedModel
- Specified by:
getModifiedDate
in interfaceStagedModel
- Returns:
- the modified date of this region
-
setModifiedDate
Sets the modified date of this region.- Specified by:
setModifiedDate
in interfaceAuditedModel
- Specified by:
setModifiedDate
in interfaceStagedModel
- Parameters:
modifiedDate
- the modified date of this region
-
getCountryId
long getCountryId()Returns the country ID of this region.- Returns:
- the country ID of this region
-
setCountryId
void setCountryId(long countryId) Sets the country ID of this region.- Parameters:
countryId
- the country ID of this region
-
getActive
boolean getActive()Returns the active of this region.- Returns:
- the active of this region
-
isActive
boolean isActive()Returnstrue
if this region is active.- Returns:
true
if this region is active;false
otherwise
-
setActive
void setActive(boolean active) Sets whether this region is active.- Parameters:
active
- the active of this region
-
getName
Returns the name of this region.- Returns:
- the name of this region
-
setName
Sets the name of this region.- Parameters:
name
- the name of this region
-
getPosition
double getPosition()Returns the position of this region.- Returns:
- the position of this region
-
setPosition
void setPosition(double position) Sets the position of this region.- Parameters:
position
- the position of this region
-
getRegionCode
Returns the region code of this region.- Returns:
- the region code of this region
-
setRegionCode
Sets the region code of this region.- Parameters:
regionCode
- the region code of this region
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this region.- Returns:
- the last publish date of this region
-
setLastPublishDate
Sets the last publish date of this region.- Parameters:
lastPublishDate
- the last publish date of this region
-
getAvailableLanguageIds
String[] getAvailableLanguageIds() -
getTitle
String getTitle() -
getTitle
-
getTitle
-
getTitleMapAsXML
String getTitleMapAsXML() -
getLanguageIdToTitleMap
-
cloneWithOriginalValues
Region cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<Region>
-
toXmlString
-