Package com.liferay.social.kernel.model
Class SocialActivityAchievementWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SocialActivityAchievement>
com.liferay.social.kernel.model.SocialActivityAchievementWrapper
- All Implemented Interfaces:
BaseModel<SocialActivityAchievement>,CTModel<SocialActivityAchievement>,ClassedModel,ModelWrapper<SocialActivityAchievement>,MVCCModel,PersistedModel,ShardedModel,SocialActivityAchievement,SocialActivityAchievementModel,Serializable,Cloneable,Comparable<SocialActivityAchievement>
public class SocialActivityAchievementWrapper
extends BaseModelWrapper<SocialActivityAchievement>
implements ModelWrapper<SocialActivityAchievement>, SocialActivityAchievement
This class is a wrapper for SocialActivityAchievement.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.social.kernel.model.SocialActivityAchievement
ACTIVITY_ACHIEVEMENT_ID_ACCESSOR -
Constructor Summary
ConstructorsConstructorDescriptionSocialActivityAchievementWrapper(SocialActivityAchievement socialActivityAchievement) -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the activity achievement ID of this social activity achievement.longReturns the company ID of this social activity achievement.longReturns the create date of this social activity achievement.longReturns the ct collection ID of this social activity achievement.booleanReturns the first in group of this social activity achievement.longReturns the group ID of this social activity achievement.longReturns the mvcc version of this social activity achievement.getName()Returns the name of this social activity achievement.longReturns the primary key of this social activity achievement.longReturns the user ID of this social activity achievement.Returns the user uuid of this social activity achievement.booleanReturnstrueif this social activity achievement is first in group.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetActivityAchievementId(long activityAchievementId) Sets the activity achievement ID of this social activity achievement.voidsetCompanyId(long companyId) Sets the company ID of this social activity achievement.voidsetCreateDate(long createDate) Sets the create date of this social activity achievement.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity achievement.voidsetFirstInGroup(boolean firstInGroup) Sets whether this social activity achievement is first in group.voidsetGroupId(long groupId) Sets the group ID of this social activity achievement.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this social activity achievement.voidSets the name of this social activity achievement.voidsetPrimaryKey(long primaryKey) Sets the primary key of this social activity achievement.voidsetUserId(long userId) Sets the user ID of this social activity achievement.voidsetUserUuid(String userUuid) Sets the user uuid of this social activity achievement.protected SocialActivityAchievementWrapperwrap(SocialActivityAchievement socialActivityAchievement) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
SocialActivityAchievementWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<SocialActivityAchievement>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<SocialActivityAchievement>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<SocialActivityAchievement>- Specified by:
cloneWithOriginalValuesin interfaceSocialActivityAchievementModel
-
getActivityAchievementId
public long getActivityAchievementId()Returns the activity achievement ID of this social activity achievement.- Specified by:
getActivityAchievementIdin interfaceSocialActivityAchievementModel- Returns:
- the activity achievement ID of this social activity achievement
-
getCompanyId
public long getCompanyId()Returns the company ID of this social activity achievement.- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceSocialActivityAchievementModel- Returns:
- the company ID of this social activity achievement
-
getCreateDate
public long getCreateDate()Returns the create date of this social activity achievement.- Specified by:
getCreateDatein interfaceSocialActivityAchievementModel- Returns:
- the create date of this social activity achievement
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this social activity achievement.- Specified by:
getCtCollectionIdin interfaceCTModel<SocialActivityAchievement>- Specified by:
getCtCollectionIdin interfaceSocialActivityAchievementModel- Returns:
- the ct collection ID of this social activity achievement
-
getFirstInGroup
public boolean getFirstInGroup()Returns the first in group of this social activity achievement.- Specified by:
getFirstInGroupin interfaceSocialActivityAchievementModel- Returns:
- the first in group of this social activity achievement
-
getGroupId
public long getGroupId()Returns the group ID of this social activity achievement.- Specified by:
getGroupIdin interfaceSocialActivityAchievementModel- Returns:
- the group ID of this social activity achievement
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this social activity achievement.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceSocialActivityAchievementModel- Returns:
- the mvcc version of this social activity achievement
-
getName
Returns the name of this social activity achievement.- Specified by:
getNamein interfaceSocialActivityAchievementModel- Returns:
- the name of this social activity achievement
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this social activity achievement.- Specified by:
getPrimaryKeyin interfaceCTModel<SocialActivityAchievement>- Specified by:
getPrimaryKeyin interfaceSocialActivityAchievementModel- Returns:
- the primary key of this social activity achievement
-
getUserId
public long getUserId()Returns the user ID of this social activity achievement.- Specified by:
getUserIdin interfaceSocialActivityAchievementModel- Returns:
- the user ID of this social activity achievement
-
getUserUuid
Returns the user uuid of this social activity achievement.- Specified by:
getUserUuidin interfaceSocialActivityAchievementModel- Returns:
- the user uuid of this social activity achievement
-
isFirstInGroup
public boolean isFirstInGroup()Returnstrueif this social activity achievement is first in group.- Specified by:
isFirstInGroupin interfaceSocialActivityAchievementModel- Returns:
trueif this social activity achievement is first in group;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setActivityAchievementId
public void setActivityAchievementId(long activityAchievementId) Sets the activity achievement ID of this social activity achievement.- Specified by:
setActivityAchievementIdin interfaceSocialActivityAchievementModel- Parameters:
activityAchievementId- the activity achievement ID of this social activity achievement
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this social activity achievement.- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceSocialActivityAchievementModel- Parameters:
companyId- the company ID of this social activity achievement
-
setCreateDate
public void setCreateDate(long createDate) Sets the create date of this social activity achievement.- Specified by:
setCreateDatein interfaceSocialActivityAchievementModel- Parameters:
createDate- the create date of this social activity achievement
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity achievement.- Specified by:
setCtCollectionIdin interfaceCTModel<SocialActivityAchievement>- Specified by:
setCtCollectionIdin interfaceSocialActivityAchievementModel- Parameters:
ctCollectionId- the ct collection ID of this social activity achievement
-
setFirstInGroup
public void setFirstInGroup(boolean firstInGroup) Sets whether this social activity achievement is first in group.- Specified by:
setFirstInGroupin interfaceSocialActivityAchievementModel- Parameters:
firstInGroup- the first in group of this social activity achievement
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this social activity achievement.- Specified by:
setGroupIdin interfaceSocialActivityAchievementModel- Parameters:
groupId- the group ID of this social activity achievement
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this social activity achievement.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceSocialActivityAchievementModel- Parameters:
mvccVersion- the mvcc version of this social activity achievement
-
setName
Sets the name of this social activity achievement.- Specified by:
setNamein interfaceSocialActivityAchievementModel- Parameters:
name- the name of this social activity achievement
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this social activity achievement.- Specified by:
setPrimaryKeyin interfaceCTModel<SocialActivityAchievement>- Specified by:
setPrimaryKeyin interfaceSocialActivityAchievementModel- Parameters:
primaryKey- the primary key of this social activity achievement
-
setUserId
public void setUserId(long userId) Sets the user ID of this social activity achievement.- Specified by:
setUserIdin interfaceSocialActivityAchievementModel- Parameters:
userId- the user ID of this social activity achievement
-
setUserUuid
Sets the user uuid of this social activity achievement.- Specified by:
setUserUuidin interfaceSocialActivityAchievementModel- Parameters:
userUuid- the user uuid of this social activity achievement
-
toXmlString
- Specified by:
toXmlStringin interfaceSocialActivityAchievementModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<SocialActivityAchievement>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<SocialActivityAchievement>
-
wrap
protected SocialActivityAchievementWrapper wrap(SocialActivityAchievement socialActivityAchievement) - Specified by:
wrapin classBaseModelWrapper<SocialActivityAchievement>
-