public class SocialActivityCounterWrapper extends BaseModelWrapper<SocialActivityCounter> implements ModelWrapper<SocialActivityCounter>, SocialActivityCounter
This class is a wrapper for SocialActivityCounter.
SocialActivityCounter,
Serialized FormmodelACTIVITY_COUNTER_ID_ACCESSOR| Constructor and Description |
|---|
SocialActivityCounterWrapper(SocialActivityCounter socialActivityCounter) |
| Modifier and Type | Method and Description |
|---|---|
SocialActivityCounter |
cloneWithOriginalValues() |
boolean |
getActive()
Returns the active of this social activity counter.
|
long |
getActivityCounterId()
Returns the activity counter ID of this social activity counter.
|
Map<String,Function<SocialActivityCounter,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<SocialActivityCounter,Object>> |
getAttributeSetterBiConsumers() |
String |
getClassName()
Returns the fully qualified class name of this social activity counter.
|
long |
getClassNameId()
Returns the class name ID of this social activity counter.
|
long |
getClassPK()
Returns the class pk of this social activity counter.
|
long |
getCompanyId()
Returns the company ID of this social activity counter.
|
long |
getCtCollectionId()
Returns the ct collection ID of this social activity counter.
|
int |
getCurrentValue()
Returns the current value of this social activity counter.
|
int |
getEndPeriod()
Returns the end period of this social activity counter.
|
int |
getGraceValue()
Returns the grace value of this social activity counter.
|
long |
getGroupId()
Returns the group ID of this social activity counter.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this social activity counter.
|
String |
getName()
Returns the name of this social activity counter.
|
int |
getOwnerType()
Returns the owner type of this social activity counter.
|
long |
getPrimaryKey()
Returns the primary key of this social activity counter.
|
int |
getStartPeriod()
Returns the start period of this social activity counter.
|
int |
getTotalValue()
Returns the total value of this social activity counter.
|
boolean |
isActive()
Returns
true if this social activity counter is active. |
boolean |
isActivePeriod(int periodLength) |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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 |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this social activity counter.
|
void |
setName(String name)
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.
|
protected SocialActivityCounterWrapper |
wrap(SocialActivityCounter socialActivityCounter) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic SocialActivityCounterWrapper(SocialActivityCounter socialActivityCounter)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialActivityCounter>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SocialActivityCounter>public SocialActivityCounter cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<SocialActivityCounter>cloneWithOriginalValues in interface SocialActivityCounterModelpublic boolean getActive()
getActive in interface SocialActivityCounterModelpublic long getActivityCounterId()
getActivityCounterId in interface SocialActivityCounterModelpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialActivityCounterModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivityCounterModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SocialActivityCounterModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialActivityCounterModelpublic long getCtCollectionId()
getCtCollectionId in interface CTModel<SocialActivityCounter>getCtCollectionId in interface SocialActivityCounterModelpublic int getCurrentValue()
getCurrentValue in interface SocialActivityCounterModelpublic int getEndPeriod()
getEndPeriod in interface SocialActivityCounterModelpublic int getGraceValue()
getGraceValue in interface SocialActivityCounterModelpublic long getGroupId()
getGroupId in interface SocialActivityCounterModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface SocialActivityCounterModelpublic String getName()
getName in interface SocialActivityCounterModelpublic int getOwnerType()
getOwnerType in interface SocialActivityCounterModelpublic long getPrimaryKey()
getPrimaryKey in interface CTModel<SocialActivityCounter>getPrimaryKey in interface SocialActivityCounterModelpublic int getStartPeriod()
getStartPeriod in interface SocialActivityCounterModelpublic int getTotalValue()
getTotalValue in interface SocialActivityCounterModelpublic boolean isActive()
true if this social activity counter is active.isActive in interface SocialActivityCounterModeltrue if this social activity counter is active; false otherwisepublic boolean isActivePeriod(int periodLength)
isActivePeriod in interface SocialActivityCounterpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setActive(boolean active)
setActive in interface SocialActivityCounterModelactive - the active of this social activity counterpublic void setActivityCounterId(long activityCounterId)
setActivityCounterId in interface SocialActivityCounterModelactivityCounterId - the activity counter ID of this social activity counterpublic void setClassName(String className)
setClassName in interface SocialActivityCounterModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface SocialActivityCounterModelclassNameId - the class name ID of this social activity counterpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SocialActivityCounterModelclassPK - the class pk of this social activity counterpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SocialActivityCounterModelcompanyId - the company ID of this social activity counterpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<SocialActivityCounter>setCtCollectionId in interface SocialActivityCounterModelctCollectionId - the ct collection ID of this social activity counterpublic void setCurrentValue(int currentValue)
setCurrentValue in interface SocialActivityCounterModelcurrentValue - the current value of this social activity counterpublic void setEndPeriod(int endPeriod)
setEndPeriod in interface SocialActivityCounterModelendPeriod - the end period of this social activity counterpublic void setGraceValue(int graceValue)
setGraceValue in interface SocialActivityCounterModelgraceValue - the grace value of this social activity counterpublic void setGroupId(long groupId)
setGroupId in interface SocialActivityCounterModelgroupId - the group ID of this social activity counterpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface SocialActivityCounterModelmvccVersion - the mvcc version of this social activity counterpublic void setName(String name)
setName in interface SocialActivityCounterModelname - the name of this social activity counterpublic void setOwnerType(int ownerType)
setOwnerType in interface SocialActivityCounterModelownerType - the owner type of this social activity counterpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CTModel<SocialActivityCounter>setPrimaryKey in interface SocialActivityCounterModelprimaryKey - the primary key of this social activity counterpublic void setStartPeriod(int startPeriod)
setStartPeriod in interface SocialActivityCounterModelstartPeriod - the start period of this social activity counterpublic void setTotalValue(int totalValue)
setTotalValue in interface SocialActivityCounterModeltotalValue - the total value of this social activity counterpublic Map<String,Function<SocialActivityCounter,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<SocialActivityCounter>public Map<String,BiConsumer<SocialActivityCounter,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<SocialActivityCounter>protected SocialActivityCounterWrapper wrap(SocialActivityCounter socialActivityCounter)
wrap in class BaseModelWrapper<SocialActivityCounter>