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 TypeMethodDescriptionbooleanReturns the active of this social activity counter.longReturns the activity counter ID of this social activity counter.Returns the fully qualified class name of this social activity counter.longReturns the class name ID of this social activity counter.longReturns the class pk of this social activity counter.longReturns the company ID of this social activity counter.longReturns the ct collection ID of this social activity counter.intReturns the current value of this social activity counter.intReturns the end period of this social activity counter.intReturns the grace value of this social activity counter.longReturns the group ID of this social activity counter.longReturns the mvcc version of this social activity counter.getName()Returns the name of this social activity counter.intReturns the owner type of this social activity counter.longReturns the primary key of this social activity counter.intReturns the start period of this social activity counter.intReturns the total value of this social activity counter.booleanisActive()Returnstrueif this social activity counter is active.voidsetActive(boolean active) Sets whether this social activity counter is active.voidsetActivityCounterId(long activityCounterId) Sets the activity counter ID of this social activity counter.voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this social activity counter.voidsetClassPK(long classPK) Sets the class pk of this social activity counter.voidsetCompanyId(long companyId) Sets the company ID of this social activity counter.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity counter.voidsetCurrentValue(int currentValue) Sets the current value of this social activity counter.voidsetEndPeriod(int endPeriod) Sets the end period of this social activity counter.voidsetGraceValue(int graceValue) Sets the grace value of this social activity counter.voidsetGroupId(long groupId) Sets the group ID of this social activity counter.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this social activity counter.voidSets the name of this social activity counter.voidsetOwnerType(int ownerType) Sets the owner type of this social activity counter.voidsetPrimaryKey(long primaryKey) Sets the primary key of this social activity counter.voidsetStartPeriod(int startPeriod) Sets the start period of this social activity counter.voidsetTotalValue(int totalValue) Sets the total value of this social activity counter.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this social activity counter.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin 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:
getMvccVersionin 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:
setMvccVersionin 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:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getCompanyIdin 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:
setCompanyIdin 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:
getClassNamein 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:
getClassNameIdin 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:
setClassNameIdin 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:
getClassPKin 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:
setClassPKin 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()Returnstrueif this social activity counter is active.- Returns:
trueif this social activity counter is active;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<SocialActivityCounter>
-
toXmlString
-