|
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.SocialActivityCounterWrapper
public class SocialActivityCounterWrapper
This class is a wrapper for SocialActivityCounter
.
SocialActivityCounter
,
Serialized FormConstructor Summary | |
---|---|
SocialActivityCounterWrapper(SocialActivityCounter socialActivityCounter)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialActivityCounter socialActivityCounter)
|
boolean |
equals(Object obj)
|
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 |
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 |
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 |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SocialActivityCounterWrapper(SocialActivityCounter socialActivityCounter)
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<SocialActivityCounter>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivityCounter>
public long getPrimaryKey()
getPrimaryKey
in interface SocialActivityCounterModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SocialActivityCounterModel
primaryKey
- the primary key of this social activity counterpublic long getActivityCounterId()
getActivityCounterId
in interface SocialActivityCounterModel
public void setActivityCounterId(long activityCounterId)
setActivityCounterId
in interface SocialActivityCounterModel
activityCounterId
- the activity counter ID of this social activity counterpublic long getGroupId()
getGroupId
in interface SocialActivityCounterModel
public void setGroupId(long groupId)
setGroupId
in interface SocialActivityCounterModel
groupId
- the group ID of this social activity counterpublic long getCompanyId()
getCompanyId
in interface SocialActivityCounterModel
public void setCompanyId(long companyId)
setCompanyId
in interface SocialActivityCounterModel
companyId
- the company ID of this social activity counterpublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface SocialActivityCounterModel
public void setClassName(String className)
setClassName
in interface SocialActivityCounterModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface SocialActivityCounterModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface SocialActivityCounterModel
classNameId
- the class name ID of this social activity counterpublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SocialActivityCounterModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SocialActivityCounterModel
classPK
- the class p k of this social activity counterpublic String getName()
getName
in interface SocialActivityCounterModel
public void setName(String name)
setName
in interface SocialActivityCounterModel
name
- the name of this social activity counterpublic int getOwnerType()
getOwnerType
in interface SocialActivityCounterModel
public void setOwnerType(int ownerType)
setOwnerType
in interface SocialActivityCounterModel
ownerType
- the owner type of this social activity counterpublic int getCurrentValue()
getCurrentValue
in interface SocialActivityCounterModel
public void setCurrentValue(int currentValue)
setCurrentValue
in interface SocialActivityCounterModel
currentValue
- the current value of this social activity counterpublic int getTotalValue()
getTotalValue
in interface SocialActivityCounterModel
public void setTotalValue(int totalValue)
setTotalValue
in interface SocialActivityCounterModel
totalValue
- the total value of this social activity counterpublic int getGraceValue()
getGraceValue
in interface SocialActivityCounterModel
public void setGraceValue(int graceValue)
setGraceValue
in interface SocialActivityCounterModel
graceValue
- the grace value of this social activity counterpublic int getStartPeriod()
getStartPeriod
in interface SocialActivityCounterModel
public void setStartPeriod(int startPeriod)
setStartPeriod
in interface SocialActivityCounterModel
startPeriod
- the start period of this social activity counterpublic int getEndPeriod()
getEndPeriod
in interface SocialActivityCounterModel
public void setEndPeriod(int endPeriod)
setEndPeriod
in interface SocialActivityCounterModel
endPeriod
- the end period of this social activity counterpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<SocialActivityCounter>
isNew
in interface SocialActivityCounterModel
true
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 SocialActivityCounterModel
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<SocialActivityCounter>
isCachedModel
in interface SocialActivityCounterModel
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<SocialActivityCounter>
setCachedModel
in interface SocialActivityCounterModel
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<SocialActivityCounter>
isEscapedModel
in interface SocialActivityCounterModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivityCounter>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SocialActivityCounterModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivityCounter>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SocialActivityCounterModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivityCounter>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivityCounterModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityCounter>
setExpandoBridgeAttributes
in interface SocialActivityCounterModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivityCounter>
clone
in interface SocialActivityCounterModel
clone
in class Object
public int compareTo(SocialActivityCounter socialActivityCounter)
compareTo
in interface SocialActivityCounterModel
compareTo
in interface Comparable<SocialActivityCounter>
public int hashCode()
hashCode
in interface SocialActivityCounterModel
hashCode
in class Object
public CacheModel<SocialActivityCounter> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivityCounter>
toCacheModel
in interface SocialActivityCounterModel
public SocialActivityCounter toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SocialActivityCounter>
toEscapedModel
in interface SocialActivityCounterModel
AutoEscapeBeanHandler
public SocialActivityCounter toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivityCounter>
toUnescapedModel
in interface SocialActivityCounterModel
public String toString()
toString
in interface SocialActivityCounterModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivityCounter>
toXmlString
in interface SocialActivityCounterModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean isActivePeriod(int periodLength)
isActivePeriod
in interface SocialActivityCounter
public boolean equals(Object obj)
equals
in class Object
public SocialActivityCounter getWrappedSocialActivityCounter()
getWrappedModel()
public SocialActivityCounter getWrappedModel()
getWrappedModel
in interface ModelWrapper<SocialActivityCounter>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivityCounter>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |