|
Liferay 6.2.0-ce-m4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.social.model.SocialActivityCounterWrapper
public class SocialActivityCounterWrapper
This class is a wrapper for SocialActivityCounter.
SocialActivityCounter,
Serialized Form| Constructor Summary | |
|---|---|
SocialActivityCounterWrapper(SocialActivityCounter socialActivityCounter)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialActivityCounter socialActivityCounter)
|
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()
|
SocialActivityCounter |
getWrappedSocialActivityCounter()
Deprecated. Renamed to 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 |
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 |
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(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 |
|---|
equals, 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 long getPrimaryKey()
getPrimaryKey in interface SocialActivityCounterModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialActivityCounterModelprimaryKey - the primary key of this social activity counterpublic long getActivityCounterId()
getActivityCounterId in interface SocialActivityCounterModelpublic void setActivityCounterId(long activityCounterId)
setActivityCounterId in interface SocialActivityCounterModelactivityCounterId - the activity counter ID of this social activity counterpublic long getGroupId()
getGroupId in interface SocialActivityCounterModelpublic void setGroupId(long groupId)
setGroupId in interface SocialActivityCounterModelgroupId - the group ID of this social activity counterpublic long getCompanyId()
getCompanyId in interface SocialActivityCounterModelpublic void setCompanyId(long companyId)
setCompanyId in interface SocialActivityCounterModelcompanyId - the company ID of this social activity counterpublic String getClassName()
getClassName in interface AttachedModelgetClassName in interface SocialActivityCounterModelpublic void setClassName(String className)
setClassName in interface SocialActivityCounterModelpublic long getClassNameId()
getClassNameId in interface AttachedModelgetClassNameId in interface SocialActivityCounterModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AttachedModelsetClassNameId in interface SocialActivityCounterModelclassNameId - the class name ID of this social activity counterpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SocialActivityCounterModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SocialActivityCounterModelclassPK - the class p k of this social activity counterpublic String getName()
getName in interface SocialActivityCounterModelpublic void setName(String name)
setName in interface SocialActivityCounterModelname - the name of this social activity counterpublic int getOwnerType()
getOwnerType in interface SocialActivityCounterModelpublic void setOwnerType(int ownerType)
setOwnerType in interface SocialActivityCounterModelownerType - the owner type of this social activity counterpublic int getCurrentValue()
getCurrentValue in interface SocialActivityCounterModelpublic void setCurrentValue(int currentValue)
setCurrentValue in interface SocialActivityCounterModelcurrentValue - the current value of this social activity counterpublic int getTotalValue()
getTotalValue in interface SocialActivityCounterModelpublic void setTotalValue(int totalValue)
setTotalValue in interface SocialActivityCounterModeltotalValue - the total value of this social activity counterpublic int getGraceValue()
getGraceValue in interface SocialActivityCounterModelpublic void setGraceValue(int graceValue)
setGraceValue in interface SocialActivityCounterModelgraceValue - the grace value of this social activity counterpublic int getStartPeriod()
getStartPeriod in interface SocialActivityCounterModelpublic void setStartPeriod(int startPeriod)
setStartPeriod in interface SocialActivityCounterModelstartPeriod - the start period of this social activity counterpublic int getEndPeriod()
getEndPeriod in interface SocialActivityCounterModelpublic void setEndPeriod(int endPeriod)
setEndPeriod in interface SocialActivityCounterModelendPeriod - the end period of this social activity counterpublic boolean getActive()
getActive in interface SocialActivityCounterModelpublic boolean isActive()
true if this social activity counter is active.
isActive in interface SocialActivityCounterModeltrue if this social activity counter is active; false otherwisepublic void setActive(boolean active)
setActive in interface SocialActivityCounterModelactive - the active of this social activity counterpublic 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 setNew(boolean n)
BaseModel
setNew in interface BaseModel<SocialActivityCounter>setNew in interface SocialActivityCounterModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<SocialActivityCounter>setCachedModel in interface SocialActivityCounterModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SocialActivityCounter>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivityCounterModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<SocialActivityCounter>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivityCounterModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SocialActivityCounter>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivityCounterModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SocialActivityCounter>setExpandoBridgeAttributes in interface SocialActivityCounterModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)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 int hashCode()
hashCode in interface SocialActivityCounterModelhashCode in class Objectpublic 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 SocialActivityCounter toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivityCounter>toUnescapedModel in interface SocialActivityCounterModelpublic String toString()
toString in interface SocialActivityCounterModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SocialActivityCounter>toXmlString in interface SocialActivityCounterModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic boolean isActivePeriod(int periodLength)
isActivePeriod in interface SocialActivityCounterpublic SocialActivityCounter getWrappedSocialActivityCounter()
getWrappedModel()
public SocialActivityCounter getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialActivityCounter>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<SocialActivityCounter>
|
Liferay 6.2.0-ce-m4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||