|
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<SocialActivityAchievement>
com.liferay.portlet.social.model.impl.SocialActivityAchievementModelImpl
@ProviderType public class SocialActivityAchievementModelImpl
The base model implementation for the SocialActivityAchievement service. Represents a row in the "SocialActivityAchievement" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface SocialActivityAchievementModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialActivityAchievementImpl.
SocialActivityAchievementImpl,
SocialActivityAchievement,
SocialActivityAchievementModel,
Serialized Form| Field Summary | |
|---|---|
static long |
ACTIVITYACHIEVEMENTID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
FIRSTINGROUP_COLUMN_BITMASK
|
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 String |
SESSION_FACTORY
|
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
|
static long |
USERID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
SocialActivityAchievementModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialActivityAchievement socialActivityAchievement)
|
boolean |
equals(Object obj)
|
long |
getActivityAchievementId()
Returns the activity achievement ID of this social activity achievement. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this social activity achievement. |
long |
getCreateDate()
Returns the create date of this social activity achievement. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
boolean |
getFirstInGroup()
Returns the first in group of this social activity achievement. |
long |
getGroupId()
Returns the group ID of this social activity achievement. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
String |
getName()
Returns the name of this social activity achievement. |
boolean |
getOriginalFirstInGroup()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
long |
getOriginalUserId()
|
long |
getPrimaryKey()
Returns the primary key of this social activity achievement. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this social activity achievement. |
String |
getUserUuid()
Returns the user uuid of this social activity achievement. |
int |
hashCode()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isFirstInGroup()
Returns true if this social activity achievement is first in group. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setActivityAchievementId(long activityAchievementId)
Sets the activity achievement ID of this social activity achievement. |
void |
setCompanyId(long companyId)
Sets the company ID of this social activity achievement. |
void |
setCreateDate(long createDate)
Sets the create date of this social activity achievement. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFirstInGroup(boolean firstInGroup)
Sets whether this social activity achievement is first in group. |
void |
setGroupId(long groupId)
Sets the group ID of this social activity achievement. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setName(String name)
Sets the name of this social activity achievement. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social activity achievement. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this social activity achievement. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this social activity achievement. |
CacheModel<SocialActivityAchievement> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
SocialActivityAchievement |
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.SocialActivityAchievementModel |
|---|
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 FIRSTINGROUP_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long NAME_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long ACTIVITYACHIEVEMENTID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public SocialActivityAchievementModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
SocialActivityAchievementModel
getPrimaryKey in interface SocialActivityAchievementModelpublic void setPrimaryKey(long primaryKey)
SocialActivityAchievementModel
setPrimaryKey in interface SocialActivityAchievementModelprimaryKey - the primary key of this social activity achievementpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SocialActivityAchievement>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivityAchievementModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<SocialActivityAchievement>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivityAchievementModelprimaryKeyObj - 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<SocialActivityAchievement>getModelAttributes in class BaseModelImpl<SocialActivityAchievement>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SocialActivityAchievement>setModelAttributes in class BaseModelImpl<SocialActivityAchievement>public long getActivityAchievementId()
SocialActivityAchievementModel
getActivityAchievementId in interface SocialActivityAchievementModelpublic void setActivityAchievementId(long activityAchievementId)
SocialActivityAchievementModel
setActivityAchievementId in interface SocialActivityAchievementModelactivityAchievementId - the activity achievement ID of this social activity achievementpublic long getGroupId()
SocialActivityAchievementModel
getGroupId in interface SocialActivityAchievementModelpublic void setGroupId(long groupId)
SocialActivityAchievementModel
setGroupId in interface SocialActivityAchievementModelgroupId - the group ID of this social activity achievementpublic long getOriginalGroupId()
public long getCompanyId()
SocialActivityAchievementModel
getCompanyId in interface ShardedModelgetCompanyId in interface SocialActivityAchievementModelpublic void setCompanyId(long companyId)
SocialActivityAchievementModel
setCompanyId in interface ShardedModelsetCompanyId in interface SocialActivityAchievementModelcompanyId - the company ID of this social activity achievementpublic long getUserId()
SocialActivityAchievementModel
getUserId in interface SocialActivityAchievementModelpublic void setUserId(long userId)
SocialActivityAchievementModel
setUserId in interface SocialActivityAchievementModeluserId - the user ID of this social activity achievementpublic String getUserUuid()
SocialActivityAchievementModel
getUserUuid in interface SocialActivityAchievementModelpublic void setUserUuid(String userUuid)
SocialActivityAchievementModel
setUserUuid in interface SocialActivityAchievementModeluserUuid - the user uuid of this social activity achievementpublic long getOriginalUserId()
public long getCreateDate()
SocialActivityAchievementModel
getCreateDate in interface SocialActivityAchievementModelpublic void setCreateDate(long createDate)
SocialActivityAchievementModel
setCreateDate in interface SocialActivityAchievementModelcreateDate - the create date of this social activity achievementpublic String getName()
SocialActivityAchievementModel
getName in interface SocialActivityAchievementModelpublic void setName(String name)
SocialActivityAchievementModel
setName in interface SocialActivityAchievementModelname - the name of this social activity achievementpublic String getOriginalName()
public boolean getFirstInGroup()
SocialActivityAchievementModel
getFirstInGroup in interface SocialActivityAchievementModelpublic boolean isFirstInGroup()
SocialActivityAchievementModeltrue if this social activity achievement is first in group.
isFirstInGroup in interface SocialActivityAchievementModeltrue if this social activity achievement is first in group; false otherwisepublic void setFirstInGroup(boolean firstInGroup)
SocialActivityAchievementModel
setFirstInGroup in interface SocialActivityAchievementModelfirstInGroup - the first in group of this social activity achievementpublic boolean getOriginalFirstInGroup()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SocialActivityAchievement>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivityAchievementModelgetExpandoBridge in class BaseModelImpl<SocialActivityAchievement>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SocialActivityAchievement>setExpandoBridgeAttributes in interface SocialActivityAchievementModelsetExpandoBridgeAttributes in class BaseModelImpl<SocialActivityAchievement>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public SocialActivityAchievement toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SocialActivityAchievement>toEscapedModel in interface SocialActivityAchievementModeltoEscapedModel in class BaseModelImpl<SocialActivityAchievement>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<SocialActivityAchievement>clone in interface SocialActivityAchievementModelclone in class BaseModelImpl<SocialActivityAchievement>public int compareTo(SocialActivityAchievement socialActivityAchievement)
compareTo in interface SocialActivityAchievementModelcompareTo in interface Comparable<SocialActivityAchievement>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface SocialActivityAchievementModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<SocialActivityAchievement>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<SocialActivityAchievement>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<SocialActivityAchievement>resetOriginalValues in class BaseModelImpl<SocialActivityAchievement>public CacheModel<SocialActivityAchievement> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SocialActivityAchievement>toCacheModel in interface SocialActivityAchievementModeltoCacheModel in class BaseModelImpl<SocialActivityAchievement>public String toString()
toString in interface SocialActivityAchievementModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SocialActivityAchievement>toXmlString in interface SocialActivityAchievementModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||