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