|
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.portal.model.impl.BaseModelImpl<SocialActivityCounter> com.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl
public class SocialActivityCounterModelImpl
The base model implementation for the SocialActivityCounter service. Represents a row in the "SocialActivityCounter" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface SocialActivityCounterModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialActivityCounterImpl
.
SocialActivityCounterImpl
,
SocialActivityCounter
,
SocialActivityCounterModel
,
Serialized FormField Summary | |
---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static long |
ENDPERIOD_COLUMN_BITMASK
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
static long |
OWNERTYPE_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static long |
STARTPERIOD_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
Constructor Summary | |
---|---|
SocialActivityCounterModelImpl()
|
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 |
getColumnBitmask()
|
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. |
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
int |
getOriginalEndPeriod()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
int |
getOriginalOwnerType()
|
int |
getOriginalStartPeriod()
|
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. |
int |
hashCode()
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setActivityCounterId(long activityCounterId)
Sets the activity counter ID of this social activity counter. |
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 |
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 com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.social.model.SocialActivityCounterModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long ENDPERIOD_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long OWNERTYPE_COLUMN_BITMASK
public static long STARTPERIOD_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public SocialActivityCounterModelImpl()
Method Detail |
---|
public long getPrimaryKey()
SocialActivityCounterModel
getPrimaryKey
in interface SocialActivityCounterModel
public void setPrimaryKey(long primaryKey)
SocialActivityCounterModel
setPrimaryKey
in interface SocialActivityCounterModel
primaryKey
- the primary key of this social activity counterpublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivityCounter>
getModelAttributes
in class BaseModelImpl<SocialActivityCounter>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivityCounter>
setModelAttributes
in class BaseModelImpl<SocialActivityCounter>
public long getActivityCounterId()
SocialActivityCounterModel
getActivityCounterId
in interface SocialActivityCounterModel
public void setActivityCounterId(long activityCounterId)
SocialActivityCounterModel
setActivityCounterId
in interface SocialActivityCounterModel
activityCounterId
- the activity counter ID of this social activity counterpublic long getGroupId()
SocialActivityCounterModel
getGroupId
in interface SocialActivityCounterModel
public void setGroupId(long groupId)
SocialActivityCounterModel
setGroupId
in interface SocialActivityCounterModel
groupId
- the group ID of this social activity counterpublic long getOriginalGroupId()
public long getCompanyId()
SocialActivityCounterModel
getCompanyId
in interface SocialActivityCounterModel
public void setCompanyId(long companyId)
SocialActivityCounterModel
setCompanyId
in interface SocialActivityCounterModel
companyId
- the company ID of this social activity counterpublic String getClassName()
SocialActivityCounterModel
getClassName
in interface AttachedModel
getClassName
in interface SocialActivityCounterModel
public void setClassName(String className)
setClassName
in interface SocialActivityCounterModel
public long getClassNameId()
SocialActivityCounterModel
getClassNameId
in interface AttachedModel
getClassNameId
in interface SocialActivityCounterModel
public void setClassNameId(long classNameId)
SocialActivityCounterModel
setClassNameId
in interface AttachedModel
setClassNameId
in interface SocialActivityCounterModel
classNameId
- the class name ID of this social activity counterpublic long getOriginalClassNameId()
public long getClassPK()
SocialActivityCounterModel
getClassPK
in interface AttachedModel
getClassPK
in interface SocialActivityCounterModel
public void setClassPK(long classPK)
SocialActivityCounterModel
setClassPK
in interface AttachedModel
setClassPK
in interface SocialActivityCounterModel
classPK
- the class p k of this social activity counterpublic long getOriginalClassPK()
public String getName()
SocialActivityCounterModel
getName
in interface SocialActivityCounterModel
public void setName(String name)
SocialActivityCounterModel
setName
in interface SocialActivityCounterModel
name
- the name of this social activity counterpublic String getOriginalName()
public int getOwnerType()
SocialActivityCounterModel
getOwnerType
in interface SocialActivityCounterModel
public void setOwnerType(int ownerType)
SocialActivityCounterModel
setOwnerType
in interface SocialActivityCounterModel
ownerType
- the owner type of this social activity counterpublic int getOriginalOwnerType()
public int getCurrentValue()
SocialActivityCounterModel
getCurrentValue
in interface SocialActivityCounterModel
public void setCurrentValue(int currentValue)
SocialActivityCounterModel
setCurrentValue
in interface SocialActivityCounterModel
currentValue
- the current value of this social activity counterpublic int getTotalValue()
SocialActivityCounterModel
getTotalValue
in interface SocialActivityCounterModel
public void setTotalValue(int totalValue)
SocialActivityCounterModel
setTotalValue
in interface SocialActivityCounterModel
totalValue
- the total value of this social activity counterpublic int getGraceValue()
SocialActivityCounterModel
getGraceValue
in interface SocialActivityCounterModel
public void setGraceValue(int graceValue)
SocialActivityCounterModel
setGraceValue
in interface SocialActivityCounterModel
graceValue
- the grace value of this social activity counterpublic int getStartPeriod()
SocialActivityCounterModel
getStartPeriod
in interface SocialActivityCounterModel
public void setStartPeriod(int startPeriod)
SocialActivityCounterModel
setStartPeriod
in interface SocialActivityCounterModel
startPeriod
- the start period of this social activity counterpublic int getOriginalStartPeriod()
public int getEndPeriod()
SocialActivityCounterModel
getEndPeriod
in interface SocialActivityCounterModel
public void setEndPeriod(int endPeriod)
SocialActivityCounterModel
setEndPeriod
in interface SocialActivityCounterModel
endPeriod
- the end period of this social activity counterpublic int getOriginalEndPeriod()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivityCounter>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivityCounterModel
getExpandoBridge
in class BaseModelImpl<SocialActivityCounter>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityCounter>
setExpandoBridgeAttributes
in interface SocialActivityCounterModel
setExpandoBridgeAttributes
in class BaseModelImpl<SocialActivityCounter>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public SocialActivityCounter toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SocialActivityCounter>
toEscapedModel
in interface SocialActivityCounterModel
toEscapedModel
in class BaseModelImpl<SocialActivityCounter>
AutoEscapeBeanHandler
public SocialActivityCounter toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivityCounter>
toUnescapedModel
in interface SocialActivityCounterModel
toUnescapedModel
in class BaseModelImpl<SocialActivityCounter>
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivityCounter>
clone
in interface SocialActivityCounterModel
clone
in class BaseModelImpl<SocialActivityCounter>
public int compareTo(SocialActivityCounter socialActivityCounter)
compareTo
in interface SocialActivityCounterModel
compareTo
in interface Comparable<SocialActivityCounter>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface SocialActivityCounterModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivityCounter>
resetOriginalValues
in class BaseModelImpl<SocialActivityCounter>
public CacheModel<SocialActivityCounter> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivityCounter>
toCacheModel
in interface SocialActivityCounterModel
toCacheModel
in class BaseModelImpl<SocialActivityCounter>
public String toString()
toString
in interface SocialActivityCounterModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivityCounter>
toXmlString
in interface SocialActivityCounterModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |