Package com.liferay.social.kernel.model
Interface SocialActivityCounterModel
- All Superinterfaces:
AttachedModel
,BaseModel<SocialActivityCounter>
,ClassedModel
,Cloneable
,Comparable<SocialActivityCounter>
,CTModel<SocialActivityCounter>
,MVCCModel
,Serializable
,ShardedModel
,TypedModel
- All Known Subinterfaces:
SocialActivityCounter
- All Known Implementing Classes:
SocialActivityCounterWrapper
@ProviderType
public interface SocialActivityCounterModel
extends AttachedModel, BaseModel<SocialActivityCounter>, CTModel<SocialActivityCounter>, MVCCModel, ShardedModel
The base model interface for the SocialActivityCounter service. Represents a row in the "SocialActivityCounter" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.social.model.impl.SocialActivityCounterImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the active of this social activity counter.long
Returns the activity counter ID of this social activity counter.Returns the fully qualified class name of this social activity counter.long
Returns the class name ID of this social activity counter.long
Returns the class pk of this social activity counter.long
Returns the company ID of this social activity counter.long
Returns the ct collection ID of this social activity counter.int
Returns the current value of this social activity counter.int
Returns the end period of this social activity counter.int
Returns the grace value of this social activity counter.long
Returns the group ID of this social activity counter.long
Returns the mvcc version of this social activity counter.getName()
Returns the name of this social activity counter.int
Returns the owner type of this social activity counter.long
Returns the primary key of this social activity counter.int
Returns the start period of this social activity counter.int
Returns the total value of this social activity counter.boolean
isActive()
Returnstrue
if this social activity counter is active.void
setActive
(boolean active) Sets whether this social activity counter is active.void
setActivityCounterId
(long activityCounterId) Sets the activity counter ID of this social activity counter.void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this social activity counter.void
setClassPK
(long classPK) Sets the class pk of this social activity counter.void
setCompanyId
(long companyId) Sets the company ID of this social activity counter.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this social activity counter.void
setCurrentValue
(int currentValue) Sets the current value of this social activity counter.void
setEndPeriod
(int endPeriod) Sets the end period of this social activity counter.void
setGraceValue
(int graceValue) Sets the grace value of this social activity counter.void
setGroupId
(long groupId) Sets the group ID of this social activity counter.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this social activity counter.void
Sets the name of this social activity counter.void
setOwnerType
(int ownerType) Sets the owner type of this social activity counter.void
setPrimaryKey
(long primaryKey) Sets the primary key of this social activity counter.void
setStartPeriod
(int startPeriod) Sets the start period of this social activity counter.void
setTotalValue
(int totalValue) Sets the total value of this social activity counter.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this social activity counter.- Specified by:
getPrimaryKey
in interfaceCTModel<SocialActivityCounter>
- Returns:
- the primary key of this social activity counter
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this social activity counter.- Specified by:
setPrimaryKey
in interfaceCTModel<SocialActivityCounter>
- Parameters:
primaryKey
- the primary key of this social activity counter
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this social activity counter.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this social activity counter
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this social activity counter.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this social activity counter
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this social activity counter.- Specified by:
getCtCollectionId
in interfaceCTModel<SocialActivityCounter>
- Returns:
- the ct collection ID of this social activity counter
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity counter.- Specified by:
setCtCollectionId
in interfaceCTModel<SocialActivityCounter>
- Parameters:
ctCollectionId
- the ct collection ID of this social activity counter
-
getActivityCounterId
long getActivityCounterId()Returns the activity counter ID of this social activity counter.- Returns:
- the activity counter ID of this social activity counter
-
setActivityCounterId
void setActivityCounterId(long activityCounterId) Sets the activity counter ID of this social activity counter.- Parameters:
activityCounterId
- the activity counter ID of this social activity counter
-
getGroupId
long getGroupId()Returns the group ID of this social activity counter.- Returns:
- the group ID of this social activity counter
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this social activity counter.- Parameters:
groupId
- the group ID of this social activity counter
-
getCompanyId
long getCompanyId()Returns the company ID of this social activity counter.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this social activity counter
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this social activity counter.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this social activity counter
-
getClassName
String getClassName()Returns the fully qualified class name of this social activity counter.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this social activity counter
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this social activity counter.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this social activity counter
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this social activity counter.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this social activity counter
-
getClassPK
long getClassPK()Returns the class pk of this social activity counter.- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this social activity counter
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this social activity counter.- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this social activity counter
-
getName
Returns the name of this social activity counter.- Returns:
- the name of this social activity counter
-
setName
Sets the name of this social activity counter.- Parameters:
name
- the name of this social activity counter
-
getOwnerType
int getOwnerType()Returns the owner type of this social activity counter.- Returns:
- the owner type of this social activity counter
-
setOwnerType
void setOwnerType(int ownerType) Sets the owner type of this social activity counter.- Parameters:
ownerType
- the owner type of this social activity counter
-
getCurrentValue
int getCurrentValue()Returns the current value of this social activity counter.- Returns:
- the current value of this social activity counter
-
setCurrentValue
void setCurrentValue(int currentValue) Sets the current value of this social activity counter.- Parameters:
currentValue
- the current value of this social activity counter
-
getTotalValue
int getTotalValue()Returns the total value of this social activity counter.- Returns:
- the total value of this social activity counter
-
setTotalValue
void setTotalValue(int totalValue) Sets the total value of this social activity counter.- Parameters:
totalValue
- the total value of this social activity counter
-
getGraceValue
int getGraceValue()Returns the grace value of this social activity counter.- Returns:
- the grace value of this social activity counter
-
setGraceValue
void setGraceValue(int graceValue) Sets the grace value of this social activity counter.- Parameters:
graceValue
- the grace value of this social activity counter
-
getStartPeriod
int getStartPeriod()Returns the start period of this social activity counter.- Returns:
- the start period of this social activity counter
-
setStartPeriod
void setStartPeriod(int startPeriod) Sets the start period of this social activity counter.- Parameters:
startPeriod
- the start period of this social activity counter
-
getEndPeriod
int getEndPeriod()Returns the end period of this social activity counter.- Returns:
- the end period of this social activity counter
-
setEndPeriod
void setEndPeriod(int endPeriod) Sets the end period of this social activity counter.- Parameters:
endPeriod
- the end period of this social activity counter
-
getActive
boolean getActive()Returns the active of this social activity counter.- Returns:
- the active of this social activity counter
-
isActive
boolean isActive()Returnstrue
if this social activity counter is active.- Returns:
true
if this social activity counter is active;false
otherwise
-
setActive
void setActive(boolean active) Sets whether this social activity counter is active.- Parameters:
active
- the active of this social activity counter
-
cloneWithOriginalValues
SocialActivityCounter cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<SocialActivityCounter>
-
toXmlString
-