|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.ratings.model.RatingsStatsWrapper
@ProviderType public class RatingsStatsWrapper
This class is a wrapper for RatingsStats.
RatingsStats,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.ratings.model.RatingsStats |
|---|
STATS_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
RatingsStatsWrapper(RatingsStats ratingsStats)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(RatingsStats ratingsStats)
|
boolean |
equals(Object obj)
|
double |
getAverageScore()
Returns the average score of this ratings stats. |
String |
getClassName()
Returns the fully qualified class name of this ratings stats. |
long |
getClassNameId()
Returns the class name ID of this ratings stats. |
long |
getClassPK()
Returns the class p k of this ratings stats. |
long |
getCompanyId()
Returns the company ID of this ratings 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 ratings stats. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getStatsId()
Returns the stats ID of this ratings stats. |
int |
getTotalEntries()
Returns the total entries of this ratings stats. |
double |
getTotalScore()
Returns the total score of this ratings stats. |
RatingsStats |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
setAverageScore(double averageScore)
Sets the average score of this ratings 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 ratings stats. |
void |
setClassPK(long classPK)
Sets the class p k of this ratings stats. |
void |
setCompanyId(long companyId)
Sets the company ID of this ratings stats. |
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
|
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 ratings stats. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStatsId(long statsId)
Sets the stats ID of this ratings stats. |
void |
setTotalEntries(int totalEntries)
Sets the total entries of this ratings stats. |
void |
setTotalScore(double totalScore)
Sets the total score of this ratings stats. |
CacheModel<RatingsStats> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
RatingsStats |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
RatingsStats |
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 RatingsStatsWrapper(RatingsStats ratingsStats)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<RatingsStats>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<RatingsStats>public Object clone()
BaseModel
clone in interface BaseModel<RatingsStats>clone in interface RatingsStatsModelclone in class Objectpublic int compareTo(RatingsStats ratingsStats)
compareTo in interface RatingsStatsModelcompareTo in interface Comparable<RatingsStats>public double getAverageScore()
getAverageScore in interface RatingsStatsModelpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface RatingsStatsModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface RatingsStatsModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface RatingsStatsModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface RatingsStatsModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<RatingsStats>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RatingsStatsModelpublic long getPrimaryKey()
getPrimaryKey in interface RatingsStatsModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<RatingsStats>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RatingsStatsModelpublic long getStatsId()
getStatsId in interface RatingsStatsModelpublic int getTotalEntries()
getTotalEntries in interface RatingsStatsModelpublic double getTotalScore()
getTotalScore in interface RatingsStatsModelpublic int hashCode()
hashCode in interface RatingsStatsModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<RatingsStats>isCachedModel in interface RatingsStatsModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<RatingsStats>isEscapedModel in interface RatingsStatsModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<RatingsStats>isNew in interface RatingsStatsModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setAverageScore(double averageScore)
setAverageScore in interface RatingsStatsModelaverageScore - the average score of this ratings statspublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<RatingsStats>setCachedModel in interface RatingsStatsModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface RatingsStatsModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface RatingsStatsModelclassNameId - the class name ID of this ratings statspublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface RatingsStatsModelclassPK - the class p k of this ratings statspublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface RatingsStatsModelcompanyId - the company ID of this ratings statspublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<RatingsStats>setExpandoBridgeAttributes in interface RatingsStatsModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<RatingsStats>setExpandoBridgeAttributes in interface RatingsStatsModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<RatingsStats>setExpandoBridgeAttributes in interface RatingsStatsModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setNew(boolean n)
BaseModel
setNew in interface BaseModel<RatingsStats>setNew in interface RatingsStatsModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RatingsStatsModelprimaryKey - the primary key of this ratings statspublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<RatingsStats>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RatingsStatsModelprimaryKeyObj - the primary key of this model instancepublic void setStatsId(long statsId)
setStatsId in interface RatingsStatsModelstatsId - the stats ID of this ratings statspublic void setTotalEntries(int totalEntries)
setTotalEntries in interface RatingsStatsModeltotalEntries - the total entries of this ratings statspublic void setTotalScore(double totalScore)
setTotalScore in interface RatingsStatsModeltotalScore - the total score of this ratings statspublic CacheModel<RatingsStats> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<RatingsStats>toCacheModel in interface RatingsStatsModelpublic RatingsStats toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<RatingsStats>toEscapedModel in interface RatingsStatsModelAutoEscapeBeanHandlerpublic String toString()
toString in interface RatingsStatsModeltoString in class Objectpublic RatingsStats toUnescapedModel()
toUnescapedModel in interface BaseModel<RatingsStats>toUnescapedModel in interface RatingsStatsModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<RatingsStats>toXmlString in interface RatingsStatsModelpublic boolean equals(Object obj)
equals in class Objectpublic RatingsStats getWrappedModel()
getWrappedModel in interface ModelWrapper<RatingsStats>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<RatingsStats>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<RatingsStats>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<RatingsStats>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||