@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 pk 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 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 |
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivityLimit>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivityLimit>
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivityLimit>
clone
in interface SocialActivityLimitModel
clone
in class Object
public int compareTo(SocialActivityLimit socialActivityLimit)
compareTo
in interface SocialActivityLimitModel
compareTo
in interface Comparable<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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivityLimit>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivityLimitModel
public long getGroupId()
getGroupId
in interface SocialActivityLimitModel
public long getPrimaryKey()
getPrimaryKey
in interface SocialActivityLimitModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivityLimit>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
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 int hashCode()
hashCode
in interface SocialActivityLimitModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<SocialActivityLimit>
isCachedModel
in interface SocialActivityLimitModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<SocialActivityLimit>
isEscapedModel
in interface SocialActivityLimitModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<SocialActivityLimit>
isNew
in interface SocialActivityLimitModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic 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 setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SocialActivityLimit>
setCachedModel
in interface SocialActivityLimitModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public 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 setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityLimit>
setExpandoBridgeAttributes
in interface SocialActivityLimitModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityLimit>
setExpandoBridgeAttributes
in interface SocialActivityLimitModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityLimit>
setExpandoBridgeAttributes
in interface SocialActivityLimitModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface SocialActivityLimitModel
groupId
- the group ID of this social activity limitpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialActivityLimit>
setNew
in interface SocialActivityLimitModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SocialActivityLimitModel
primaryKey
- the primary key of this social activity limitpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivityLimit>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SocialActivityLimitModel
primaryKeyObj
- the primary key of this model instancepublic 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 CacheModel<SocialActivityLimit> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivityLimit>
toCacheModel
in interface SocialActivityLimitModel
public SocialActivityLimit toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<SocialActivityLimit>
toEscapedModel
in interface SocialActivityLimitModel
AutoEscapeBeanHandler
public String toString()
toString
in interface SocialActivityLimitModel
toString
in class Object
public SocialActivityLimit toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivityLimit>
toUnescapedModel
in interface SocialActivityLimitModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivityLimit>
toXmlString
in interface SocialActivityLimitModel
public boolean equals(Object obj)
equals
in class Object
public SocialActivityLimit getWrappedModel()
getWrappedModel
in interface ModelWrapper<SocialActivityLimit>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivityLimit>