@ProviderType public class SocialActivityLimitWrapper extends Object implements SocialActivityLimit, ModelWrapper<SocialActivityLimit>
This class is a wrapper for SocialActivityLimit.
SocialActivityLimit,
Serialized FormACTIVITY_LIMIT_ID_ACCESSOR| Constructor and Description |
|---|
SocialActivityLimitWrapper(SocialActivityLimit socialActivityLimit) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SocialActivityLimit socialActivityLimit) |
boolean |
equals(Object obj) |
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.
|
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 p k of this social activity limit.
|
long |
getCompanyId()
Returns the company ID of this social activity limit.
|
int |
getCount() |
int |
getCount(int limitPeriod) |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this social activity limit.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this social activity limit.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
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.
|
SocialActivityLimit |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 p k 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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setGroupId(long groupId)
Sets the group ID of this social activity limit.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social activity limit.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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.
|
CacheModel<SocialActivityLimit> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SocialActivityLimit |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
SocialActivityLimit |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public SocialActivityLimitWrapper(SocialActivityLimit socialActivityLimit)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialActivityLimit>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SocialActivityLimit>public SocialActivityLimit toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SocialActivityLimit>toEscapedModel in interface SocialActivityLimitModelAutoEscapeBeanHandlerpublic SocialActivityLimit toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivityLimit>toUnescapedModel in interface SocialActivityLimitModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SocialActivityLimit>isCachedModel in interface SocialActivityLimitModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<SocialActivityLimit>isEscapedModel in interface SocialActivityLimitModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<SocialActivityLimit>isNew in interface SocialActivityLimitModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SocialActivityLimit>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivityLimitModelpublic CacheModel<SocialActivityLimit> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SocialActivityLimit>toCacheModel in interface SocialActivityLimitModelpublic int compareTo(SocialActivityLimit socialActivityLimit)
compareTo in interface SocialActivityLimitModelcompareTo in interface Comparable<SocialActivityLimit>public int getActivityType()
getActivityType in interface SocialActivityLimitModelpublic int getCount()
getCount in interface SocialActivityLimitpublic int getCount(int limitPeriod)
getCount in interface SocialActivityLimitpublic int hashCode()
hashCode in interface SocialActivityLimitModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SocialActivityLimit>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivityLimitModelpublic Object clone()
BaseModelclone in interface BaseModel<SocialActivityLimit>clone in interface SocialActivityLimitModelclone in class Objectpublic String getActivityCounterName()
getActivityCounterName in interface SocialActivityLimitModelpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialActivityLimitModelpublic String getUserUuid()
getUserUuid in interface SocialActivityLimitModelpublic String getValue()
getValue in interface SocialActivityLimitModelpublic String toString()
toString in interface SocialActivityLimitModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<SocialActivityLimit>toXmlString in interface SocialActivityLimitModelpublic long getActivityLimitId()
getActivityLimitId in interface SocialActivityLimitModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivityLimitModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SocialActivityLimitModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialActivityLimitModelpublic long getGroupId()
getGroupId in interface SocialActivityLimitModelpublic long getPrimaryKey()
getPrimaryKey in interface SocialActivityLimitModelpublic long getUserId()
getUserId in interface SocialActivityLimitModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setActivityCounterName(String activityCounterName)
setActivityCounterName in interface SocialActivityLimitModelactivityCounterName - the activity counter name of this social activity limitpublic void setActivityLimitId(long activityLimitId)
setActivityLimitId in interface SocialActivityLimitModelactivityLimitId - the activity limit ID of this social activity limitpublic void setActivityType(int activityType)
setActivityType in interface SocialActivityLimitModelactivityType - the activity type of this social activity limitpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SocialActivityLimit>setCachedModel in interface SocialActivityLimitModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface SocialActivityLimitModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface SocialActivityLimitModelclassNameId - the class name ID of this social activity limitpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SocialActivityLimitModelclassPK - the class p k of this social activity limitpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SocialActivityLimitModelcompanyId - the company ID of this social activity limitpublic void setCount(int limitPeriod,
int count)
setCount in interface SocialActivityLimitpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityLimit>setExpandoBridgeAttributes in interface SocialActivityLimitModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityLimit>setExpandoBridgeAttributes in interface SocialActivityLimitModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SocialActivityLimit>setExpandoBridgeAttributes in interface SocialActivityLimitModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface SocialActivityLimitModelgroupId - the group ID of this social activity limitpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SocialActivityLimit>setNew in interface SocialActivityLimitModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialActivityLimitModelprimaryKey - the primary key of this social activity limitpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SocialActivityLimit>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivityLimitModelprimaryKeyObj - the primary key of this model instancepublic void setUserId(long userId)
setUserId in interface SocialActivityLimitModeluserId - the user ID of this social activity limitpublic void setUserUuid(String userUuid)
setUserUuid in interface SocialActivityLimitModeluserUuid - the user uuid of this social activity limitpublic void setValue(String value)
setValue in interface SocialActivityLimitModelvalue - the value of this social activity limitpublic SocialActivityLimit getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialActivityLimit>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<SocialActivityLimit>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<SocialActivityLimit>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SocialActivityLimit>