|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.asset.model.AssetCategoryPropertyWrapper
public class AssetCategoryPropertyWrapper
This class is a wrapper for AssetCategoryProperty
.
AssetCategoryProperty
,
Serialized FormConstructor Summary | |
---|---|
AssetCategoryPropertyWrapper(AssetCategoryProperty assetCategoryProperty)
|
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 |
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 |
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. |
AssetCategoryProperty |
getWrappedAssetCategoryProperty()
Deprecated. Renamed to getWrappedModel() |
AssetCategoryProperty |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 . |
String |
toString()
|
AssetCategoryProperty |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssetCategoryPropertyWrapper(AssetCategoryProperty assetCategoryProperty)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<AssetCategoryProperty>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AssetCategoryProperty>
public long getPrimaryKey()
getPrimaryKey
in interface AssetCategoryPropertyModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AssetCategoryPropertyModel
primaryKey
- the primary key of this asset category propertypublic long getCategoryPropertyId()
getCategoryPropertyId
in interface AssetCategoryPropertyModel
public void setCategoryPropertyId(long categoryPropertyId)
setCategoryPropertyId
in interface AssetCategoryPropertyModel
categoryPropertyId
- the category property ID of this asset category propertypublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface AssetCategoryPropertyModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface AssetCategoryPropertyModel
companyId
- the company ID of this asset category propertypublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface AssetCategoryPropertyModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface AssetCategoryPropertyModel
userId
- the user ID of this asset category propertypublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface AssetCategoryPropertyModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface AssetCategoryPropertyModel
userUuid
- the user uuid of this asset category propertypublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface AssetCategoryPropertyModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface AssetCategoryPropertyModel
userName
- the user name of this asset category propertypublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface AssetCategoryPropertyModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface AssetCategoryPropertyModel
createDate
- the create date of this asset category propertypublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface AssetCategoryPropertyModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface AssetCategoryPropertyModel
modifiedDate
- the modified date of this asset category propertypublic long getCategoryId()
getCategoryId
in interface AssetCategoryPropertyModel
public void setCategoryId(long categoryId)
setCategoryId
in interface AssetCategoryPropertyModel
categoryId
- the category ID of this asset category propertypublic String getKey()
getKey
in interface AssetCategoryPropertyModel
public void setKey(String key)
setKey
in interface AssetCategoryPropertyModel
key
- the key of this asset category propertypublic String getValue()
getValue
in interface AssetCategoryPropertyModel
public void setValue(String value)
setValue
in interface AssetCategoryPropertyModel
value
- the value of this asset category propertypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<AssetCategoryProperty>
isNew
in interface AssetCategoryPropertyModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<AssetCategoryProperty>
setNew
in interface AssetCategoryPropertyModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<AssetCategoryProperty>
isCachedModel
in interface AssetCategoryPropertyModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<AssetCategoryProperty>
setCachedModel
in interface AssetCategoryPropertyModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<AssetCategoryProperty>
isEscapedModel
in interface AssetCategoryPropertyModel
true
if this model instance is escaped;
false
otherwisepublic 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetCategoryProperty>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AssetCategoryPropertyModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetCategoryProperty>
setExpandoBridgeAttributes
in interface AssetCategoryPropertyModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<AssetCategoryProperty>
clone
in interface AssetCategoryPropertyModel
clone
in class Object
public int compareTo(AssetCategoryProperty assetCategoryProperty)
compareTo
in interface AssetCategoryPropertyModel
compareTo
in interface Comparable<AssetCategoryProperty>
public int hashCode()
hashCode
in interface AssetCategoryPropertyModel
hashCode
in class Object
public CacheModel<AssetCategoryProperty> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AssetCategoryProperty>
toCacheModel
in interface AssetCategoryPropertyModel
public AssetCategoryProperty toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetCategoryProperty>
toEscapedModel
in interface AssetCategoryPropertyModel
AutoEscapeBeanHandler
public AssetCategoryProperty toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetCategoryProperty>
toUnescapedModel
in interface AssetCategoryPropertyModel
public String toString()
toString
in interface AssetCategoryPropertyModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetCategoryProperty>
toXmlString
in interface AssetCategoryPropertyModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public AssetCategoryProperty getWrappedAssetCategoryProperty()
getWrappedModel()
public AssetCategoryProperty getWrappedModel()
getWrappedModel
in interface ModelWrapper<AssetCategoryProperty>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AssetCategoryProperty>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |