|
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.SocialActivityCounterWrapper
@ProviderType public class SocialActivityCounterWrapper
This class is a wrapper for SocialActivityCounter.
SocialActivityCounter,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.social.model.SocialActivityCounter |
|---|
ACTIVITY_COUNTER_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
SocialActivityCounterWrapper(SocialActivityCounter socialActivityCounter)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialActivityCounter socialActivityCounter)
|
boolean |
equals(Object obj)
|
boolean |
getActive()
Returns the active of this social activity counter. |
long |
getActivityCounterId()
Returns the activity counter ID of this social activity counter. |
String |
getClassName()
Returns the fully qualified class name of this social activity counter. |
long |
getClassNameId()
Returns the class name ID of this social activity counter. |
long |
getClassPK()
Returns the class p k of this social activity counter. |
long |
getCompanyId()
Returns the company ID of this social activity counter. |
int |
getCurrentValue()
Returns the current value of this social activity counter. |
int |
getEndPeriod()
Returns the end period of this social activity counter. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
int |
getGraceValue()
Returns the grace value of this social activity counter. |
long |
getGroupId()
Returns the group ID of this social activity counter. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this social activity counter. |
int |
getOwnerType()
Returns the owner type of this social activity counter. |
long |
getPrimaryKey()
Returns the primary key of this social activity counter. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getStartPeriod()
Returns the start period of this social activity counter. |
int |
getTotalValue()
Returns the total value of this social activity counter. |
SocialActivityCounter |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isActive()
Returns true if this social activity counter is active. |
boolean |
isActivePeriod(int periodLength)
|
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 |
setActive(boolean active)
Sets whether this social activity counter is active. |
void |
setActivityCounterId(long activityCounterId)
Sets the activity counter ID of this social activity counter. |
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 counter. |
void |
setClassPK(long classPK)
Sets the class p k of this social activity counter. |
void |
setCompanyId(long companyId)
Sets the company ID of this social activity counter. |
void |
setCurrentValue(int currentValue)
Sets the current value of this social activity counter. |
void |
setEndPeriod(int endPeriod)
Sets the end period of this social activity counter. |
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 |
setGraceValue(int graceValue)
Sets the grace value of this social activity counter. |
void |
setGroupId(long groupId)
Sets the group ID of this social activity counter. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this social activity counter. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setOwnerType(int ownerType)
Sets the owner type of this social activity counter. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social activity counter. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStartPeriod(int startPeriod)
Sets the start period of this social activity counter. |
void |
setTotalValue(int totalValue)
Sets the total value of this social activity counter. |
CacheModel<SocialActivityCounter> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
SocialActivityCounter |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
SocialActivityCounter |
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 SocialActivityCounterWrapper(SocialActivityCounter socialActivityCounter)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialActivityCounter>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SocialActivityCounter>public Object clone()
BaseModel
clone in interface BaseModel<SocialActivityCounter>clone in interface SocialActivityCounterModelclone in class Objectpublic int compareTo(SocialActivityCounter socialActivityCounter)
compareTo in interface SocialActivityCounterModelcompareTo in interface Comparable<SocialActivityCounter>public boolean getActive()
getActive in interface SocialActivityCounterModelpublic long getActivityCounterId()
getActivityCounterId in interface SocialActivityCounterModelpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialActivityCounterModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivityCounterModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SocialActivityCounterModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialActivityCounterModelpublic int getCurrentValue()
getCurrentValue in interface SocialActivityCounterModelpublic int getEndPeriod()
getEndPeriod in interface SocialActivityCounterModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SocialActivityCounter>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivityCounterModelpublic int getGraceValue()
getGraceValue in interface SocialActivityCounterModelpublic long getGroupId()
getGroupId in interface SocialActivityCounterModelpublic String getName()
getName in interface SocialActivityCounterModelpublic int getOwnerType()
getOwnerType in interface SocialActivityCounterModelpublic long getPrimaryKey()
getPrimaryKey in interface SocialActivityCounterModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SocialActivityCounter>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivityCounterModelpublic int getStartPeriod()
getStartPeriod in interface SocialActivityCounterModelpublic int getTotalValue()
getTotalValue in interface SocialActivityCounterModelpublic int hashCode()
hashCode in interface SocialActivityCounterModelhashCode in class Objectpublic boolean isActive()
true if this social activity counter is active.
isActive in interface SocialActivityCounterModeltrue if this social activity counter is active; false otherwisepublic boolean isActivePeriod(int periodLength)
isActivePeriod in interface SocialActivityCounterpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<SocialActivityCounter>isCachedModel in interface SocialActivityCounterModeltrue 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<SocialActivityCounter>isEscapedModel in interface SocialActivityCounterModeltrue 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<SocialActivityCounter>isNew in interface SocialActivityCounterModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setActive(boolean active)
setActive in interface SocialActivityCounterModelactive - the active of this social activity counterpublic void setActivityCounterId(long activityCounterId)
setActivityCounterId in interface SocialActivityCounterModelactivityCounterId - the activity counter ID of this social activity counterpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<SocialActivityCounter>setCachedModel in interface SocialActivityCounterModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface SocialActivityCounterModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface SocialActivityCounterModelclassNameId - the class name ID of this social activity counterpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SocialActivityCounterModelclassPK - the class p k of this social activity counterpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SocialActivityCounterModelcompanyId - the company ID of this social activity counterpublic void setCurrentValue(int currentValue)
setCurrentValue in interface SocialActivityCounterModelcurrentValue - the current value of this social activity counterpublic void setEndPeriod(int endPeriod)
setEndPeriod in interface SocialActivityCounterModelendPeriod - the end period of this social activity counterpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityCounter>setExpandoBridgeAttributes in interface SocialActivityCounterModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityCounter>setExpandoBridgeAttributes in interface SocialActivityCounterModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SocialActivityCounter>setExpandoBridgeAttributes in interface SocialActivityCounterModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGraceValue(int graceValue)
setGraceValue in interface SocialActivityCounterModelgraceValue - the grace value of this social activity counterpublic void setGroupId(long groupId)
setGroupId in interface SocialActivityCounterModelgroupId - the group ID of this social activity counterpublic void setName(String name)
setName in interface SocialActivityCounterModelname - the name of this social activity counterpublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<SocialActivityCounter>setNew in interface SocialActivityCounterModeln - whether this model instance does not yet exist in the databasepublic void setOwnerType(int ownerType)
setOwnerType in interface SocialActivityCounterModelownerType - the owner type of this social activity counterpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialActivityCounterModelprimaryKey - the primary key of this social activity counterpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<SocialActivityCounter>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivityCounterModelprimaryKeyObj - the primary key of this model instancepublic void setStartPeriod(int startPeriod)
setStartPeriod in interface SocialActivityCounterModelstartPeriod - the start period of this social activity counterpublic void setTotalValue(int totalValue)
setTotalValue in interface SocialActivityCounterModeltotalValue - the total value of this social activity counterpublic CacheModel<SocialActivityCounter> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SocialActivityCounter>toCacheModel in interface SocialActivityCounterModelpublic SocialActivityCounter toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SocialActivityCounter>toEscapedModel in interface SocialActivityCounterModelAutoEscapeBeanHandlerpublic String toString()
toString in interface SocialActivityCounterModeltoString in class Objectpublic SocialActivityCounter toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivityCounter>toUnescapedModel in interface SocialActivityCounterModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SocialActivityCounter>toXmlString in interface SocialActivityCounterModelpublic boolean equals(Object obj)
equals in class Objectpublic SocialActivityCounter getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialActivityCounter>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<SocialActivityCounter>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<SocialActivityCounter>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<SocialActivityCounter>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||