|
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.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)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Returns the company ID of this asset tag property. |
Date |
getCreateDate()
Returns the create date of this asset tag property. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getKey()
Returns the key of this asset tag property. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this asset tag property. |
long |
getPrimaryKey()
Returns the primary key of this asset tag property. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTagId()
Returns the tag ID of this asset tag property. |
long |
getTagPropertyId()
Returns the tag property ID of this asset tag property. |
long |
getUserId()
Returns the user ID of this asset tag property. |
String |
getUserName()
Returns the user name of this asset tag property. |
String |
getUserUuid()
Returns the user uuid of this asset tag property. |
String |
getValue()
Returns the value of this asset tag property. |
AssetTagProperty |
getWrappedAssetTagProperty()
Deprecated. Renamed to getWrappedModel() |
AssetTagProperty |
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 |
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 |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 primaryKey)
Sets the primary key of this asset tag property. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
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. |
CacheModel<AssetTagProperty> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AssetTagProperty |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
AssetTagProperty |
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 AssetTagPropertyWrapper(AssetTagProperty assetTagProperty)
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<AssetTagProperty>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AssetTagProperty>
public long getPrimaryKey()
getPrimaryKey
in interface AssetTagPropertyModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AssetTagPropertyModel
primaryKey
- the primary key of this asset tag propertypublic long getTagPropertyId()
getTagPropertyId
in interface AssetTagPropertyModel
public void setTagPropertyId(long tagPropertyId)
setTagPropertyId
in interface AssetTagPropertyModel
tagPropertyId
- the tag property ID of this asset tag propertypublic long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface AssetTagPropertyModel
public void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface AssetTagPropertyModel
companyId
- the company ID of this asset tag propertypublic long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface AssetTagPropertyModel
public void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface AssetTagPropertyModel
userId
- the user ID of this asset tag propertypublic String getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
getUserUuid
in interface AssetTagPropertyModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface AssetTagPropertyModel
userUuid
- the user uuid of this asset tag propertypublic String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface AssetTagPropertyModel
public void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface AssetTagPropertyModel
userName
- the user name of this asset tag propertypublic Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface AssetTagPropertyModel
public void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface AssetTagPropertyModel
createDate
- the create date of this asset tag propertypublic Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface AssetTagPropertyModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface AssetTagPropertyModel
modifiedDate
- the modified date of this asset tag propertypublic long getTagId()
getTagId
in interface AssetTagPropertyModel
public void setTagId(long tagId)
setTagId
in interface AssetTagPropertyModel
tagId
- the tag ID of this asset tag propertypublic String getKey()
getKey
in interface AssetTagPropertyModel
public void setKey(String key)
setKey
in interface AssetTagPropertyModel
key
- the key of this asset tag propertypublic String getValue()
getValue
in interface AssetTagPropertyModel
public void setValue(String value)
setValue
in interface AssetTagPropertyModel
value
- the value of this asset tag propertypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<AssetTagProperty>
isEscapedModel
in interface AssetTagPropertyModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetTagProperty>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AssetTagPropertyModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AssetTagProperty>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AssetTagPropertyModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetTagProperty>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AssetTagPropertyModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetTagProperty>
setExpandoBridgeAttributes
in interface AssetTagPropertyModel
serviceContext
- the service contextServiceContext.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 CacheModel<AssetTagProperty> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AssetTagProperty>
toCacheModel
in interface AssetTagPropertyModel
public AssetTagProperty toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetTagProperty>
toEscapedModel
in interface AssetTagPropertyModel
AutoEscapeBeanHandler
public AssetTagProperty toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetTagProperty>
toUnescapedModel
in interface AssetTagPropertyModel
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 void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public AssetTagProperty getWrappedAssetTagProperty()
getWrappedModel()
public AssetTagProperty getWrappedModel()
getWrappedModel
in interface ModelWrapper<AssetTagProperty>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AssetTagProperty>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |