|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.social.model.SocialActivityLimitWrapper
@ProviderType public class SocialActivityLimitWrapper
This class is a wrapper for SocialActivityLimit.
SocialActivityLimit,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.social.model.SocialActivityLimit |
|---|
ACTIVITY_LIMIT_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
SocialActivityLimitWrapper(SocialActivityLimit socialActivityLimit)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SocialActivityLimitWrapper(SocialActivityLimit socialActivityLimit)
| Method Detail |
|---|
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 Object clone()
BaseModel
clone in interface BaseModel<SocialActivityLimit>clone in interface SocialActivityLimitModelclone in class Objectpublic int compareTo(SocialActivityLimit socialActivityLimit)
compareTo in interface SocialActivityLimitModelcompareTo in interface Comparable<SocialActivityLimit>public String getActivityCounterName()
getActivityCounterName in interface SocialActivityLimitModelpublic long getActivityLimitId()
getActivityLimitId in interface SocialActivityLimitModelpublic int getActivityType()
getActivityType in interface SocialActivityLimitModelpublic String getClassName()
getClassName in interface TypedModelgetClassName 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 int getCount()
getCount in interface SocialActivityLimitpublic int getCount(int limitPeriod)
getCount in interface SocialActivityLimitpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SocialActivityLimit>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivityLimitModelpublic long getGroupId()
getGroupId in interface SocialActivityLimitModelpublic long getPrimaryKey()
getPrimaryKey in interface SocialActivityLimitModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SocialActivityLimit>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivityLimitModelpublic long getUserId()
getUserId in interface SocialActivityLimitModelpublic String getUserUuid()
getUserUuid in interface SocialActivityLimitModelpublic String getValue()
getValue in interface SocialActivityLimitModelpublic int hashCode()
hashCode in interface SocialActivityLimitModelhashCode in class Objectpublic 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 void persist()
PersistedModel
persist 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)
BaseModel
setCachedModel 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 limit
public void setCount(int limitPeriod,
int count)
setCount in interface SocialActivityLimitpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityLimit>setExpandoBridgeAttributes in interface SocialActivityLimitModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityLimit>setExpandoBridgeAttributes in interface SocialActivityLimitModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes 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)
BaseModel
setNew 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)
BaseModel
setPrimaryKeyObj 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 CacheModel<SocialActivityLimit> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SocialActivityLimit>toCacheModel in interface SocialActivityLimitModelpublic SocialActivityLimit toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SocialActivityLimit>toEscapedModel in interface SocialActivityLimitModelAutoEscapeBeanHandlerpublic String toString()
toString in interface SocialActivityLimitModeltoString in class Objectpublic SocialActivityLimit toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivityLimit>toUnescapedModel in interface SocialActivityLimitModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SocialActivityLimit>toXmlString in interface SocialActivityLimitModelpublic boolean equals(Object obj)
equals in class Objectpublic 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()
BaseModel
resetOriginalValues in interface BaseModel<SocialActivityLimit>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||