Package com.liferay.social.kernel.model
Class SocialActivityCounterWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SocialActivityCounter>
com.liferay.social.kernel.model.SocialActivityCounterWrapper
- All Implemented Interfaces:
AttachedModel,BaseModel<SocialActivityCounter>,CTModel<SocialActivityCounter>,ClassedModel,ModelWrapper<SocialActivityCounter>,MVCCModel,PersistedModel,ShardedModel,TypedModel,SocialActivityCounter,SocialActivityCounterModel,Serializable,Cloneable,Comparable<SocialActivityCounter>
public class SocialActivityCounterWrapper
extends BaseModelWrapper<SocialActivityCounter>
implements ModelWrapper<SocialActivityCounter>, SocialActivityCounter
This class is a wrapper for SocialActivityCounter.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.social.kernel.model.SocialActivityCounter
ACTIVITY_COUNTER_ID_ACCESSOR -
Constructor Summary
Constructors -
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.booleanisActivePeriod(int periodLength) voidpersist()Updates this model instance in the database or adds it if it does not yet exist.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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected SocialActivityCounterWrapperwrap(SocialActivityCounter socialActivityCounter) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
SocialActivityCounterWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<SocialActivityCounter>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<SocialActivityCounter>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<SocialActivityCounter>- Specified by:
cloneWithOriginalValuesin interfaceSocialActivityCounterModel
-
getActive
public boolean getActive()Returns the active of this social activity counter.- Specified by:
getActivein interfaceSocialActivityCounterModel- Returns:
- the active of this social activity counter
-
getActivityCounterId
public long getActivityCounterId()Returns the activity counter ID of this social activity counter.- Specified by:
getActivityCounterIdin interfaceSocialActivityCounterModel- Returns:
- the activity counter ID of this social activity counter
-
getClassName
Returns the fully qualified class name of this social activity counter.- Specified by:
getClassNamein interfaceSocialActivityCounterModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this social activity counter
-
getClassNameId
public long getClassNameId()Returns the class name ID of this social activity counter.- Specified by:
getClassNameIdin interfaceSocialActivityCounterModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this social activity counter
-
getClassPK
public long getClassPK()Returns the class pk of this social activity counter.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceSocialActivityCounterModel- Returns:
- the class pk of this social activity counter
-
getCompanyId
public long getCompanyId()Returns the company ID of this social activity counter.- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceSocialActivityCounterModel- Returns:
- the company ID of this social activity counter
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this social activity counter.- Specified by:
getCtCollectionIdin interfaceCTModel<SocialActivityCounter>- Specified by:
getCtCollectionIdin interfaceSocialActivityCounterModel- Returns:
- the ct collection ID of this social activity counter
-
getCurrentValue
public int getCurrentValue()Returns the current value of this social activity counter.- Specified by:
getCurrentValuein interfaceSocialActivityCounterModel- Returns:
- the current value of this social activity counter
-
getEndPeriod
public int getEndPeriod()Returns the end period of this social activity counter.- Specified by:
getEndPeriodin interfaceSocialActivityCounterModel- Returns:
- the end period of this social activity counter
-
getGraceValue
public int getGraceValue()Returns the grace value of this social activity counter.- Specified by:
getGraceValuein interfaceSocialActivityCounterModel- Returns:
- the grace value of this social activity counter
-
getGroupId
public long getGroupId()Returns the group ID of this social activity counter.- Specified by:
getGroupIdin interfaceSocialActivityCounterModel- Returns:
- the group ID of this social activity counter
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this social activity counter.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceSocialActivityCounterModel- Returns:
- the mvcc version of this social activity counter
-
getName
Returns the name of this social activity counter.- Specified by:
getNamein interfaceSocialActivityCounterModel- Returns:
- the name of this social activity counter
-
getOwnerType
public int getOwnerType()Returns the owner type of this social activity counter.- Specified by:
getOwnerTypein interfaceSocialActivityCounterModel- Returns:
- the owner type of this social activity counter
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this social activity counter.- Specified by:
getPrimaryKeyin interfaceCTModel<SocialActivityCounter>- Specified by:
getPrimaryKeyin interfaceSocialActivityCounterModel- Returns:
- the primary key of this social activity counter
-
getStartPeriod
public int getStartPeriod()Returns the start period of this social activity counter.- Specified by:
getStartPeriodin interfaceSocialActivityCounterModel- Returns:
- the start period of this social activity counter
-
getTotalValue
public int getTotalValue()Returns the total value of this social activity counter.- Specified by:
getTotalValuein interfaceSocialActivityCounterModel- Returns:
- the total value of this social activity counter
-
isActive
public boolean isActive()Returnstrueif this social activity counter is active.- Specified by:
isActivein interfaceSocialActivityCounterModel- Returns:
trueif this social activity counter is active;falseotherwise
-
isActivePeriod
public boolean isActivePeriod(int periodLength) - Specified by:
isActivePeriodin interfaceSocialActivityCounter
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setActive
public void setActive(boolean active) Sets whether this social activity counter is active.- Specified by:
setActivein interfaceSocialActivityCounterModel- Parameters:
active- the active of this social activity counter
-
setActivityCounterId
public void setActivityCounterId(long activityCounterId) Sets the activity counter ID of this social activity counter.- Specified by:
setActivityCounterIdin interfaceSocialActivityCounterModel- Parameters:
activityCounterId- the activity counter ID of this social activity counter
-
setClassName
- Specified by:
setClassNamein interfaceSocialActivityCounterModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this social activity counter.- Specified by:
setClassNameIdin interfaceSocialActivityCounterModel- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this social activity counter
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this social activity counter.- Specified by:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfaceSocialActivityCounterModel- Parameters:
classPK- the class pk of this social activity counter
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this social activity counter.- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceSocialActivityCounterModel- Parameters:
companyId- the company ID of this social activity counter
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity counter.- Specified by:
setCtCollectionIdin interfaceCTModel<SocialActivityCounter>- Specified by:
setCtCollectionIdin interfaceSocialActivityCounterModel- Parameters:
ctCollectionId- the ct collection ID of this social activity counter
-
setCurrentValue
public void setCurrentValue(int currentValue) Sets the current value of this social activity counter.- Specified by:
setCurrentValuein interfaceSocialActivityCounterModel- Parameters:
currentValue- the current value of this social activity counter
-
setEndPeriod
public void setEndPeriod(int endPeriod) Sets the end period of this social activity counter.- Specified by:
setEndPeriodin interfaceSocialActivityCounterModel- Parameters:
endPeriod- the end period of this social activity counter
-
setGraceValue
public void setGraceValue(int graceValue) Sets the grace value of this social activity counter.- Specified by:
setGraceValuein interfaceSocialActivityCounterModel- Parameters:
graceValue- the grace value of this social activity counter
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this social activity counter.- Specified by:
setGroupIdin interfaceSocialActivityCounterModel- Parameters:
groupId- the group ID of this social activity counter
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this social activity counter.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceSocialActivityCounterModel- Parameters:
mvccVersion- the mvcc version of this social activity counter
-
setName
Sets the name of this social activity counter.- Specified by:
setNamein interfaceSocialActivityCounterModel- Parameters:
name- the name of this social activity counter
-
setOwnerType
public void setOwnerType(int ownerType) Sets the owner type of this social activity counter.- Specified by:
setOwnerTypein interfaceSocialActivityCounterModel- Parameters:
ownerType- the owner type of this social activity counter
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this social activity counter.- Specified by:
setPrimaryKeyin interfaceCTModel<SocialActivityCounter>- Specified by:
setPrimaryKeyin interfaceSocialActivityCounterModel- Parameters:
primaryKey- the primary key of this social activity counter
-
setStartPeriod
public void setStartPeriod(int startPeriod) Sets the start period of this social activity counter.- Specified by:
setStartPeriodin interfaceSocialActivityCounterModel- Parameters:
startPeriod- the start period of this social activity counter
-
setTotalValue
public void setTotalValue(int totalValue) Sets the total value of this social activity counter.- Specified by:
setTotalValuein interfaceSocialActivityCounterModel- Parameters:
totalValue- the total value of this social activity counter
-
toXmlString
- Specified by:
toXmlStringin interfaceSocialActivityCounterModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<SocialActivityCounter>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<SocialActivityCounter>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<SocialActivityCounter>
-