@ProviderType public interface SocialActivityAchievementModel extends BaseModel<SocialActivityAchievement>, ShardedModel
This interface and its corresponding implementation com.liferay.portlet.social.model.impl.SocialActivityAchievementModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.social.model.impl.SocialActivityAchievementImpl.
SocialActivityAchievement,
com.liferay.portlet.social.model.impl.SocialActivityAchievementImpl,
com.liferay.portlet.social.model.impl.SocialActivityAchievementModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SocialActivityAchievement socialActivityAchievement) |
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.
|
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.
|
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 |
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(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
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 |
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.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this social activity achievementlong getActivityAchievementId()
void setActivityAchievementId(long activityAchievementId)
activityAchievementId - the activity achievement ID of this social activity achievementlong getGroupId()
void setGroupId(long groupId)
groupId - the group ID of this social activity achievementlong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this social activity achievementlong getUserId()
void setUserId(long userId)
userId - the user ID of this social activity achievementString getUserUuid()
void setUserUuid(String userUuid)
userUuid - the user uuid of this social activity achievementlong getCreateDate()
void setCreateDate(long createDate)
createDate - the create date of this social activity achievement@AutoEscape String getName()
void setName(String name)
name - the name of this social activity achievementboolean getFirstInGroup()
boolean isFirstInGroup()
true if this social activity achievement is first in group.true if this social activity achievement is first in group; false otherwisevoid setFirstInGroup(boolean firstInGroup)
firstInGroup - the first in group of this social activity achievementboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<SocialActivityAchievement>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<SocialActivityAchievement>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SocialActivityAchievement>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SocialActivityAchievement>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<SocialActivityAchievement>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SocialActivityAchievement>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SocialActivityAchievement>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SocialActivityAchievement>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityAchievement>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityAchievement>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SocialActivityAchievement>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<SocialActivityAchievement>int compareTo(SocialActivityAchievement socialActivityAchievement)
compareTo in interface Comparable<SocialActivityAchievement>CacheModel<SocialActivityAchievement> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SocialActivityAchievement>SocialActivityAchievement toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SocialActivityAchievement>AutoEscapeBeanHandlerSocialActivityAchievement toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivityAchievement>String toXmlString()
BaseModeltoXmlString in interface BaseModel<SocialActivityAchievement>