Class RatingsStatsModelImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
com.liferay.portlet.ratings.model.impl.RatingsStatsModelImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.TypedModel
,com.liferay.ratings.kernel.model.RatingsStatsModel
,Serializable
,Cloneable
,Comparable<com.liferay.ratings.kernel.model.RatingsStats>
- Direct Known Subclasses:
RatingsStatsBaseImpl
public class RatingsStatsModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
implements com.liferay.ratings.kernel.model.RatingsStatsModel
The base model implementation for the RatingsStats service. Represents a row in the "RatingsStats" database table, with each column mapped to a property of this class.
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
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
Deprecated.static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final String
static final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
static final String
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final Object[][]
static final String
static final String
static final String
static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
com.liferay.ratings.kernel.model.RatingsStats
int
compareTo
(com.liferay.ratings.kernel.model.RatingsStats ratingsStats) boolean
Map<String,
BiConsumer<com.liferay.ratings.kernel.model.RatingsStats, Object>> double
long
long
long
static long
getColumnBitmask
(String columnName) <T> T
getColumnOriginalValue
(String columnName) <T> T
getColumnValue
(String columnName) long
long
com.liferay.expando.kernel.model.ExpandoBridge
Class<?>
long
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
long
int
double
int
hashCode()
boolean
boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementboolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementvoid
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>
com.liferay.ratings.kernel.model.RatingsStats
toString()
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from interface com.liferay.ratings.kernel.model.RatingsStatsModel
toXmlString
-
Field Details
-
TABLE_NAME
- See Also:
-
TABLE_COLUMNS
-
TABLE_COLUMNS_MAP
-
TABLE_SQL_CREATE
- See Also:
-
TABLE_SQL_DROP
- See Also:
-
ORDER_BY_JPQL
- See Also:
-
ORDER_BY_SQL
- See Also:
-
DATA_SOURCE
- See Also:
-
SESSION_FACTORY
- See Also:
-
TX_MANAGER
- See Also:
-
ENTITY_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
FINDER_CACHE_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
COLUMN_BITMASK_ENABLED
Deprecated.As of Athanasius (7.3.x), with no direct replacement- See Also:
-
CLASSNAMEID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
CLASSPK_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
STATSID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
LOCK_EXPIRATION_TIME
public static final long LOCK_EXPIRATION_TIME
-
-
Constructor Details
-
RatingsStatsModelImpl
public RatingsStatsModelImpl()
-
-
Method Details
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>
- Specified by:
getPrimaryKey
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>
- Specified by:
setPrimaryKey
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
setPrimaryKeyObj
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelClassName
- Specified by:
getModelClassName
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Overrides:
getModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Overrides:
setModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.ratings.kernel.model.RatingsStats, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.ratings.kernel.model.RatingsStats, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
-
getMvccVersion
public long getMvccVersion()- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getCtCollectionId
public long getCtCollectionId()- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>
- Specified by:
getCtCollectionId
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) - Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.ratings.kernel.model.RatingsStats>
- Specified by:
setCtCollectionId
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getStatsId
public long getStatsId()- Specified by:
getStatsId
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
setStatsId
public void setStatsId(long statsId) - Specified by:
setStatsId
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getCompanyId
public long getCompanyId()- Specified by:
getCompanyId
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
-
setCompanyId
public void setCompanyId(long companyId) - Specified by:
setCompanyId
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
-
getCreateDate
- Specified by:
getCreateDate
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
setCreateDate
- Specified by:
setCreateDate
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getModifiedDate
- Specified by:
getModifiedDate
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
hasSetModifiedDate
public boolean hasSetModifiedDate() -
setModifiedDate
- Specified by:
setModifiedDate
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getClassName
- Specified by:
getClassName
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassName
- Specified by:
setClassName
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getClassNameId
public long getClassNameId()- Specified by:
getClassNameId
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassNameId
public void setClassNameId(long classNameId) - Specified by:
setClassNameId
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
- Specified by:
setClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
getOriginalClassNameId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getClassPK
public long getClassPK()- Specified by:
getClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
getClassPK
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
setClassPK
public void setClassPK(long classPK) - Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getOriginalClassPK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getTotalEntries
public int getTotalEntries()- Specified by:
getTotalEntries
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
setTotalEntries
public void setTotalEntries(int totalEntries) - Specified by:
setTotalEntries
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getTotalScore
public double getTotalScore()- Specified by:
getTotalScore
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
setTotalScore
public void setTotalScore(double totalScore) - Specified by:
setTotalScore
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getAverageScore
public double getAverageScore()- Specified by:
getAverageScore
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
setAverageScore
public void setAverageScore(double averageScore) - Specified by:
setAverageScore
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
getColumnBitmask
public long getColumnBitmask() -
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.ClassedModel
- Overrides:
getExpandoBridge
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
-
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
setExpandoBridgeAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Overrides:
setExpandoBridgeAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
-
toEscapedModel
public com.liferay.ratings.kernel.model.RatingsStats toEscapedModel()- Specified by:
toEscapedModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Overrides:
toEscapedModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
-
clone
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Specified by:
clone
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
-
cloneWithOriginalValues
public com.liferay.ratings.kernel.model.RatingsStats cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.ratings.kernel.model.RatingsStatsModel
-
compareTo
public int compareTo(com.liferay.ratings.kernel.model.RatingsStats ratingsStats) - Specified by:
compareTo
in interfaceComparable<com.liferay.ratings.kernel.model.RatingsStats>
-
equals
-
hashCode
public int hashCode() -
isEntityCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isEntityCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
-
isFinderCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isFinderCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Overrides:
resetOriginalValues
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
-
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.ratings.kernel.model.RatingsStats> toCacheModel()- Specified by:
toCacheModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.ratings.kernel.model.RatingsStats>
- Overrides:
toCacheModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.ratings.kernel.model.RatingsStats>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-
getColumnBitmask(String)