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 FormModifier 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.RatingsStatsModel
public 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.RatingsStatsModel
public 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.ClassedModel
public 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.ClassedModel
public Class<?> getModelClass()
getModelClass
in interface com.liferay.portal.kernel.model.ClassedModel
public String getModelClassName()
getModelClassName
in interface com.liferay.portal.kernel.model.ClassedModel
public 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.MVCCModel
getMvccVersion
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
setMvccVersion
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public 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.RatingsStatsModel
public 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.RatingsStatsModel
public long getStatsId()
getStatsId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setStatsId(long statsId)
setStatsId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public long getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public Date getCreateDate()
getCreateDate
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setCreateDate(Date createDate)
setCreateDate
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public Date getModifiedDate()
getModifiedDate
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public boolean hasSetModifiedDate()
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public String getClassName()
getClassName
in interface com.liferay.portal.kernel.model.TypedModel
getClassName
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setClassName(String className)
setClassName
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public long getClassNameId()
getClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
getClassNameId
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setClassNameId(long classNameId)
setClassNameId
in interface com.liferay.portal.kernel.model.TypedModel
setClassNameId
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.AttachedModel
getClassPK
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setClassPK(long classPK)
setClassPK
in interface com.liferay.portal.kernel.model.AttachedModel
setClassPK
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.RatingsStatsModel
public void setTotalEntries(int totalEntries)
setTotalEntries
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public double getTotalScore()
getTotalScore
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setTotalScore(double totalScore)
setTotalScore
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public double getAverageScore()
getAverageScore
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public void setAverageScore(double averageScore)
setAverageScore
in interface com.liferay.ratings.kernel.model.RatingsStatsModel
public 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.ClassedModel
getExpandoBridge
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.RatingsStatsModel
public 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 Object
public 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 Object
public 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)