@JSON(strict=true)
@ProviderType
public class CommerceRegionModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CommerceRegion>
implements com.liferay.commerce.model.CommerceRegionModel
This implementation and its corresponding interface CommerceRegionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in CommerceRegionImpl.
CommerceRegionImpl,
CommerceRegion,
CommerceRegionModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
ACTIVE_COLUMN_BITMASK |
static long |
CODE_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMMERCECOUNTRYID_COLUMN_BITMASK |
static long |
COMPANYID_COLUMN_BITMASK |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static long |
PRIORITY_COLUMN_BITMASK |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
UUID_COLUMN_BITMASK |
| Constructor and Description |
|---|
CommerceRegionModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.commerce.model.CommerceRegion commerceRegion) |
boolean |
equals(java.lang.Object obj) |
boolean |
getActive() |
java.lang.String |
getCode() |
long |
getColumnBitmask() |
long |
getCommerceCountryId() |
long |
getCommerceRegionId() |
long |
getCompanyId() |
java.util.Date |
getCreateDate() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
java.util.Date |
getLastPublishDate() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
java.lang.String |
getName() |
boolean |
getOriginalActive() |
java.lang.String |
getOriginalCode() |
long |
getOriginalCommerceCountryId() |
long |
getOriginalCompanyId() |
long |
getOriginalGroupId() |
java.lang.String |
getOriginalUuid() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
double |
getPriority() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
java.lang.String |
getUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isActive() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setActive(boolean active) |
void |
setCode(java.lang.String code) |
void |
setCommerceCountryId(long commerceCountryId) |
void |
setCommerceRegionId(long commerceRegionId) |
void |
setCompanyId(long companyId) |
void |
setCreateDate(java.util.Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setLastPublishDate(java.util.Date lastPublishDate) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setName(java.lang.String name) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setPriority(double priority) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
void |
setUuid(java.lang.String uuid) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.commerce.model.CommerceRegion> |
toCacheModel() |
com.liferay.commerce.model.CommerceRegion |
toEscapedModel() |
static com.liferay.commerce.model.CommerceRegion |
toModel(com.liferay.commerce.model.CommerceRegionSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.commerce.model.CommerceRegion> |
toModels(com.liferay.commerce.model.CommerceRegionSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long ACTIVE_COLUMN_BITMASK
public static final long CODE_COLUMN_BITMASK
public static final long COMMERCECOUNTRYID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long UUID_COLUMN_BITMASK
public static final long PRIORITY_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public static com.liferay.commerce.model.CommerceRegion toModel(com.liferay.commerce.model.CommerceRegionSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.commerce.model.CommerceRegion> toModels(com.liferay.commerce.model.CommerceRegionSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.commerce.model.CommerceRegionModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.commerce.model.CommerceRegionModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.commerce.model.CommerceRegionModelgetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.commerce.model.CommerceRegionModelsetPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CommerceRegion>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CommerceRegion>@JSON public java.lang.String getUuid()
getUuid in interface com.liferay.commerce.model.CommerceRegionModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void setUuid(java.lang.String uuid)
setUuid in interface com.liferay.commerce.model.CommerceRegionModelsetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getOriginalUuid()
@JSON public long getCommerceRegionId()
getCommerceRegionId in interface com.liferay.commerce.model.CommerceRegionModelpublic void setCommerceRegionId(long commerceRegionId)
setCommerceRegionId in interface com.liferay.commerce.model.CommerceRegionModel@JSON public long getGroupId()
getGroupId in interface com.liferay.commerce.model.CommerceRegionModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.commerce.model.CommerceRegionModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getOriginalGroupId()
@JSON public long getCompanyId()
getCompanyId in interface com.liferay.commerce.model.CommerceRegionModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.commerce.model.CommerceRegionModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.commerce.model.CommerceRegionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserId(long userId)
setUserId in interface com.liferay.commerce.model.CommerceRegionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.commerce.model.CommerceRegionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.commerce.model.CommerceRegionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.commerce.model.CommerceRegionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.commerce.model.CommerceRegionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.commerce.model.CommerceRegionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.commerce.model.CommerceRegionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.commerce.model.CommerceRegionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.commerce.model.CommerceRegionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModel@JSON public long getCommerceCountryId()
getCommerceCountryId in interface com.liferay.commerce.model.CommerceRegionModelpublic void setCommerceCountryId(long commerceCountryId)
setCommerceCountryId in interface com.liferay.commerce.model.CommerceRegionModelpublic long getOriginalCommerceCountryId()
@JSON public java.lang.String getName()
getName in interface com.liferay.commerce.model.CommerceRegionModelpublic void setName(java.lang.String name)
setName in interface com.liferay.commerce.model.CommerceRegionModel@JSON public java.lang.String getCode()
getCode in interface com.liferay.commerce.model.CommerceRegionModelpublic void setCode(java.lang.String code)
setCode in interface com.liferay.commerce.model.CommerceRegionModelpublic java.lang.String getOriginalCode()
@JSON public double getPriority()
getPriority in interface com.liferay.commerce.model.CommerceRegionModelpublic void setPriority(double priority)
setPriority in interface com.liferay.commerce.model.CommerceRegionModel@JSON public boolean getActive()
getActive in interface com.liferay.commerce.model.CommerceRegionModel@JSON public boolean isActive()
isActive in interface com.liferay.commerce.model.CommerceRegionModelpublic void setActive(boolean active)
setActive in interface com.liferay.commerce.model.CommerceRegionModelpublic boolean getOriginalActive()
@JSON public java.util.Date getLastPublishDate()
getLastPublishDate in interface com.liferay.commerce.model.CommerceRegionModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface com.liferay.commerce.model.CommerceRegionModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.commerce.model.CommerceRegionModelgetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CommerceRegion>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.commerce.model.CommerceRegionModelsetExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CommerceRegion>public com.liferay.commerce.model.CommerceRegion toEscapedModel()
toEscapedModel in interface com.liferay.commerce.model.CommerceRegionModeltoEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CommerceRegion>public java.lang.Object clone()
clone in interface com.liferay.commerce.model.CommerceRegionModelclone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>clone in interface com.liferay.portal.kernel.model.StagedModelclone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CommerceRegion>public int compareTo(com.liferay.commerce.model.CommerceRegion commerceRegion)
compareTo in interface com.liferay.commerce.model.CommerceRegionModelcompareTo in interface java.lang.Comparable<com.liferay.commerce.model.CommerceRegion>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.commerce.model.CommerceRegionModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CommerceRegion>public com.liferay.portal.kernel.model.CacheModel<com.liferay.commerce.model.CommerceRegion> toCacheModel()
toCacheModel in interface com.liferay.commerce.model.CommerceRegionModeltoCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.commerce.model.CommerceRegion>public java.lang.String toString()
toString in interface com.liferay.commerce.model.CommerceRegionModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.commerce.model.CommerceRegionModeltoXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.commerce.model.CommerceRegion>