|
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.portal.model.impl.BaseModelImpl<SocialActivityCounter>
com.liferay.portlet.social.model.impl.SocialActivityCounterModelImpl
@ProviderType 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 Form| Field Summary | |
|---|---|
static long |
ACTIVITYCOUNTERID_COLUMN_BITMASK
|
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 String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
OWNERTYPE_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static long |
STARTPERIOD_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
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)
|
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 |
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()
|
boolean |
isActive()
Returns true if this social activity counter is active. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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 |
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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long ENDPERIOD_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long OWNERTYPE_COLUMN_BITMASK
public static final long STARTPERIOD_COLUMN_BITMASK
public static final long ACTIVITYCOUNTERID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public SocialActivityCounterModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
SocialActivityCounterModel
getPrimaryKey in interface SocialActivityCounterModelpublic void setPrimaryKey(long primaryKey)
SocialActivityCounterModel
setPrimaryKey in interface SocialActivityCounterModelprimaryKey - the primary key of this social activity counterpublic 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 Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 SocialActivityCounterModelpublic void setActivityCounterId(long activityCounterId)
SocialActivityCounterModel
setActivityCounterId in interface SocialActivityCounterModelactivityCounterId - the activity counter ID of this social activity counterpublic long getGroupId()
SocialActivityCounterModel
getGroupId in interface SocialActivityCounterModelpublic void setGroupId(long groupId)
SocialActivityCounterModel
setGroupId in interface SocialActivityCounterModelgroupId - the group ID of this social activity counterpublic long getOriginalGroupId()
public long getCompanyId()
SocialActivityCounterModel
getCompanyId in interface ShardedModelgetCompanyId in interface SocialActivityCounterModelpublic void setCompanyId(long companyId)
SocialActivityCounterModel
setCompanyId in interface ShardedModelsetCompanyId in interface SocialActivityCounterModelcompanyId - the company ID of this social activity counterpublic String getClassName()
SocialActivityCounterModel
getClassName in interface TypedModelgetClassName in interface SocialActivityCounterModelpublic void setClassName(String className)
setClassName in interface SocialActivityCounterModelpublic long getClassNameId()
SocialActivityCounterModel
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivityCounterModelpublic void setClassNameId(long classNameId)
SocialActivityCounterModel
setClassNameId in interface TypedModelsetClassNameId in interface SocialActivityCounterModelclassNameId - the class name ID of this social activity counterpublic long getOriginalClassNameId()
public long getClassPK()
SocialActivityCounterModel
getClassPK in interface AttachedModelgetClassPK in interface SocialActivityCounterModelpublic void setClassPK(long classPK)
SocialActivityCounterModel
setClassPK in interface AttachedModelsetClassPK in interface SocialActivityCounterModelclassPK - the class p k of this social activity counterpublic long getOriginalClassPK()
public String getName()
SocialActivityCounterModel
getName in interface SocialActivityCounterModelpublic void setName(String name)
SocialActivityCounterModel
setName in interface SocialActivityCounterModelname - the name of this social activity counterpublic String getOriginalName()
public int getOwnerType()
SocialActivityCounterModel
getOwnerType in interface SocialActivityCounterModelpublic void setOwnerType(int ownerType)
SocialActivityCounterModel
setOwnerType in interface SocialActivityCounterModelownerType - the owner type of this social activity counterpublic int getOriginalOwnerType()
public int getCurrentValue()
SocialActivityCounterModel
getCurrentValue in interface SocialActivityCounterModelpublic void setCurrentValue(int currentValue)
SocialActivityCounterModel
setCurrentValue in interface SocialActivityCounterModelcurrentValue - the current value of this social activity counterpublic int getTotalValue()
SocialActivityCounterModel
getTotalValue in interface SocialActivityCounterModelpublic void setTotalValue(int totalValue)
SocialActivityCounterModel
setTotalValue in interface SocialActivityCounterModeltotalValue - the total value of this social activity counterpublic int getGraceValue()
SocialActivityCounterModel
getGraceValue in interface SocialActivityCounterModelpublic void setGraceValue(int graceValue)
SocialActivityCounterModel
setGraceValue in interface SocialActivityCounterModelgraceValue - the grace value of this social activity counterpublic int getStartPeriod()
SocialActivityCounterModel
getStartPeriod in interface SocialActivityCounterModelpublic void setStartPeriod(int startPeriod)
SocialActivityCounterModel
setStartPeriod in interface SocialActivityCounterModelstartPeriod - the start period of this social activity counterpublic int getOriginalStartPeriod()
public int getEndPeriod()
SocialActivityCounterModel
getEndPeriod in interface SocialActivityCounterModelpublic void setEndPeriod(int endPeriod)
SocialActivityCounterModel
setEndPeriod in interface SocialActivityCounterModelendPeriod - the end period of this social activity counterpublic int getOriginalEndPeriod()
public boolean getActive()
SocialActivityCounterModel
getActive in interface SocialActivityCounterModelpublic boolean isActive()
SocialActivityCounterModeltrue if this social activity counter is active.
isActive in interface SocialActivityCounterModeltrue if this social activity counter is active; false otherwisepublic void setActive(boolean active)
SocialActivityCounterModel
setActive in interface SocialActivityCounterModelactive - the active of this social activity counterpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SocialActivityCounter>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivityCounterModelgetExpandoBridge in class BaseModelImpl<SocialActivityCounter>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SocialActivityCounter>setExpandoBridgeAttributes in interface SocialActivityCounterModelsetExpandoBridgeAttributes in class BaseModelImpl<SocialActivityCounter>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public SocialActivityCounter toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SocialActivityCounter>toEscapedModel in interface SocialActivityCounterModeltoEscapedModel in class BaseModelImpl<SocialActivityCounter>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<SocialActivityCounter>clone in interface SocialActivityCounterModelclone in class BaseModelImpl<SocialActivityCounter>public int compareTo(SocialActivityCounter socialActivityCounter)
compareTo in interface SocialActivityCounterModelcompareTo in interface Comparable<SocialActivityCounter>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface SocialActivityCounterModelhashCode in class Objectpublic 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>resetOriginalValues in class BaseModelImpl<SocialActivityCounter>public CacheModel<SocialActivityCounter> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SocialActivityCounter>toCacheModel in interface SocialActivityCounterModeltoCacheModel in class BaseModelImpl<SocialActivityCounter>public String toString()
toString in interface SocialActivityCounterModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SocialActivityCounter>toXmlString in interface SocialActivityCounterModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||