@JSON(strict=true)
public class RegionModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
implements com.liferay.portal.kernel.model.RegionModel
This implementation and its corresponding interface RegionModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RegionImpl
.
RegionImpl
,
Serialized FormModifier and Type | Field and Description |
---|---|
static long |
ACTIVE_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
COMPANYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
COUNTRYID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
LOCK_EXPIRATION_TIME |
static long |
NAME_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static long |
POSITION_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
REGIONCODE_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static String |
SESSION_FACTORY |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
static long |
UUID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
Constructor and Description |
---|
RegionModelImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
com.liferay.portal.kernel.model.Region |
cloneWithOriginalValues() |
int |
compareTo(com.liferay.portal.kernel.model.Region region) |
boolean |
equals(Object object) |
boolean |
getActive() |
Map<String,Function<com.liferay.portal.kernel.model.Region,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.portal.kernel.model.Region,Object>> |
getAttributeSetterBiConsumers() |
String[] |
getAvailableLanguageIds() |
long |
getColumnBitmask() |
static long |
getColumnBitmask(String columnName) |
<T> T |
getColumnOriginalValue(String columnName) |
<T> T |
getColumnValue(String columnName) |
long |
getCompanyId() |
long |
getCountryId() |
Date |
getCreateDate() |
String |
getDefaultLanguageId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,String> |
getLanguageIdToTitleMap() |
Date |
getLastPublishDate() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate() |
long |
getMvccVersion() |
String |
getName() |
boolean |
getOriginalActive()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalCompanyId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalCountryId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalRegionCode()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
String |
getOriginalUuid()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
double |
getPosition() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
String |
getRegionCode() |
long |
getRegionId() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
String |
getTitle() |
String |
getTitle(String languageId) |
String |
getTitle(String languageId,
boolean useDefault) |
String |
getTitleMapAsXML() |
long |
getUserId() |
String |
getUserName() |
String |
getUserUuid() |
String |
getUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isActive() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
void |
resetOriginalValues() |
void |
setActive(boolean active) |
void |
setCompanyId(long companyId) |
void |
setCountryId(long countryId) |
void |
setCreateDate(Date createDate) |
void |
setDefaultLanguageId(String defaultLanguageId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setLastPublishDate(Date lastPublishDate) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
void |
setName(String name) |
void |
setPosition(double position) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setRegionCode(String regionCode) |
void |
setRegionId(long regionId) |
void |
setUserId(long userId) |
void |
setUserName(String userName) |
void |
setUserUuid(String userUuid) |
void |
setUuid(String uuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Region> |
toCacheModel() |
com.liferay.portal.kernel.model.Region |
toEscapedModel() |
String |
toString() |
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
@Deprecated public static final long ACTIVE_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long COMPANYID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long COUNTRYID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long REGIONCODE_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long UUID_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long NAME_COLUMN_BITMASK
getColumnBitmask(String)
@Deprecated public static final long POSITION_COLUMN_BITMASK
getColumnBitmask(String)
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey
in interface com.liferay.portal.kernel.model.RegionModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface com.liferay.portal.kernel.model.RegionModel
public Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
getModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
setModelAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public Map<String,Function<com.liferay.portal.kernel.model.Region,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
public Map<String,BiConsumer<com.liferay.portal.kernel.model.Region,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
public String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.RegionModel
public String getTitle()
getTitle
in interface com.liferay.portal.kernel.model.RegionModel
public String getTitle(String languageId)
getTitle
in interface com.liferay.portal.kernel.model.RegionModel
public String getTitle(String languageId, boolean useDefault)
getTitle
in interface com.liferay.portal.kernel.model.RegionModel
public String getTitleMapAsXML()
getTitleMapAsXML
in interface com.liferay.portal.kernel.model.RegionModel
public Map<String,String> getLanguageIdToTitleMap()
getLanguageIdToTitleMap
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
getMvccVersion
in interface com.liferay.portal.kernel.model.RegionModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public String getUuid()
getUuid
in interface com.liferay.portal.kernel.model.RegionModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void setUuid(String uuid)
setUuid
in interface com.liferay.portal.kernel.model.RegionModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
@Deprecated public String getOriginalUuid()
getColumnOriginalValue(String)
@JSON public String getDefaultLanguageId()
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.RegionModel
public void setDefaultLanguageId(String defaultLanguageId)
setDefaultLanguageId
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public long getRegionId()
getRegionId
in interface com.liferay.portal.kernel.model.RegionModel
public void setRegionId(long regionId)
setRegionId
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.RegionModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.RegionModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
@Deprecated public long getOriginalCompanyId()
getColumnOriginalValue(String)
@JSON public long getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
getUserId
in interface com.liferay.portal.kernel.model.RegionModel
public void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
setUserId
in interface com.liferay.portal.kernel.model.RegionModel
public String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
getUserUuid
in interface com.liferay.portal.kernel.model.RegionModel
public void setUserUuid(String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
setUserUuid
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
getUserName
in interface com.liferay.portal.kernel.model.RegionModel
public void setUserName(String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
setUserName
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.RegionModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public void setCreateDate(Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.RegionModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
@JSON public Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.RegionModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.RegionModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
@JSON public long getCountryId()
getCountryId
in interface com.liferay.portal.kernel.model.RegionModel
public void setCountryId(long countryId)
setCountryId
in interface com.liferay.portal.kernel.model.RegionModel
@Deprecated public long getOriginalCountryId()
getColumnOriginalValue(String)
@JSON public boolean getActive()
getActive
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public boolean isActive()
isActive
in interface com.liferay.portal.kernel.model.RegionModel
public void setActive(boolean active)
setActive
in interface com.liferay.portal.kernel.model.RegionModel
@Deprecated public boolean getOriginalActive()
getColumnOriginalValue(String)
@JSON public String getName()
getName
in interface com.liferay.portal.kernel.model.RegionModel
public void setName(String name)
setName
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public double getPosition()
getPosition
in interface com.liferay.portal.kernel.model.RegionModel
public void setPosition(double position)
setPosition
in interface com.liferay.portal.kernel.model.RegionModel
@JSON public String getRegionCode()
getRegionCode
in interface com.liferay.portal.kernel.model.RegionModel
public void setRegionCode(String regionCode)
setRegionCode
in interface com.liferay.portal.kernel.model.RegionModel
@Deprecated public String getOriginalRegionCode()
getColumnOriginalValue(String)
@JSON public Date getLastPublishDate()
getLastPublishDate
in interface com.liferay.portal.kernel.model.RegionModel
public void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface com.liferay.portal.kernel.model.RegionModel
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
public long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
setExpandoBridgeAttributes
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public com.liferay.portal.kernel.model.Region toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
toEscapedModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
clone
in interface com.liferay.portal.kernel.model.StagedModel
clone
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public com.liferay.portal.kernel.model.Region cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.RegionModel
public int compareTo(com.liferay.portal.kernel.model.Region region)
compareTo
in interface Comparable<com.liferay.portal.kernel.model.Region>
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
@Deprecated public boolean isEntityCacheEnabled()
isEntityCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
@Deprecated public boolean isFinderCacheEnabled()
isFinderCacheEnabled
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
public void resetOriginalValues()
resetOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
resetOriginalValues
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public com.liferay.portal.kernel.model.CacheModel<com.liferay.portal.kernel.model.Region> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.portal.kernel.model.Region>
toCacheModel
in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.portal.kernel.model.Region>
public String toString()
toString
in class Object
public <T> T getColumnValue(String columnName)
public <T> T getColumnOriginalValue(String columnName)
public static long getColumnBitmask(String columnName)