@ProviderType
public class RatingsStatsModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.ratings.model.RatingsStats>
implements com.liferay.portlet.ratings.model.RatingsStatsModel
This implementation and its corresponding interface RatingsStatsModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in RatingsStatsImpl.
RatingsStatsImpl,
RatingsStats,
RatingsStatsModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK |
static long |
CLASSPK_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static long |
STATSID_COLUMN_BITMASK |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
| Constructor and Description |
|---|
RatingsStatsModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portlet.ratings.model.RatingsStats ratingsStats) |
boolean |
equals(java.lang.Object obj) |
double |
getAverageScore() |
java.lang.String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getStatsId() |
int |
getTotalEntries() |
double |
getTotalScore() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setAverageScore(double averageScore) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setStatsId(long statsId) |
void |
setTotalEntries(int totalEntries) |
void |
setTotalScore(double totalScore) |
com.liferay.portal.model.CacheModel<com.liferay.portlet.ratings.model.RatingsStats> |
toCacheModel() |
com.liferay.portlet.ratings.model.RatingsStats |
toEscapedModel() |
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long STATSID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.ratings.model.RatingsStats>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.ratings.model.RatingsStats>public long getStatsId()
getStatsId in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic void setStatsId(long statsId)
setStatsId in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic java.lang.String getClassName()
getClassName in interface com.liferay.portal.model.TypedModelgetClassName in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic void setClassName(java.lang.String className)
setClassName in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic long getClassNameId()
getClassNameId in interface com.liferay.portal.model.TypedModelgetClassNameId in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic void setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.model.TypedModelsetClassNameId in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic long getOriginalClassNameId()
public long getClassPK()
getClassPK in interface com.liferay.portal.model.AttachedModelgetClassPK in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic void setClassPK(long classPK)
setClassPK in interface com.liferay.portal.model.AttachedModelsetClassPK in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic long getOriginalClassPK()
public int getTotalEntries()
getTotalEntries in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic void setTotalEntries(int totalEntries)
setTotalEntries in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic double getTotalScore()
getTotalScore in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic void setTotalScore(double totalScore)
setTotalScore in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic double getAverageScore()
getAverageScore in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic void setAverageScore(double averageScore)
setAverageScore in interface com.liferay.portlet.ratings.model.RatingsStatsModelpublic long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portlet.ratings.model.RatingsStatsModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.ratings.model.RatingsStats>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>setExpandoBridgeAttributes in interface com.liferay.portlet.ratings.model.RatingsStatsModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.ratings.model.RatingsStats>public com.liferay.portlet.ratings.model.RatingsStats toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>toEscapedModel in interface com.liferay.portlet.ratings.model.RatingsStatsModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.ratings.model.RatingsStats>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>clone in interface com.liferay.portlet.ratings.model.RatingsStatsModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.ratings.model.RatingsStats>public int compareTo(com.liferay.portlet.ratings.model.RatingsStats ratingsStats)
compareTo in interface com.liferay.portlet.ratings.model.RatingsStatsModelcompareTo in interface java.lang.Comparable<com.liferay.portlet.ratings.model.RatingsStats>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portlet.ratings.model.RatingsStatsModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.ratings.model.RatingsStats>public com.liferay.portal.model.CacheModel<com.liferay.portlet.ratings.model.RatingsStats> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>toCacheModel in interface com.liferay.portlet.ratings.model.RatingsStatsModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.ratings.model.RatingsStats>public java.lang.String toString()
toString in interface com.liferay.portlet.ratings.model.RatingsStatsModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.ratings.model.RatingsStats>toXmlString in interface com.liferay.portlet.ratings.model.RatingsStatsModel