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 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.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.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.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.default StringMethods 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, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this region.- Specified by:
getPrimaryKeyin interfaceCTModel<Region>- Returns:
- the primary key of this region
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this region.- Specified by:
setPrimaryKeyin interfaceCTModel<Region>- Parameters:
primaryKey- the primary key of this region
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this region.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this region
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this region.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this region
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this region.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin interfaceCTModel<Region>- Parameters:
ctCollectionId- the ct collection ID of this region
-
getUuid
Returns the uuid of this region.- Specified by:
getUuidin interfaceStagedModel- Returns:
- the uuid of this region
-
setUuid
Sets the uuid of this region.- Specified by:
setUuidin 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:
getCompanyIdin interfaceAuditedModel- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceStagedModel- Returns:
- the company ID of this region
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this region.- Specified by:
setCompanyIdin interfaceAuditedModel- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceStagedModel- Parameters:
companyId- the company ID of this region
-
getUserId
long getUserId()Returns the user ID of this region.- Specified by:
getUserIdin interfaceAuditedModel- Returns:
- the user ID of this region
-
setUserId
void setUserId(long userId) Sets the user ID of this region.- Specified by:
setUserIdin interfaceAuditedModel- Parameters:
userId- the user ID of this region
-
getUserUuid
String getUserUuid()Returns the user uuid of this region.- Specified by:
getUserUuidin interfaceAuditedModel- Returns:
- the user uuid of this region
-
setUserUuid
Sets the user uuid of this region.- Specified by:
setUserUuidin interfaceAuditedModel- Parameters:
userUuid- the user uuid of this region
-
getUserName
Returns the user name of this region.- Specified by:
getUserNamein interfaceAuditedModel- Returns:
- the user name of this region
-
setUserName
Sets the user name of this region.- Specified by:
setUserNamein interfaceAuditedModel- Parameters:
userName- the user name of this region
-
getCreateDate
Date getCreateDate()Returns the create date of this region.- Specified by:
getCreateDatein interfaceAuditedModel- Specified by:
getCreateDatein interfaceStagedModel- Returns:
- the create date of this region
-
setCreateDate
Sets the create date of this region.- Specified by:
setCreateDatein interfaceAuditedModel- Specified by:
setCreateDatein interfaceStagedModel- Parameters:
createDate- the create date of this region
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this region.- Specified by:
getModifiedDatein interfaceAuditedModel- Specified by:
getModifiedDatein interfaceStagedModel- Returns:
- the modified date of this region
-
setModifiedDate
Sets the modified date of this region.- Specified by:
setModifiedDatein interfaceAuditedModel- Specified by:
setModifiedDatein 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()Returnstrueif this region is active.- Returns:
trueif this region is active;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<Region>
-
toXmlString
-