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
model
Fields inherited from interface com.liferay.social.kernel.model.SocialActivityAchievement
ACTIVITY_ACHIEVEMENT_ID_ACCESSOR
-
Constructor Summary
ConstructorsConstructorDescriptionSocialActivityAchievementWrapper
(SocialActivityAchievement socialActivityAchievement) -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the activity achievement ID of this social activity achievement.long
Returns the company ID of this social activity achievement.long
Returns the create date of this social activity achievement.long
Returns the ct collection ID of this social activity achievement.boolean
Returns the first in group of this social activity achievement.long
Returns the group ID of this social activity achievement.long
Returns the mvcc version of this social activity achievement.getName()
Returns the name of this social activity achievement.long
Returns the primary key of this social activity achievement.long
Returns the user ID of this social activity achievement.Returns the user uuid of this social activity achievement.boolean
Returnstrue
if this social activity achievement is first in group.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.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
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this social activity achievement.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
setMvccVersion
(long mvccVersion) Sets the mvcc version of this social activity achievement.void
Sets the name of this social activity achievement.void
setPrimaryKey
(long primaryKey) Sets the primary key of this social activity achievement.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.protected SocialActivityAchievementWrapper
wrap
(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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
SocialActivityAchievementWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<SocialActivityAchievement>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<SocialActivityAchievement>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<SocialActivityAchievement>
- Specified by:
cloneWithOriginalValues
in interfaceSocialActivityAchievementModel
-
getActivityAchievementId
public long getActivityAchievementId()Returns the activity achievement ID of this social activity achievement.- Specified by:
getActivityAchievementId
in 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:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in 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:
getCreateDate
in 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:
getCtCollectionId
in interfaceCTModel<SocialActivityAchievement>
- Specified by:
getCtCollectionId
in 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:
getFirstInGroup
in 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:
getGroupId
in 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:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in interfaceSocialActivityAchievementModel
- Returns:
- the mvcc version of this social activity achievement
-
getName
Returns the name of this social activity achievement.- Specified by:
getName
in interfaceSocialActivityAchievementModel
- Returns:
- the name of this social activity achievement
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this social activity achievement.- Specified by:
getPrimaryKey
in interfaceCTModel<SocialActivityAchievement>
- Specified by:
getPrimaryKey
in 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:
getUserId
in interfaceSocialActivityAchievementModel
- Returns:
- the user ID of this social activity achievement
-
getUserUuid
Returns the user uuid of this social activity achievement.- Specified by:
getUserUuid
in interfaceSocialActivityAchievementModel
- Returns:
- the user uuid of this social activity achievement
-
isFirstInGroup
public boolean isFirstInGroup()Returnstrue
if this social activity achievement is first in group.- Specified by:
isFirstInGroup
in interfaceSocialActivityAchievementModel
- Returns:
true
if this social activity achievement is first in group;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setActivityAchievementId
public void setActivityAchievementId(long activityAchievementId) Sets the activity achievement ID of this social activity achievement.- Specified by:
setActivityAchievementId
in 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:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in 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:
setCreateDate
in 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:
setCtCollectionId
in interfaceCTModel<SocialActivityAchievement>
- Specified by:
setCtCollectionId
in 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:
setFirstInGroup
in 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:
setGroupId
in 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:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in interfaceSocialActivityAchievementModel
- Parameters:
mvccVersion
- the mvcc version of this social activity achievement
-
setName
Sets the name of this social activity achievement.- Specified by:
setName
in 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:
setPrimaryKey
in interfaceCTModel<SocialActivityAchievement>
- Specified by:
setPrimaryKey
in 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:
setUserId
in interfaceSocialActivityAchievementModel
- Parameters:
userId
- the user ID of this social activity achievement
-
setUserUuid
Sets the user uuid of this social activity achievement.- Specified by:
setUserUuid
in interfaceSocialActivityAchievementModel
- Parameters:
userUuid
- the user uuid of this social activity achievement
-
toXmlString
- Specified by:
toXmlString
in interfaceSocialActivityAchievementModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<SocialActivityAchievement>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<SocialActivityAchievement>
-
wrap
protected SocialActivityAchievementWrapper wrap(SocialActivityAchievement socialActivityAchievement) - Specified by:
wrap
in classBaseModelWrapper<SocialActivityAchievement>
-