|
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.SocialActivityAchievementWrapper
public class SocialActivityAchievementWrapper
This class is a wrapper for SocialActivityAchievement
.
SocialActivityAchievement
,
Serialized FormConstructor Summary | |
---|---|
SocialActivityAchievementWrapper(SocialActivityAchievement socialActivityAchievement)
|
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 |
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. |
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. |
SocialActivityAchievement |
getWrappedModel()
|
SocialActivityAchievement |
getWrappedSocialActivityAchievement()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
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 |
isFirstInGroup()
Returns true if this social activity achievement is first in group. |
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 |
setActivityAchievementId(long activityAchievementId)
Sets the activity achievement ID of this social activity achievement. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
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 java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SocialActivityAchievementWrapper(SocialActivityAchievement socialActivityAchievement)
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<SocialActivityAchievement>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivityAchievement>
public long getPrimaryKey()
getPrimaryKey
in interface SocialActivityAchievementModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SocialActivityAchievementModel
primaryKey
- the primary key of this social activity achievementpublic long getActivityAchievementId()
getActivityAchievementId
in interface SocialActivityAchievementModel
public void setActivityAchievementId(long activityAchievementId)
setActivityAchievementId
in interface SocialActivityAchievementModel
activityAchievementId
- the activity achievement ID of this social activity achievementpublic long getGroupId()
getGroupId
in interface SocialActivityAchievementModel
public void setGroupId(long groupId)
setGroupId
in interface SocialActivityAchievementModel
groupId
- the group ID of this social activity achievementpublic long getCompanyId()
getCompanyId
in interface SocialActivityAchievementModel
public void setCompanyId(long companyId)
setCompanyId
in interface SocialActivityAchievementModel
companyId
- the company ID of this social activity achievementpublic long getUserId()
getUserId
in interface SocialActivityAchievementModel
public void setUserId(long userId)
setUserId
in interface SocialActivityAchievementModel
userId
- the user ID of this social activity achievementpublic String getUserUuid() throws SystemException
getUserUuid
in interface SocialActivityAchievementModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface SocialActivityAchievementModel
userUuid
- the user uuid of this social activity achievementpublic long getCreateDate()
getCreateDate
in interface SocialActivityAchievementModel
public void setCreateDate(long createDate)
setCreateDate
in interface SocialActivityAchievementModel
createDate
- the create date of this social activity achievementpublic String getName()
getName
in interface SocialActivityAchievementModel
public void setName(String name)
setName
in interface SocialActivityAchievementModel
name
- the name of this social activity achievementpublic boolean getFirstInGroup()
getFirstInGroup
in interface SocialActivityAchievementModel
public boolean isFirstInGroup()
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)
setFirstInGroup
in interface SocialActivityAchievementModel
firstInGroup
- the first in group of this social activity achievementpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<SocialActivityAchievement>
isNew
in interface SocialActivityAchievementModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialActivityAchievement>
setNew
in interface SocialActivityAchievementModel
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<SocialActivityAchievement>
isCachedModel
in interface SocialActivityAchievementModel
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<SocialActivityAchievement>
setCachedModel
in interface SocialActivityAchievementModel
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<SocialActivityAchievement>
isEscapedModel
in interface SocialActivityAchievementModel
true
if this model instance is escaped;
false
otherwisepublic 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivityAchievement>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivityAchievementModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityAchievement>
setExpandoBridgeAttributes
in interface SocialActivityAchievementModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivityAchievement>
clone
in interface SocialActivityAchievementModel
clone
in class Object
public int compareTo(SocialActivityAchievement socialActivityAchievement)
compareTo
in interface SocialActivityAchievementModel
compareTo
in interface Comparable<SocialActivityAchievement>
public int hashCode()
hashCode
in interface SocialActivityAchievementModel
hashCode
in class Object
public CacheModel<SocialActivityAchievement> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivityAchievement>
toCacheModel
in interface SocialActivityAchievementModel
public SocialActivityAchievement toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SocialActivityAchievement>
toEscapedModel
in interface SocialActivityAchievementModel
AutoEscapeBeanHandler
public SocialActivityAchievement toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivityAchievement>
toUnescapedModel
in interface SocialActivityAchievementModel
public String toString()
toString
in interface SocialActivityAchievementModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivityAchievement>
toXmlString
in interface SocialActivityAchievementModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public SocialActivityAchievement getWrappedSocialActivityAchievement()
getWrappedModel()
public SocialActivityAchievement getWrappedModel()
getWrappedModel
in interface ModelWrapper<SocialActivityAchievement>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivityAchievement>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |