|
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.AssetTagStatsWrapper
public class AssetTagStatsWrapper
This class is a wrapper for AssetTagStats
.
AssetTagStats
,
Serialized FormConstructor Summary | |
---|---|
AssetTagStatsWrapper(AssetTagStats assetTagStats)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(AssetTagStats assetTagStats)
|
boolean |
equals(Object obj)
|
int |
getAssetCount()
Returns the asset count of this asset tag stats. |
String |
getClassName()
Returns the fully qualified class name of this asset tag stats. |
long |
getClassNameId()
Returns the class name ID of this asset tag stats. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this asset tag stats. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getTagId()
Returns the tag ID of this asset tag stats. |
long |
getTagStatsId()
Returns the tag stats ID of this asset tag stats. |
AssetTagStats |
getWrappedAssetTagStats()
Deprecated. Renamed to getWrappedModel() |
AssetTagStats |
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 stats. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this asset tag stats. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
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 stats. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setTagId(long tagId)
Sets the tag ID of this asset tag stats. |
void |
setTagStatsId(long tagStatsId)
Sets the tag stats ID of this asset tag stats. |
CacheModel<AssetTagStats> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
AssetTagStats |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
AssetTagStats |
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 AssetTagStatsWrapper(AssetTagStats assetTagStats)
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<AssetTagStats>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AssetTagStats>
public long getPrimaryKey()
getPrimaryKey
in interface AssetTagStatsModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AssetTagStatsModel
primaryKey
- the primary key of this asset tag statspublic long getTagStatsId()
getTagStatsId
in interface AssetTagStatsModel
public void setTagStatsId(long tagStatsId)
setTagStatsId
in interface AssetTagStatsModel
tagStatsId
- the tag stats ID of this asset tag statspublic long getTagId()
getTagId
in interface AssetTagStatsModel
public void setTagId(long tagId)
setTagId
in interface AssetTagStatsModel
tagId
- the tag ID of this asset tag statspublic String getClassName()
getClassName
in interface AssetTagStatsModel
public void setClassName(String className)
setClassName
in interface AssetTagStatsModel
public long getClassNameId()
getClassNameId
in interface AssetTagStatsModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AssetTagStatsModel
classNameId
- the class name ID of this asset tag statspublic int getAssetCount()
getAssetCount
in interface AssetTagStatsModel
public void setAssetCount(int assetCount)
setAssetCount
in interface AssetTagStatsModel
assetCount
- the asset count of this asset tag statspublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<AssetTagStats>
isNew
in interface AssetTagStatsModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<AssetTagStats>
setNew
in interface AssetTagStatsModel
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<AssetTagStats>
isCachedModel
in interface AssetTagStatsModel
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<AssetTagStats>
setCachedModel
in interface AssetTagStatsModel
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<AssetTagStats>
isEscapedModel
in interface AssetTagStatsModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetTagStats>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface AssetTagStatsModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<AssetTagStats>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface AssetTagStatsModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetTagStats>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface AssetTagStatsModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetTagStats>
setExpandoBridgeAttributes
in interface AssetTagStatsModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<AssetTagStats>
clone
in interface AssetTagStatsModel
clone
in class Object
public int compareTo(AssetTagStats assetTagStats)
compareTo
in interface AssetTagStatsModel
compareTo
in interface Comparable<AssetTagStats>
public int hashCode()
hashCode
in interface AssetTagStatsModel
hashCode
in class Object
public CacheModel<AssetTagStats> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<AssetTagStats>
toCacheModel
in interface AssetTagStatsModel
public AssetTagStats toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetTagStats>
toEscapedModel
in interface AssetTagStatsModel
AutoEscapeBeanHandler
public AssetTagStats toUnescapedModel()
toUnescapedModel
in interface BaseModel<AssetTagStats>
toUnescapedModel
in interface AssetTagStatsModel
public String toString()
toString
in interface AssetTagStatsModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<AssetTagStats>
toXmlString
in interface AssetTagStatsModel
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 AssetTagStats getWrappedAssetTagStats()
getWrappedModel()
public AssetTagStats getWrappedModel()
getWrappedModel
in interface ModelWrapper<AssetTagStats>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<AssetTagStats>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |