@ProviderType public interface RegionModel extends BaseModel<Region>, MVCCModel, ShardedModel, StagedAuditedModel
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
.
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.
|
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.
|
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 |
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 |
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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
clone, getStagedModelType
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this regionlong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this region@AutoEscape String getUuid()
getUuid
in interface StagedModel
void setUuid(String uuid)
setUuid
in interface StagedModel
uuid
- the uuid of this region@AutoEscape String getDefaultLanguageId()
void setDefaultLanguageId(String defaultLanguageId)
defaultLanguageId
- the default language ID of this regionlong getRegionId()
void setRegionId(long regionId)
regionId
- the region ID of this regionlong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this regionlong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this regionString getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this region@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this regionDate getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this regionDate getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this regionlong getCountryId()
void setCountryId(long countryId)
countryId
- the country ID of this regionboolean getActive()
boolean isActive()
true
if this region is active.true
if this region is active; false
otherwisevoid setActive(boolean active)
active
- the active of this region@AutoEscape String getName()
void setName(String name)
name
- the name of this regiondouble getPosition()
void setPosition(double position)
position
- the position of this region@AutoEscape String getRegionCode()
void setRegionCode(String regionCode)
regionCode
- the region code of this regionDate getLastPublishDate()
void setLastPublishDate(Date lastPublishDate)
lastPublishDate
- the last publish date of this regionString[] getAvailableLanguageIds()
String getTitle()
String getTitle(String languageId)
String getTitle(String languageId, boolean useDefault)
String getTitleMapAsXML()
Map<String,String> getLanguageIdToTitleMap()
Region cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<Region>