public class SocialActivityLimitWrapper extends BaseModelWrapper<SocialActivityLimit> implements ModelWrapper<SocialActivityLimit>, SocialActivityLimit
This class is a wrapper for SocialActivityLimit
.
SocialActivityLimit
,
Serialized Formmodel
ACTIVITY_LIMIT_ID_ACCESSOR
Constructor and Description |
---|
SocialActivityLimitWrapper(SocialActivityLimit socialActivityLimit) |
Modifier and Type | Method and Description |
---|---|
String |
getActivityCounterName()
Returns the activity counter name of this social activity limit.
|
long |
getActivityLimitId()
Returns the activity limit ID of this social activity limit.
|
int |
getActivityType()
Returns the activity type of this social activity limit.
|
Map<String,Function<SocialActivityLimit,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<SocialActivityLimit,Object>> |
getAttributeSetterBiConsumers() |
String |
getClassName()
Returns the fully qualified class name of this social activity limit.
|
long |
getClassNameId()
Returns the class name ID of this social activity limit.
|
long |
getClassPK()
Returns the class pk of this social activity limit.
|
long |
getCompanyId()
Returns the company ID of this social activity limit.
|
int |
getCount() |
int |
getCount(int limitPeriod) |
long |
getCtCollectionId()
Returns the ct collection ID of this social activity limit.
|
long |
getGroupId()
Returns the group ID of this social activity limit.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this social activity limit.
|
long |
getPrimaryKey()
Returns the primary key of this social activity limit.
|
long |
getUserId()
Returns the user ID of this social activity limit.
|
String |
getUserUuid()
Returns the user uuid of this social activity limit.
|
String |
getValue()
Returns the value of this social activity limit.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setActivityCounterName(String activityCounterName)
Sets the activity counter name of this social activity limit.
|
void |
setActivityLimitId(long activityLimitId)
Sets the activity limit ID of this social activity limit.
|
void |
setActivityType(int activityType)
Sets the activity type of this social activity limit.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this social activity limit.
|
void |
setClassPK(long classPK)
Sets the class pk of this social activity limit.
|
void |
setCompanyId(long companyId)
Sets the company ID of this social activity limit.
|
void |
setCount(int limitPeriod,
int count) |
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this social activity limit.
|
void |
setGroupId(long groupId)
Sets the group ID of this social activity limit.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this social activity limit.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social activity limit.
|
void |
setUserId(long userId)
Sets the user ID of this social activity limit.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this social activity limit.
|
void |
setValue(String value)
Sets the value of this social activity limit.
|
protected SocialActivityLimitWrapper |
wrap(SocialActivityLimit socialActivityLimit) |
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, toXmlString
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public SocialActivityLimitWrapper(SocialActivityLimit socialActivityLimit)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivityLimit>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivityLimit>
public String getActivityCounterName()
getActivityCounterName
in interface SocialActivityLimitModel
public long getActivityLimitId()
getActivityLimitId
in interface SocialActivityLimitModel
public int getActivityType()
getActivityType
in interface SocialActivityLimitModel
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface SocialActivityLimitModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface SocialActivityLimitModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SocialActivityLimitModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface SocialActivityLimitModel
public int getCount()
getCount
in interface SocialActivityLimit
public int getCount(int limitPeriod)
getCount
in interface SocialActivityLimit
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<SocialActivityLimit>
getCtCollectionId
in interface SocialActivityLimitModel
public long getGroupId()
getGroupId
in interface SocialActivityLimitModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface SocialActivityLimitModel
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<SocialActivityLimit>
getPrimaryKey
in interface SocialActivityLimitModel
public long getUserId()
getUserId
in interface SocialActivityLimitModel
public String getUserUuid()
getUserUuid
in interface SocialActivityLimitModel
public String getValue()
getValue
in interface SocialActivityLimitModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setActivityCounterName(String activityCounterName)
setActivityCounterName
in interface SocialActivityLimitModel
activityCounterName
- the activity counter name of this social activity limitpublic void setActivityLimitId(long activityLimitId)
setActivityLimitId
in interface SocialActivityLimitModel
activityLimitId
- the activity limit ID of this social activity limitpublic void setActivityType(int activityType)
setActivityType
in interface SocialActivityLimitModel
activityType
- the activity type of this social activity limitpublic void setClassName(String className)
setClassName
in interface SocialActivityLimitModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface SocialActivityLimitModel
classNameId
- the class name ID of this social activity limitpublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SocialActivityLimitModel
classPK
- the class pk of this social activity limitpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface SocialActivityLimitModel
companyId
- the company ID of this social activity limitpublic void setCount(int limitPeriod, int count)
setCount
in interface SocialActivityLimit
public void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<SocialActivityLimit>
setCtCollectionId
in interface SocialActivityLimitModel
ctCollectionId
- the ct collection ID of this social activity limitpublic void setGroupId(long groupId)
setGroupId
in interface SocialActivityLimitModel
groupId
- the group ID of this social activity limitpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface SocialActivityLimitModel
mvccVersion
- the mvcc version of this social activity limitpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<SocialActivityLimit>
setPrimaryKey
in interface SocialActivityLimitModel
primaryKey
- the primary key of this social activity limitpublic void setUserId(long userId)
setUserId
in interface SocialActivityLimitModel
userId
- the user ID of this social activity limitpublic void setUserUuid(String userUuid)
setUserUuid
in interface SocialActivityLimitModel
userUuid
- the user uuid of this social activity limitpublic void setValue(String value)
setValue
in interface SocialActivityLimitModel
value
- the value of this social activity limitpublic Map<String,Function<SocialActivityLimit,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<SocialActivityLimit>
public Map<String,BiConsumer<SocialActivityLimit,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<SocialActivityLimit>
protected SocialActivityLimitWrapper wrap(SocialActivityLimit socialActivityLimit)
wrap
in class BaseModelWrapper<SocialActivityLimit>