@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, toXmlStringclone, getStagedModelTypegetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this regionlong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this region@AutoEscape String getUuid()
getUuid in interface StagedModelvoid setUuid(String uuid)
setUuid in interface StagedModeluuid - 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 AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this regionlong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this regionString getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this region@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this regionDate getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this regionDate getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - 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>