|
Liferay 6.0-ee | |||||||||
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)
|
int |
getAssetCount()
Gets the asset count of this asset tag stats. |
String |
getClassName()
Gets the class name of the model instance this asset tag stats is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this asset tag stats. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getPrimaryKey()
Gets the primary key of this asset tag stats. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getTagId()
Gets the tag id of this asset tag stats. |
long |
getTagStatsId()
Gets the tag stats id of this asset tag stats. |
AssetTagStats |
getWrappedAssetTagStats()
|
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 stats. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setClassNameId(long classNameId)
Sets the class name id of this asset tag stats. |
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 |
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 stats |
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. |
AssetTagStats |
toEscapedModel()
Gets a copy of this entity 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 AssetTagStatsWrapper(AssetTagStats assetTagStats)
Method Detail |
---|
public long getPrimaryKey()
getPrimaryKey
in interface AssetTagStatsModel
public void setPrimaryKey(long pk)
setPrimaryKey
in interface AssetTagStatsModel
pk
- 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 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
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
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
isEscapedModel
in interface BaseModel<AssetTagStats>
isEscapedModel
in interface AssetTagStatsModel
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<AssetTagStats>
setEscapedModel
in interface AssetTagStatsModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<AssetTagStats>
getPrimaryKeyObj
in interface AssetTagStatsModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<AssetTagStats>
getExpandoBridge
in interface AssetTagStatsModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<AssetTagStats>
setExpandoBridgeAttributes
in interface AssetTagStatsModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.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 AssetTagStats toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<AssetTagStats>
toEscapedModel
in interface AssetTagStatsModel
AutoEscapeBeanHandler
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 AssetTagStats getWrappedAssetTagStats()
|
Liferay 6.0-ee | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |