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
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static long |
CLASSPK_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static boolean |
COLUMN_BITMASK_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static boolean |
FINDER_CACHE_ENABLED
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
static long |
LOCK_EXPIRATION_TIME |
static String |
ORDER_BY_JPQL |
static String |
ORDER_BY_SQL |
static String |
SESSION_FACTORY |
static long |
STATSID_COLUMN_BITMASK
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnBitmask(String) |
static Object[][] |
TABLE_COLUMNS |
static Map<String,Integer> |
TABLE_COLUMNS_MAP |
static String |
TABLE_NAME |
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() |
com.liferay.ratings.kernel.model.RatingsStats |
cloneWithOriginalValues() |
int |
compareTo(com.liferay.ratings.kernel.model.RatingsStats ratingsStats) |
boolean |
equals(Object object) |
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() |
static long |
getColumnBitmask(String columnName) |
<T> T |
getColumnOriginalValue(String columnName) |
<T> T |
getColumnValue(String columnName) |
long |
getCompanyId() |
Date |
getCreateDate() |
long |
getCtCollectionId() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
Date |
getModifiedDate() |
long |
getMvccVersion() |
long |
getOriginalClassNameId()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getOriginalClassPK()
Deprecated.
As of Athanasius (7.3.x), replaced by
getColumnOriginalValue(String) |
long |
getPrimaryKey() |
Serializable |
getPrimaryKeyObj() |
long |
getStatsId() |
int |
getTotalEntries() |
double |
getTotalScore() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isFinderCacheEnabled()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
void |
resetOriginalValues() |
void |
setAverageScore(double averageScore) |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId) |
void |
setClassPK(long classPK) |
void |
setCompanyId(long companyId) |
void |
setCreateDate(Date createDate) |
void |
setCtCollectionId(long ctCollectionId) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate) |
void |
setMvccVersion(long mvccVersion) |
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
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
@Deprecated public static final boolean ENTITY_CACHE_ENABLED
@Deprecated public static final boolean FINDER_CACHE_ENABLED
@Deprecated public static final boolean COLUMN_BITMASK_ENABLED
@Deprecated public static final long CLASSNAMEID_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long CLASSPK_COLUMN_BITMASK
getColumnBitmask(String)@Deprecated public static final long STATSID_COLUMN_BITMASK
getColumnBitmask(String)public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>getPrimaryKey in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>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()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>public Map<String,BiConsumer<com.liferay.ratings.kernel.model.RatingsStats,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>public long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelgetMvccVersion in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelsetMvccVersion in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic long getCtCollectionId()
getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>getCtCollectionId in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>setCtCollectionId in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic 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 Date getCreateDate()
getCreateDate in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic void setCreateDate(Date createDate)
setCreateDate in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic Date getModifiedDate()
getModifiedDate in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
setModifiedDate 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.RatingsStatsModel@Deprecated public long getOriginalClassNameId()
getColumnOriginalValue(String)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.RatingsStatsModel@Deprecated public long getOriginalClassPK()
getColumnOriginalValue(String)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 com.liferay.ratings.kernel.model.RatingsStats cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>cloneWithOriginalValues in interface com.liferay.ratings.kernel.model.RatingsStatsModelpublic int compareTo(com.liferay.ratings.kernel.model.RatingsStats ratingsStats)
compareTo in interface Comparable<com.liferay.ratings.kernel.model.RatingsStats>public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Object@Deprecated public boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>@Deprecated 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>public <T> T getColumnValue(String columnName)
public <T> T getColumnOriginalValue(String columnName)
public static long getColumnBitmask(String columnName)