public class RatingsStatsModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
implements com.liferay.ratings.kernel.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,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK |
static long |
CLASSPK_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static String |
SESSION_FACTORY |
static long |
STATSID_COLUMN_BITMASK |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
static String |
TABLE_SQL_CREATE |
static String |
TABLE_SQL_DROP |
static String |
TX_MANAGER |
| Constructor and Description |
|---|
RatingsStatsModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
compareTo(com.liferay.ratings.kernel.model.RatingsStats ratingsStats) |
boolean |
equals(Object obj) |
Map<String,Function<com.liferay.ratings.kernel.model.RatingsStats,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<com.liferay.ratings.kernel.model.RatingsStats,Object>> |
getAttributeSetterBiConsumers() |
double |
getAverageScore() |
String |
getClassName() |
long |
getClassNameId() |
long |
getClassPK() |
long |
getColumnBitmask() |
long |
getCompanyId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getOriginalClassNameId() |
long |
getOriginalClassPK() |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
long |
getStatsId() |
int |
getTotalEntries() |
double |
getTotalScore() |
int |
hashCode() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
void |
resetOriginalValues() |
void |
setAverageScore(double averageScore) |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(Serializable primaryKeyObj) |
void |
setStatsId(long statsId) |
void |
setTotalEntries(int totalEntries) |
void |
setTotalScore(double totalScore) |
com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats> |
toCacheModel() |
com.liferay.ratings.kernel.model.RatingsStats |
toEscapedModel() |
String |
toString() |
String |
toXmlString() |
public static final String TABLE_NAME
RatingsStats interface instead.public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final 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.ratings.kernel.model.RatingsStatsModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelpublic Class<?> getModelClass()
getModelClass in interface com.liferay.portal.kernel.model.ClassedModelpublic String getModelClassName()
getModelClassName in interface com.liferay.portal.kernel.model.ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>getModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>setModelAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>public Map<String,Function<com.liferay.ratings.kernel.model.RatingsStats,Object>> getAttributeGetterFunctions()
public Map<String,BiConsumer<com.liferay.ratings.kernel.model.RatingsStats,Object>> getAttributeSetterBiConsumers()
public long getStatsId()
getStatsId in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setStatsId(long statsId)
setStatsId in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic long getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic String getClassName()
getClassName in interface com.liferay.portal.kernel.model.TypedModelgetClassName in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setClassName(String className)
setClassName in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic long getClassNameId()
getClassNameId in interface com.liferay.portal.kernel.model.TypedModelgetClassNameId in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.kernel.model.TypedModelsetClassNameId in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic long getOriginalClassNameId()
public long getClassPK()
getClassPK in interface com.liferay.portal.kernel.model.AttachedModelgetClassPK in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setClassPK(long classPK)
setClassPK in interface com.liferay.portal.kernel.model.AttachedModelsetClassPK in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic long getOriginalClassPK()
public int getTotalEntries()
getTotalEntries in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setTotalEntries(int totalEntries)
setTotalEntries in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic double getTotalScore()
getTotalScore in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setTotalScore(double totalScore)
setTotalScore in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic double getAverageScore()
getAverageScore in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setAverageScore(double averageScore)
setAverageScore in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic long getColumnBitmask()
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>setExpandoBridgeAttributes in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>public com.liferay.ratings.kernel.model.RatingsStats toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>toEscapedModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>public Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>clone in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>public int compareTo(com.liferay.ratings.kernel.model.RatingsStats ratingsStats)
compareTo in interface Comparable<com.liferay.ratings.kernel.model.RatingsStats>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>resetOriginalValues in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>public com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>toCacheModel in class com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>public String toString()
toString in class Objectpublic String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>