|
Liferay 6.1.2-ce-ga3 | |||||||||
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) 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 FormField 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 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()
|
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()
|
AssetCategoryProperty |
toUnescapedModel()
|
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, setNew |
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, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
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 long CATEGORYID_COLUMN_BITMASK
public static long COMPANYID_COLUMN_BITMASK
public static 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 AssetCategoryPropertyModel
public void setPrimaryKey(long primaryKey)
AssetCategoryPropertyModel
setPrimaryKey
in interface AssetCategoryPropertyModel
primaryKey
- the primary key of this asset category propertypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetCategoryProperty>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AssetCategoryPropertyModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AssetCategoryProperty>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AssetCategoryPropertyModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 AssetCategoryPropertyModel
public void setCategoryPropertyId(long categoryPropertyId)
AssetCategoryPropertyModel
setCategoryPropertyId
in interface AssetCategoryPropertyModel
categoryPropertyId
- the category property ID of this asset category property@JSON public long getCompanyId()
AssetCategoryPropertyModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface AssetCategoryPropertyModel
public void setCompanyId(long companyId)
AssetCategoryPropertyModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface AssetCategoryPropertyModel
companyId
- the company ID of this asset category propertypublic long getOriginalCompanyId()
@JSON public long getUserId()
AssetCategoryPropertyModel
getUserId
in interface AuditedModel
getUserId
in interface AssetCategoryPropertyModel
public void setUserId(long userId)
AssetCategoryPropertyModel
setUserId
in interface AuditedModel
setUserId
in interface AssetCategoryPropertyModel
userId
- the user ID of this asset category propertypublic String getUserUuid() throws SystemException
AssetCategoryPropertyModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface AssetCategoryPropertyModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AssetCategoryPropertyModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface AssetCategoryPropertyModel
userUuid
- the user uuid of this asset category property@JSON public String getUserName()
AssetCategoryPropertyModel
getUserName
in interface AuditedModel
getUserName
in interface AssetCategoryPropertyModel
public void setUserName(String userName)
AssetCategoryPropertyModel
setUserName
in interface AuditedModel
setUserName
in interface AssetCategoryPropertyModel
userName
- the user name of this asset category property@JSON public Date getCreateDate()
AssetCategoryPropertyModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface AssetCategoryPropertyModel
public void setCreateDate(Date createDate)
AssetCategoryPropertyModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface AssetCategoryPropertyModel
createDate
- the create date of this asset category property@JSON public Date getModifiedDate()
AssetCategoryPropertyModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface AssetCategoryPropertyModel
public void setModifiedDate(Date modifiedDate)
AssetCategoryPropertyModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface AssetCategoryPropertyModel
modifiedDate
- the modified date of this asset category property@JSON public long getCategoryId()
AssetCategoryPropertyModel
getCategoryId
in interface AssetCategoryPropertyModel
public void setCategoryId(long categoryId)
AssetCategoryPropertyModel
setCategoryId
in interface AssetCategoryPropertyModel
categoryId
- the category ID of this asset category propertypublic long getOriginalCategoryId()
@JSON public String getKey()
AssetCategoryPropertyModel
getKey
in interface AssetCategoryPropertyModel
public void setKey(String key)
AssetCategoryPropertyModel
setKey
in interface AssetCategoryPropertyModel
key
- the key of this asset category propertypublic String getOriginalKey()
@JSON public String getValue()
AssetCategoryPropertyModel
getValue
in interface AssetCategoryPropertyModel
public void setValue(String value)
AssetCategoryPropertyModel
setValue
in interface AssetCategoryPropertyModel
value
- the value of this asset category propertypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetCategoryProperty>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AssetCategoryPropertyModel
getExpandoBridge
in class BaseModelImpl<AssetCategoryProperty>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetCategoryProperty>
setExpandoBridgeAttributes
in interface AssetCategoryPropertyModel
setExpandoBridgeAttributes
in class BaseModelImpl<AssetCategoryProperty>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public AssetCategoryProperty toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetCategoryProperty>
toEscapedModel
in interface AssetCategoryPropertyModel
toEscapedModel
in class BaseModelImpl<AssetCategoryProperty>
AutoEscapeBeanHandler
public AssetCategoryProperty toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetCategoryProperty>
toUnescapedModel
in interface AssetCategoryPropertyModel
toUnescapedModel
in class BaseModelImpl<AssetCategoryProperty>
public Object clone()
BaseModel
clone
in interface BaseModel<AssetCategoryProperty>
clone
in interface AssetCategoryPropertyModel
clone
in class BaseModelImpl<AssetCategoryProperty>
public int compareTo(AssetCategoryProperty assetCategoryProperty)
compareTo
in interface AssetCategoryPropertyModel
compareTo
in interface Comparable<AssetCategoryProperty>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface AssetCategoryPropertyModel
hashCode
in class Object
public 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 AssetCategoryPropertyModel
toCacheModel
in class BaseModelImpl<AssetCategoryProperty>
public String toString()
toString
in interface AssetCategoryPropertyModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetCategoryProperty>
toXmlString
in interface AssetCategoryPropertyModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |