|
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.portlet.asset.model.AssetTagWrapper
public class AssetTagWrapper
This class is a wrapper for AssetTag
.
AssetTag
,
Serialized FormField Summary |
---|
Fields inherited from interface com.liferay.portlet.asset.model.AssetTag |
---|
NAME_ACCESSOR |
Constructor Summary | |
---|---|
AssetTagWrapper(AssetTag assetTag)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetTag assetTag)
|
boolean |
equals(Object obj)
|
int |
getAssetCount()
Returns the asset count of this asset tag. |
long |
getCompanyId()
Returns the company ID of this asset tag. |
Date |
getCreateDate()
Returns the create date of this asset tag. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this asset tag. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this asset tag. |
String |
getName()
Returns the name of this asset tag. |
long |
getPrimaryKey()
Returns the primary key of this asset tag. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTagId()
Returns the tag ID of this asset tag. |
long |
getUserId()
Returns the user ID of this asset tag. |
String |
getUserName()
Returns the user name of this asset tag. |
String |
getUserUuid()
Returns the user uuid of this asset tag. |
AssetTag |
getWrappedAssetTag()
Deprecated. Renamed to getWrappedModel() |
AssetTag |
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 |
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 |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 primaryKey)
Sets the primary key of this asset tag. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<AssetTag> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AssetTag |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
AssetTag |
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 AssetTagWrapper(AssetTag assetTag)
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<AssetTag>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AssetTag>
public long getPrimaryKey()
getPrimaryKey
in interface AssetTagModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AssetTagModel
primaryKey
- the primary key of this asset tagpublic long getTagId()
getTagId
in interface AssetTagModel
public void setTagId(long tagId)
setTagId
in interface AssetTagModel
tagId
- the tag ID of this asset tagpublic long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface AssetTagModel
public void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface AssetTagModel
groupId
- the group ID of this asset tagpublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface AssetTagModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface AssetTagModel
companyId
- the company ID of this asset tagpublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface AssetTagModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface AssetTagModel
userId
- the user ID of this asset tagpublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface AssetTagModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface AssetTagModel
userUuid
- the user uuid of this asset tagpublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface AssetTagModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface AssetTagModel
userName
- the user name of this asset tagpublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface AssetTagModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface AssetTagModel
createDate
- the create date of this asset tagpublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface AssetTagModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface AssetTagModel
modifiedDate
- the modified date of this asset tagpublic String getName()
getName
in interface AssetTagModel
public void setName(String name)
setName
in interface AssetTagModel
name
- the name of this asset tagpublic int getAssetCount()
getAssetCount
in interface AssetTagModel
public void setAssetCount(int assetCount)
setAssetCount
in interface AssetTagModel
assetCount
- the asset count of this asset tagpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<AssetTag>
isEscapedModel
in interface AssetTagModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetTag>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AssetTagModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AssetTag>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AssetTagModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetTag>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AssetTagModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetTag>
setExpandoBridgeAttributes
in interface AssetTagModel
serviceContext
- the service contextServiceContext.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 CacheModel<AssetTag> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AssetTag>
toCacheModel
in interface AssetTagModel
public AssetTag toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetTag>
toEscapedModel
in interface AssetTagModel
AutoEscapeBeanHandler
public AssetTag toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetTag>
toUnescapedModel
in interface AssetTagModel
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 void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public AssetTag getWrappedAssetTag()
getWrappedModel()
public AssetTag getWrappedModel()
getWrappedModel
in interface ModelWrapper<AssetTag>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AssetTag>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |