|
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.AssetTagPropertyWrapper
public class AssetTagPropertyWrapper
This class is a wrapper for AssetTagProperty
.
AssetTagProperty
,
Serialized FormConstructor Summary | |
---|---|
AssetTagPropertyWrapper(AssetTagProperty assetTagProperty)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetTagProperty assetTagProperty)
|
long |
getCompanyId()
Gets the company id of this asset tag property. |
Date |
getCreateDate()
Gets the create date of this asset tag property. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
String |
getKey()
Gets the key of this asset tag property. |
Date |
getModifiedDate()
Gets the modified date of this asset tag property. |
long |
getPrimaryKey()
Gets the primary key of this asset tag property. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getTagId()
Gets the tag id of this asset tag property. |
long |
getTagPropertyId()
Gets the tag property id of this asset tag property. |
long |
getUserId()
Gets the user id of this asset tag property. |
String |
getUserName()
Gets the user name of this asset tag property. |
String |
getUserUuid()
Gets the user uuid of this asset tag property. |
String |
getValue()
Gets the value of this asset tag property. |
AssetTagProperty |
getWrappedAssetTagProperty()
|
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 |
setCompanyId(long companyId)
Sets the company id of this asset tag property. |
void |
setCreateDate(Date createDate)
Sets the create date of this asset tag 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 tag property. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this asset tag 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 tag property |
void |
setTagId(long tagId)
Sets the tag id of this asset tag property. |
void |
setTagPropertyId(long tagPropertyId)
Sets the tag property id of this asset tag property. |
void |
setUserId(long userId)
Sets the user id of this asset tag property. |
void |
setUserName(String userName)
Sets the user name of this asset tag property. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this asset tag property. |
void |
setValue(String value)
Sets the value of this asset tag property. |
AssetTagProperty |
toEscapedModel()
Gets a copy of this asset tag 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 AssetTagPropertyWrapper(AssetTagProperty assetTagProperty)
Method Detail |
---|
public long getPrimaryKey()
AssetTagPropertyModel
getPrimaryKey
in interface AssetTagPropertyModel
public void setPrimaryKey(long pk)
AssetTagPropertyModel
setPrimaryKey
in interface AssetTagPropertyModel
pk
- the primary key of this asset tag propertypublic long getTagPropertyId()
AssetTagPropertyModel
getTagPropertyId
in interface AssetTagPropertyModel
public void setTagPropertyId(long tagPropertyId)
AssetTagPropertyModel
setTagPropertyId
in interface AssetTagPropertyModel
tagPropertyId
- the tag property id of this asset tag propertypublic long getCompanyId()
AssetTagPropertyModel
getCompanyId
in interface AssetTagPropertyModel
public void setCompanyId(long companyId)
AssetTagPropertyModel
setCompanyId
in interface AssetTagPropertyModel
companyId
- the company id of this asset tag propertypublic long getUserId()
AssetTagPropertyModel
getUserId
in interface AssetTagPropertyModel
public void setUserId(long userId)
AssetTagPropertyModel
setUserId
in interface AssetTagPropertyModel
userId
- the user id of this asset tag propertypublic String getUserUuid() throws SystemException
AssetTagPropertyModel
getUserUuid
in interface AssetTagPropertyModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AssetTagPropertyModel
setUserUuid
in interface AssetTagPropertyModel
userUuid
- the user uuid of this asset tag propertypublic String getUserName()
AssetTagPropertyModel
getUserName
in interface AssetTagPropertyModel
public void setUserName(String userName)
AssetTagPropertyModel
setUserName
in interface AssetTagPropertyModel
userName
- the user name of this asset tag propertypublic Date getCreateDate()
AssetTagPropertyModel
getCreateDate
in interface AssetTagPropertyModel
public void setCreateDate(Date createDate)
AssetTagPropertyModel
setCreateDate
in interface AssetTagPropertyModel
createDate
- the create date of this asset tag propertypublic Date getModifiedDate()
AssetTagPropertyModel
getModifiedDate
in interface AssetTagPropertyModel
public void setModifiedDate(Date modifiedDate)
AssetTagPropertyModel
setModifiedDate
in interface AssetTagPropertyModel
modifiedDate
- the modified date of this asset tag propertypublic long getTagId()
AssetTagPropertyModel
getTagId
in interface AssetTagPropertyModel
public void setTagId(long tagId)
AssetTagPropertyModel
setTagId
in interface AssetTagPropertyModel
tagId
- the tag id of this asset tag propertypublic String getKey()
AssetTagPropertyModel
getKey
in interface AssetTagPropertyModel
public void setKey(String key)
AssetTagPropertyModel
setKey
in interface AssetTagPropertyModel
key
- the key of this asset tag propertypublic String getValue()
AssetTagPropertyModel
getValue
in interface AssetTagPropertyModel
public void setValue(String value)
AssetTagPropertyModel
setValue
in interface AssetTagPropertyModel
value
- the value of this asset tag propertypublic AssetTagProperty toEscapedModel()
AssetTagPropertyModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface AssetTagPropertyModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<AssetTagProperty>
isNew
in interface AssetTagPropertyModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<AssetTagProperty>
setNew
in interface AssetTagPropertyModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<AssetTagProperty>
isCachedModel
in interface AssetTagPropertyModel
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<AssetTagProperty>
setCachedModel
in interface AssetTagPropertyModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<AssetTagProperty>
isEscapedModel
in interface AssetTagPropertyModel
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<AssetTagProperty>
setEscapedModel
in interface AssetTagPropertyModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetTagProperty>
getPrimaryKeyObj
in interface AssetTagPropertyModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetTagProperty>
getExpandoBridge
in interface AssetTagPropertyModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetTagProperty>
setExpandoBridgeAttributes
in interface AssetTagPropertyModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<AssetTagProperty>
clone
in interface AssetTagPropertyModel
clone
in class Object
public int compareTo(AssetTagProperty assetTagProperty)
compareTo
in interface AssetTagPropertyModel
compareTo
in interface Comparable<AssetTagProperty>
public int hashCode()
hashCode
in interface AssetTagPropertyModel
hashCode
in class Object
public String toString()
toString
in interface AssetTagPropertyModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetTagProperty>
toXmlString
in interface AssetTagPropertyModel
public AssetTagProperty getWrappedAssetTagProperty()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |