|
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<SocialActivityAchievement> com.liferay.portlet.social.model.impl.SocialActivityAchievementModelImpl
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 FormField Summary | |
---|---|
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 |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
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 |
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()
|
SocialActivityAchievement |
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.SocialActivityAchievementModel |
---|
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 FIRSTINGROUP_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long USERID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public SocialActivityAchievementModelImpl()
Method Detail |
---|
public long getPrimaryKey()
SocialActivityAchievementModel
getPrimaryKey
in interface SocialActivityAchievementModel
public void setPrimaryKey(long primaryKey)
SocialActivityAchievementModel
setPrimaryKey
in interface SocialActivityAchievementModel
primaryKey
- the primary key of this social activity achievementpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivityAchievement>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SocialActivityAchievementModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivityAchievement>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SocialActivityAchievementModel
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<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 SocialActivityAchievementModel
public void setActivityAchievementId(long activityAchievementId)
SocialActivityAchievementModel
setActivityAchievementId
in interface SocialActivityAchievementModel
activityAchievementId
- the activity achievement ID of this social activity achievementpublic long getGroupId()
SocialActivityAchievementModel
getGroupId
in interface SocialActivityAchievementModel
public void setGroupId(long groupId)
SocialActivityAchievementModel
setGroupId
in interface SocialActivityAchievementModel
groupId
- the group ID of this social activity achievementpublic long getOriginalGroupId()
public long getCompanyId()
SocialActivityAchievementModel
getCompanyId
in interface SocialActivityAchievementModel
public void setCompanyId(long companyId)
SocialActivityAchievementModel
setCompanyId
in interface SocialActivityAchievementModel
companyId
- the company ID of this social activity achievementpublic long getUserId()
SocialActivityAchievementModel
getUserId
in interface SocialActivityAchievementModel
public void setUserId(long userId)
SocialActivityAchievementModel
setUserId
in interface SocialActivityAchievementModel
userId
- the user ID of this social activity achievementpublic String getUserUuid() throws SystemException
SocialActivityAchievementModel
getUserUuid
in interface SocialActivityAchievementModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
SocialActivityAchievementModel
setUserUuid
in interface SocialActivityAchievementModel
userUuid
- the user uuid of this social activity achievementpublic long getOriginalUserId()
public long getCreateDate()
SocialActivityAchievementModel
getCreateDate
in interface SocialActivityAchievementModel
public void setCreateDate(long createDate)
SocialActivityAchievementModel
setCreateDate
in interface SocialActivityAchievementModel
createDate
- the create date of this social activity achievementpublic String getName()
SocialActivityAchievementModel
getName
in interface SocialActivityAchievementModel
public void setName(String name)
SocialActivityAchievementModel
setName
in interface SocialActivityAchievementModel
name
- the name of this social activity achievementpublic String getOriginalName()
public boolean getFirstInGroup()
SocialActivityAchievementModel
getFirstInGroup
in interface SocialActivityAchievementModel
public boolean isFirstInGroup()
SocialActivityAchievementModel
true
if this social activity achievement is first in group.
isFirstInGroup
in interface SocialActivityAchievementModel
true
if this social activity achievement is first in group; false
otherwisepublic void setFirstInGroup(boolean firstInGroup)
SocialActivityAchievementModel
setFirstInGroup
in interface SocialActivityAchievementModel
firstInGroup
- 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 ClassedModel
getExpandoBridge
in interface SocialActivityAchievementModel
getExpandoBridge
in class BaseModelImpl<SocialActivityAchievement>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityAchievement>
setExpandoBridgeAttributes
in interface SocialActivityAchievementModel
setExpandoBridgeAttributes
in class BaseModelImpl<SocialActivityAchievement>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public SocialActivityAchievement toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SocialActivityAchievement>
toEscapedModel
in interface SocialActivityAchievementModel
toEscapedModel
in class BaseModelImpl<SocialActivityAchievement>
AutoEscapeBeanHandler
public SocialActivityAchievement toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivityAchievement>
toUnescapedModel
in interface SocialActivityAchievementModel
toUnescapedModel
in class BaseModelImpl<SocialActivityAchievement>
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivityAchievement>
clone
in interface SocialActivityAchievementModel
clone
in class BaseModelImpl<SocialActivityAchievement>
public int compareTo(SocialActivityAchievement socialActivityAchievement)
compareTo
in interface SocialActivityAchievementModel
compareTo
in interface Comparable<SocialActivityAchievement>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface SocialActivityAchievementModel
hashCode
in class Object
public 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 SocialActivityAchievementModel
toCacheModel
in class BaseModelImpl<SocialActivityAchievement>
public String toString()
toString
in interface SocialActivityAchievementModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivityAchievement>
toXmlString
in interface SocialActivityAchievementModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |