Class SocialActivityCounterModelImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
com.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivityCounter>
,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.social.kernel.model.SocialActivityCounterModel
,Serializable
,Cloneable
,Comparable<com.liferay.social.kernel.model.SocialActivityCounter>
- Direct Known Subclasses:
SocialActivityCounterBaseImpl
public class SocialActivityCounterModelImpl
extends com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
implements com.liferay.social.kernel.model.SocialActivityCounterModel
The base model implementation for the SocialActivityCounter service. Represents a row in the "SocialActivityCounter" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface SocialActivityCounterModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialActivityCounterImpl
.
- 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 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 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 boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementstatic final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final long
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
static final String
static final String
static final long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(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.social.kernel.model.SocialActivityCounter
int
compareTo
(com.liferay.social.kernel.model.SocialActivityCounter socialActivityCounter) boolean
boolean
long
Map<String,
BiConsumer<com.liferay.social.kernel.model.SocialActivityCounter, Object>> long
long
long
static long
getColumnBitmask
(String columnName) <T> T
getColumnOriginalValue
(String columnName) <T> T
getColumnValue
(String columnName) long
long
int
int
com.liferay.expando.kernel.model.ExpandoBridge
int
long
Class<?>
long
getName()
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
int
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
long
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
int
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
int
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
int
long
int
int
int
hashCode()
boolean
isActive()
boolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementboolean
Deprecated.As of Athanasius (7.3.x), with no direct replacementvoid
void
setActive
(boolean active) void
setActivityCounterId
(long activityCounterId) void
setClassName
(String className) void
setClassNameId
(long classNameId) void
setClassPK
(long classPK) void
setCompanyId
(long companyId) void
setCtCollectionId
(long ctCollectionId) void
setCurrentValue
(int currentValue) void
setEndPeriod
(int endPeriod) void
setExpandoBridgeAttributes
(com.liferay.portal.kernel.service.ServiceContext serviceContext) void
setGraceValue
(int graceValue) void
setGroupId
(long groupId) void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) void
void
setOwnerType
(int ownerType) void
setPrimaryKey
(long primaryKey) void
setPrimaryKeyObj
(Serializable primaryKeyObj) void
setStartPeriod
(int startPeriod) void
setTotalValue
(int totalValue) com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialActivityCounter>
com.liferay.social.kernel.model.SocialActivityCounter
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.social.kernel.model.SocialActivityCounterModel
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:
-
ENDPERIOD_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
GROUPID_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
NAME_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
OWNERTYPE_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
STARTPERIOD_COLUMN_BITMASK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnBitmask(String)
- See Also:
-
ACTIVITYCOUNTERID_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
-
SocialActivityCounterModelImpl
public SocialActivityCounterModelImpl()
-
-
Method Details
-
getPrimaryKey
public long getPrimaryKey()- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Specified by:
getPrimaryKey
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) - Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Specified by:
setPrimaryKey
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getPrimaryKeyObj
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Specified by:
getPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.ClassedModel
-
setPrimaryKeyObj
- Specified by:
setPrimaryKeyObj
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
- 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.social.kernel.model.SocialActivityCounter>
- Overrides:
getModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Overrides:
setModelAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
-
getAttributeGetterFunctions
public Map<String,Function<com.liferay.social.kernel.model.SocialActivityCounter, getAttributeGetterFunctions()Object>> - Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
-
getAttributeSetterBiConsumers
public Map<String,BiConsumer<com.liferay.social.kernel.model.SocialActivityCounter, getAttributeSetterBiConsumers()Object>> - Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
-
getMvccVersion
public long getMvccVersion()- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
getMvccVersion
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) - Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Specified by:
setMvccVersion
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getCtCollectionId
public long getCtCollectionId()- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Specified by:
getCtCollectionId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) - Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Specified by:
setCtCollectionId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getActivityCounterId
public long getActivityCounterId()- Specified by:
getActivityCounterId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setActivityCounterId
public void setActivityCounterId(long activityCounterId) - Specified by:
setActivityCounterId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getGroupId
public long getGroupId()- Specified by:
getGroupId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setGroupId
public void setGroupId(long groupId) - Specified by:
setGroupId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getOriginalGroupId
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getCompanyId
public long getCompanyId()- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setCompanyId
public void setCompanyId(long companyId) - Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getClassName
- Specified by:
getClassName
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
- Specified by:
getClassName
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassName
- Specified by:
setClassName
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getClassNameId
public long getClassNameId()- Specified by:
getClassNameId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
- Specified by:
getClassNameId
in interfacecom.liferay.portal.kernel.model.TypedModel
-
setClassNameId
public void setClassNameId(long classNameId) - Specified by:
setClassNameId
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
- 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.social.kernel.model.SocialActivityCounterModel
-
setClassPK
public void setClassPK(long classPK) - Specified by:
setClassPK
in interfacecom.liferay.portal.kernel.model.AttachedModel
- Specified by:
setClassPK
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getOriginalClassPK
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getName
- Specified by:
getName
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setName
- Specified by:
setName
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getOriginalName
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getOwnerType
public int getOwnerType()- Specified by:
getOwnerType
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setOwnerType
public void setOwnerType(int ownerType) - Specified by:
setOwnerType
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getOriginalOwnerType
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getCurrentValue
public int getCurrentValue()- Specified by:
getCurrentValue
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setCurrentValue
public void setCurrentValue(int currentValue) - Specified by:
setCurrentValue
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getTotalValue
public int getTotalValue()- Specified by:
getTotalValue
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setTotalValue
public void setTotalValue(int totalValue) - Specified by:
setTotalValue
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getGraceValue
public int getGraceValue()- Specified by:
getGraceValue
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setGraceValue
public void setGraceValue(int graceValue) - Specified by:
setGraceValue
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getStartPeriod
public int getStartPeriod()- Specified by:
getStartPeriod
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setStartPeriod
public void setStartPeriod(int startPeriod) - Specified by:
setStartPeriod
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getOriginalStartPeriod
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getEndPeriod
public int getEndPeriod()- Specified by:
getEndPeriod
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setEndPeriod
public void setEndPeriod(int endPeriod) - Specified by:
setEndPeriod
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
getOriginalEndPeriod
Deprecated.As of Athanasius (7.3.x), replaced bygetColumnOriginalValue(String)
-
getActive
public boolean getActive()- Specified by:
getActive
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
isActive
public boolean isActive()- Specified by:
isActive
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
setActive
public void setActive(boolean active) - Specified by:
setActive
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
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.social.kernel.model.SocialActivityCounter>
- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.ClassedModel
- Overrides:
getExpandoBridge
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
-
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
setExpandoBridgeAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Overrides:
setExpandoBridgeAttributes
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
-
toEscapedModel
public com.liferay.social.kernel.model.SocialActivityCounter toEscapedModel()- Specified by:
toEscapedModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Overrides:
toEscapedModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
-
clone
- Specified by:
clone
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Specified by:
clone
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
-
cloneWithOriginalValues
public com.liferay.social.kernel.model.SocialActivityCounter cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.social.kernel.model.SocialActivityCounterModel
-
compareTo
public int compareTo(com.liferay.social.kernel.model.SocialActivityCounter socialActivityCounter) - Specified by:
compareTo
in interfaceComparable<com.liferay.social.kernel.model.SocialActivityCounter>
-
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.social.kernel.model.SocialActivityCounter>
-
isFinderCacheEnabled
Deprecated.As of Athanasius (7.3.x), with no direct replacement- Specified by:
isFinderCacheEnabled
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
-
resetOriginalValues
public void resetOriginalValues()- Specified by:
resetOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Overrides:
resetOriginalValues
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
-
toCacheModel
public com.liferay.portal.kernel.model.CacheModel<com.liferay.social.kernel.model.SocialActivityCounter> toCacheModel()- Specified by:
toCacheModel
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.social.kernel.model.SocialActivityCounter>
- Overrides:
toCacheModel
in classcom.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.social.kernel.model.SocialActivityCounter>
-
toString
-
getColumnValue
-
getColumnOriginalValue
-
getColumnBitmask
-
getColumnBitmask(String)