|
Liferay 6.0.5 | |||||||||
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)
|
long |
getCategoryId()
Gets the category id of this asset category property. |
long |
getCategoryPropertyId()
Gets the category property id of this asset category property. |
long |
getCompanyId()
Gets the company id of this asset category property. |
Date |
getCreateDate()
Gets the create date of this asset category property. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getKey()
Gets the key of this asset category property. |
Date |
getModifiedDate()
Gets the modified date of this asset category property. |
long |
getPrimaryKey()
Gets the primary key of this asset category property. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this asset category property. |
String |
getUserName()
Gets the user name of this asset category property. |
String |
getUserUuid()
Gets the user uuid of this asset category property. |
String |
getValue()
Gets the value of this asset category property. |
AssetCategoryProperty |
getWrappedAssetCategoryProperty()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
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 pk)
Sets the primary key of this asset category property |
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. |
AssetCategoryProperty |
toEscapedModel()
Gets a copy of this asset category property as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssetCategoryPropertyWrapper(AssetCategoryProperty assetCategoryProperty)
Method Detail |
---|
public long getPrimaryKey()
AssetCategoryPropertyModel
getPrimaryKey
in interface AssetCategoryPropertyModel
public void setPrimaryKey(long pk)
AssetCategoryPropertyModel
setPrimaryKey
in interface AssetCategoryPropertyModel
pk
- the primary key of this asset category propertypublic 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 propertypublic long getCompanyId()
AssetCategoryPropertyModel
getCompanyId
in interface AssetCategoryPropertyModel
public void setCompanyId(long companyId)
AssetCategoryPropertyModel
setCompanyId
in interface AssetCategoryPropertyModel
companyId
- the company id of this asset category propertypublic long getUserId()
AssetCategoryPropertyModel
getUserId
in interface AssetCategoryPropertyModel
public void setUserId(long userId)
AssetCategoryPropertyModel
setUserId
in interface AssetCategoryPropertyModel
userId
- the user id of this asset category propertypublic String getUserUuid() throws SystemException
AssetCategoryPropertyModel
getUserUuid
in interface AssetCategoryPropertyModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AssetCategoryPropertyModel
setUserUuid
in interface AssetCategoryPropertyModel
userUuid
- the user uuid of this asset category propertypublic String getUserName()
AssetCategoryPropertyModel
getUserName
in interface AssetCategoryPropertyModel
public void setUserName(String userName)
AssetCategoryPropertyModel
setUserName
in interface AssetCategoryPropertyModel
userName
- the user name of this asset category propertypublic Date getCreateDate()
AssetCategoryPropertyModel
getCreateDate
in interface AssetCategoryPropertyModel
public void setCreateDate(Date createDate)
AssetCategoryPropertyModel
setCreateDate
in interface AssetCategoryPropertyModel
createDate
- the create date of this asset category propertypublic Date getModifiedDate()
AssetCategoryPropertyModel
getModifiedDate
in interface AssetCategoryPropertyModel
public void setModifiedDate(Date modifiedDate)
AssetCategoryPropertyModel
setModifiedDate
in interface AssetCategoryPropertyModel
modifiedDate
- the modified date of this asset category propertypublic 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 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 getValue()
AssetCategoryPropertyModel
getValue
in interface AssetCategoryPropertyModel
public void setValue(String value)
AssetCategoryPropertyModel
setValue
in interface AssetCategoryPropertyModel
value
- the value of this asset category propertypublic AssetCategoryProperty toEscapedModel()
AssetCategoryPropertyModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface AssetCategoryPropertyModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
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
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
isEscapedModel
in interface BaseModel<AssetCategoryProperty>
isEscapedModel
in interface AssetCategoryPropertyModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<AssetCategoryProperty>
setEscapedModel
in interface AssetCategoryPropertyModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetCategoryProperty>
getPrimaryKeyObj
in interface AssetCategoryPropertyModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetCategoryProperty>
getExpandoBridge
in interface AssetCategoryPropertyModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetCategoryProperty>
setExpandoBridgeAttributes
in interface AssetCategoryPropertyModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 String toString()
toString
in interface AssetCategoryPropertyModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetCategoryProperty>
toXmlString
in interface AssetCategoryPropertyModel
public AssetCategoryProperty getWrappedAssetCategoryProperty()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |