|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<AssetCategoryProperty>
com.liferay.portlet.asset.model.impl.AssetCategoryPropertyModelImpl
@JSON(strict=true) @ProviderType public class AssetCategoryPropertyModelImpl
The base model implementation for the AssetCategoryProperty service. Represents a row in the "AssetCategoryProperty" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AssetCategoryPropertyModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AssetCategoryPropertyImpl.
AssetCategoryPropertyImpl,
AssetCategoryProperty,
AssetCategoryPropertyModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CATEGORYID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
KEY_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
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
|
| Constructor Summary | |
|---|---|
AssetCategoryPropertyModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetCategoryProperty assetCategoryProperty)
|
boolean |
equals(Object obj)
|
long |
getCategoryId()
Returns the category ID of this asset category property. |
long |
getCategoryPropertyId()
Returns the category property ID of this asset category property. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this asset category property. |
Date |
getCreateDate()
Returns the create date of this asset category property. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getKey()
Returns the key of this asset category property. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this asset category property. |
long |
getOriginalCategoryId()
|
long |
getOriginalCompanyId()
|
String |
getOriginalKey()
|
long |
getPrimaryKey()
Returns the primary key of this asset category property. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this asset category property. |
String |
getUserName()
Returns the user name of this asset category property. |
String |
getUserUuid()
Returns the user uuid of this asset category property. |
String |
getValue()
Returns the value of this asset category property. |
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCategoryId(long categoryId)
Sets the category ID of this asset category property. |
void |
setCategoryPropertyId(long categoryPropertyId)
Sets the category property ID of this asset category property. |
void |
setCompanyId(long companyId)
Sets the company ID of this asset category property. |
void |
setCreateDate(Date createDate)
Sets the create date of this asset category property. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setKey(String key)
Sets the key of this asset category property. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this asset category property. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this asset category property. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this asset category property. |
void |
setUserName(String userName)
Sets the user name of this asset category property. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this asset category property. |
void |
setValue(String value)
Sets the value of this asset category property. |
CacheModel<AssetCategoryProperty> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AssetCategoryProperty |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static AssetCategoryProperty |
toModel(AssetCategoryPropertySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<AssetCategoryProperty> |
toModels(AssetCategoryPropertySoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.asset.model.AssetCategoryPropertyModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
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
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 CATEGORYID_COLUMN_BITMASK
public static final long COMPANYID_COLUMN_BITMASK
public static final long KEY_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public AssetCategoryPropertyModelImpl()
| Method Detail |
|---|
public static AssetCategoryProperty toModel(AssetCategoryPropertySoap soapModel)
soapModel - the soap model instance to convert
public static List<AssetCategoryProperty> toModels(AssetCategoryPropertySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
AssetCategoryPropertyModel
getPrimaryKey in interface AssetCategoryPropertyModelpublic void setPrimaryKey(long primaryKey)
AssetCategoryPropertyModel
setPrimaryKey in interface AssetCategoryPropertyModelprimaryKey - the primary key of this asset category propertypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<AssetCategoryProperty>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AssetCategoryPropertyModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<AssetCategoryProperty>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AssetCategoryPropertyModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AssetCategoryProperty>getModelAttributes in class BaseModelImpl<AssetCategoryProperty>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AssetCategoryProperty>setModelAttributes in class BaseModelImpl<AssetCategoryProperty>@JSON public long getCategoryPropertyId()
AssetCategoryPropertyModel
getCategoryPropertyId in interface AssetCategoryPropertyModelpublic void setCategoryPropertyId(long categoryPropertyId)
AssetCategoryPropertyModel
setCategoryPropertyId in interface AssetCategoryPropertyModelcategoryPropertyId - the category property ID of this asset category property@JSON public long getCompanyId()
AssetCategoryPropertyModel
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface AssetCategoryPropertyModelpublic void setCompanyId(long companyId)
AssetCategoryPropertyModel
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface AssetCategoryPropertyModelcompanyId - the company ID of this asset category propertypublic long getOriginalCompanyId()
@JSON public long getUserId()
AssetCategoryPropertyModel
getUserId in interface AuditedModelgetUserId in interface AssetCategoryPropertyModelpublic void setUserId(long userId)
AssetCategoryPropertyModel
setUserId in interface AuditedModelsetUserId in interface AssetCategoryPropertyModeluserId - the user ID of this asset category propertypublic String getUserUuid()
AssetCategoryPropertyModel
getUserUuid in interface AuditedModelgetUserUuid in interface AssetCategoryPropertyModelpublic void setUserUuid(String userUuid)
AssetCategoryPropertyModel
setUserUuid in interface AuditedModelsetUserUuid in interface AssetCategoryPropertyModeluserUuid - the user uuid of this asset category property@JSON public String getUserName()
AssetCategoryPropertyModel
getUserName in interface AuditedModelgetUserName in interface AssetCategoryPropertyModelpublic void setUserName(String userName)
AssetCategoryPropertyModel
setUserName in interface AuditedModelsetUserName in interface AssetCategoryPropertyModeluserName - the user name of this asset category property@JSON public Date getCreateDate()
AssetCategoryPropertyModel
getCreateDate in interface AuditedModelgetCreateDate in interface AssetCategoryPropertyModelpublic void setCreateDate(Date createDate)
AssetCategoryPropertyModel
setCreateDate in interface AuditedModelsetCreateDate in interface AssetCategoryPropertyModelcreateDate - the create date of this asset category property@JSON public Date getModifiedDate()
AssetCategoryPropertyModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface AssetCategoryPropertyModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
AssetCategoryPropertyModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface AssetCategoryPropertyModelmodifiedDate - the modified date of this asset category property@JSON public long getCategoryId()
AssetCategoryPropertyModel
getCategoryId in interface AssetCategoryPropertyModelpublic void setCategoryId(long categoryId)
AssetCategoryPropertyModel
setCategoryId in interface AssetCategoryPropertyModelcategoryId - the category ID of this asset category propertypublic long getOriginalCategoryId()
@JSON public String getKey()
AssetCategoryPropertyModel
getKey in interface AssetCategoryPropertyModelpublic void setKey(String key)
AssetCategoryPropertyModel
setKey in interface AssetCategoryPropertyModelkey - the key of this asset category propertypublic String getOriginalKey()
@JSON public String getValue()
AssetCategoryPropertyModel
getValue in interface AssetCategoryPropertyModelpublic void setValue(String value)
AssetCategoryPropertyModel
setValue in interface AssetCategoryPropertyModelvalue - the value of this asset category propertypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<AssetCategoryProperty>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AssetCategoryPropertyModelgetExpandoBridge in class BaseModelImpl<AssetCategoryProperty>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<AssetCategoryProperty>setExpandoBridgeAttributes in interface AssetCategoryPropertyModelsetExpandoBridgeAttributes in class BaseModelImpl<AssetCategoryProperty>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public AssetCategoryProperty toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<AssetCategoryProperty>toEscapedModel in interface AssetCategoryPropertyModeltoEscapedModel in class BaseModelImpl<AssetCategoryProperty>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<AssetCategoryProperty>clone in interface AssetCategoryPropertyModelclone in class BaseModelImpl<AssetCategoryProperty>public int compareTo(AssetCategoryProperty assetCategoryProperty)
compareTo in interface AssetCategoryPropertyModelcompareTo in interface Comparable<AssetCategoryProperty>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface AssetCategoryPropertyModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<AssetCategoryProperty>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<AssetCategoryProperty>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<AssetCategoryProperty>resetOriginalValues in class BaseModelImpl<AssetCategoryProperty>public CacheModel<AssetCategoryProperty> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<AssetCategoryProperty>toCacheModel in interface AssetCategoryPropertyModeltoCacheModel in class BaseModelImpl<AssetCategoryProperty>public String toString()
toString in interface AssetCategoryPropertyModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<AssetCategoryProperty>toXmlString in interface AssetCategoryPropertyModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||