|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.social.model.SocialActivityLimitWrapper
public class SocialActivityLimitWrapper
This class is a wrapper for SocialActivityLimit
.
SocialActivityLimit
,
Serialized FormConstructor 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 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()
|
SocialActivityLimit |
getWrappedSocialActivityLimit()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
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(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 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 long getPrimaryKey()
getPrimaryKey
in interface SocialActivityLimitModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SocialActivityLimitModel
primaryKey
- the primary key of this social activity limitpublic long getActivityLimitId()
getActivityLimitId
in interface SocialActivityLimitModel
public void setActivityLimitId(long activityLimitId)
setActivityLimitId
in interface SocialActivityLimitModel
activityLimitId
- the activity limit ID of this social activity limitpublic long getGroupId()
getGroupId
in interface SocialActivityLimitModel
public void setGroupId(long groupId)
setGroupId
in interface SocialActivityLimitModel
groupId
- the group ID of this social activity limitpublic long getCompanyId()
getCompanyId
in interface SocialActivityLimitModel
public void setCompanyId(long companyId)
setCompanyId
in interface SocialActivityLimitModel
companyId
- the company ID of this social activity limitpublic long getUserId()
getUserId
in interface SocialActivityLimitModel
public void setUserId(long userId)
setUserId
in interface SocialActivityLimitModel
userId
- the user ID of this social activity limitpublic String getUserUuid() throws SystemException
getUserUuid
in interface SocialActivityLimitModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface SocialActivityLimitModel
userUuid
- the user uuid of this social activity limitpublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface SocialActivityLimitModel
public void setClassName(String className)
setClassName
in interface SocialActivityLimitModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface SocialActivityLimitModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface SocialActivityLimitModel
classNameId
- the class name ID of this social activity limitpublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SocialActivityLimitModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SocialActivityLimitModel
classPK
- the class p k of this social activity limitpublic int getActivityType()
getActivityType
in interface SocialActivityLimitModel
public void setActivityType(int activityType)
setActivityType
in interface SocialActivityLimitModel
activityType
- the activity type of this social activity limitpublic String getActivityCounterName()
getActivityCounterName
in interface SocialActivityLimitModel
public void setActivityCounterName(String activityCounterName)
setActivityCounterName
in interface SocialActivityLimitModel
activityCounterName
- the activity counter name of this social activity limitpublic String getValue()
getValue
in interface SocialActivityLimitModel
public void setValue(String value)
setValue
in interface SocialActivityLimitModel
value
- the value of this social activity limitpublic 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 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 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 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 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivityLimit>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SocialActivityLimitModel
public 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivityLimit>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivityLimitModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityLimit>
setExpandoBridgeAttributes
in interface SocialActivityLimitModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
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 int hashCode()
hashCode
in interface SocialActivityLimitModel
hashCode
in class Object
public 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 SocialActivityLimit toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivityLimit>
toUnescapedModel
in interface SocialActivityLimitModel
public String toString()
toString
in interface SocialActivityLimitModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivityLimit>
toXmlString
in interface SocialActivityLimitModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic int getCount(int limitPeriod)
getCount
in interface SocialActivityLimit
public void setCount(int limitPeriod, int count)
setCount
in interface SocialActivityLimit
public boolean equals(Object obj)
equals
in class Object
public SocialActivityLimit getWrappedSocialActivityLimit()
getWrappedModel()
public SocialActivityLimit getWrappedModel()
getWrappedModel
in interface ModelWrapper<SocialActivityLimit>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivityLimit>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |