Package com.liferay.social.kernel.model
Class SocialActivityWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<SocialActivity>
com.liferay.social.kernel.model.SocialActivityWrapper
- All Implemented Interfaces:
AttachedModel,BaseModel<SocialActivity>,CTModel<SocialActivity>,ClassedModel,ModelWrapper<SocialActivity>,MVCCModel,PersistedModel,ShardedModel,TypedModel,SocialActivity,SocialActivityModel,Serializable,Cloneable,Comparable<SocialActivity>
public class SocialActivityWrapper
extends BaseModelWrapper<SocialActivity>
implements ModelWrapper<SocialActivity>, SocialActivity
This class is a wrapper for SocialActivity.
- 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.SocialActivity
ACTIVITY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the activity ID of this social activity.longReturns the activity set ID of this social activity.Returns the fully qualified class name of this social activity.longReturns the class name ID of this social activity.longReturns the class pk of this social activity.longReturns the company ID of this social activity.longReturns the create date of this social activity.longReturns the ct collection ID of this social activity.Returns the extra data of this social activity.getExtraDataValue(String key) getExtraDataValue(String key, Locale locale) longReturns the group ID of this social activity.longReturns the mirror activity ID of this social activity.longReturns the mvcc version of this social activity.longReturns the parent class name ID of this social activity.longReturns the parent class pk of this social activity.longReturns the primary key of this social activity.longReturns the receiver user ID of this social activity.Returns the receiver user uuid of this social activity.intgetType()Returns the type of this social activity.longReturns the user ID of this social activity.Returns the user uuid of this social activity.booleanisClassName(String className) voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetActivityId(long activityId) Sets the activity ID of this social activity.voidsetActivitySetId(long activitySetId) Sets the activity set ID of this social activity.voidsetAssetEntry(AssetEntry assetEntry) voidsetClassName(String className) voidsetClassNameId(long classNameId) Sets the class name ID of this social activity.voidsetClassPK(long classPK) Sets the class pk of this social activity.voidsetCompanyId(long companyId) Sets the company ID of this social activity.voidsetCreateDate(long createDate) Sets the create date of this social activity.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity.voidsetExtraData(String extraData) Sets the extra data of this social activity.voidsetExtraDataValue(String key, String value) voidsetGroupId(long groupId) Sets the group ID of this social activity.voidsetMirrorActivityId(long mirrorActivityId) Sets the mirror activity ID of this social activity.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this social activity.voidsetParentClassNameId(long parentClassNameId) Sets the parent class name ID of this social activity.voidsetParentClassPK(long parentClassPK) Sets the parent class pk of this social activity.voidsetPrimaryKey(long primaryKey) Sets the primary key of this social activity.voidsetReceiverUserId(long receiverUserId) Sets the receiver user ID of this social activity.voidsetReceiverUserUuid(String receiverUserUuid) Sets the receiver user uuid of this social activity.voidsetType(int type) Sets the type of this social activity.voidsetUserId(long userId) Sets the user ID of this social activity.voidsetUserUuid(String userUuid) Sets the user uuid of this social activity.protected SocialActivityWrapperwrap(SocialActivity socialActivity) 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
-
SocialActivityWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<SocialActivity>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<SocialActivity>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<SocialActivity>- Specified by:
cloneWithOriginalValuesin interfaceSocialActivityModel
-
getActivityId
public long getActivityId()Returns the activity ID of this social activity.- Specified by:
getActivityIdin interfaceSocialActivityModel- Returns:
- the activity ID of this social activity
-
getActivitySetId
public long getActivitySetId()Returns the activity set ID of this social activity.- Specified by:
getActivitySetIdin interfaceSocialActivityModel- Returns:
- the activity set ID of this social activity
-
getAssetEntry
- Specified by:
getAssetEntryin interfaceSocialActivity
-
getClassName
Returns the fully qualified class name of this social activity.- Specified by:
getClassNamein interfaceSocialActivityModel- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this social activity
-
getClassNameId
public long getClassNameId()Returns the class name ID of this social activity.- Specified by:
getClassNameIdin interfaceSocialActivityModel- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this social activity
-
getClassPK
public long getClassPK()Returns the class pk of this social activity.- Specified by:
getClassPKin interfaceAttachedModel- Specified by:
getClassPKin interfaceSocialActivityModel- Returns:
- the class pk of this social activity
-
getCompanyId
public long getCompanyId()Returns the company ID of this social activity.- Specified by:
getCompanyIdin interfaceShardedModel- Specified by:
getCompanyIdin interfaceSocialActivityModel- Returns:
- the company ID of this social activity
-
getCreateDate
public long getCreateDate()Returns the create date of this social activity.- Specified by:
getCreateDatein interfaceSocialActivityModel- Returns:
- the create date of this social activity
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this social activity.- Specified by:
getCtCollectionIdin interfaceCTModel<SocialActivity>- Specified by:
getCtCollectionIdin interfaceSocialActivityModel- Returns:
- the ct collection ID of this social activity
-
getExtraData
Returns the extra data of this social activity.- Specified by:
getExtraDatain interfaceSocialActivityModel- Returns:
- the extra data of this social activity
-
getExtraDataValue
- Specified by:
getExtraDataValuein interfaceSocialActivity- Throws:
JSONException
-
getExtraDataValue
- Specified by:
getExtraDataValuein interfaceSocialActivity- Throws:
JSONException
-
getGroupId
public long getGroupId()Returns the group ID of this social activity.- Specified by:
getGroupIdin interfaceSocialActivityModel- Returns:
- the group ID of this social activity
-
getMirrorActivityId
public long getMirrorActivityId()Returns the mirror activity ID of this social activity.- Specified by:
getMirrorActivityIdin interfaceSocialActivityModel- Returns:
- the mirror activity ID of this social activity
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this social activity.- Specified by:
getMvccVersionin interfaceMVCCModel- Specified by:
getMvccVersionin interfaceSocialActivityModel- Returns:
- the mvcc version of this social activity
-
getParentClassNameId
public long getParentClassNameId()Returns the parent class name ID of this social activity.- Specified by:
getParentClassNameIdin interfaceSocialActivityModel- Returns:
- the parent class name ID of this social activity
-
getParentClassPK
public long getParentClassPK()Returns the parent class pk of this social activity.- Specified by:
getParentClassPKin interfaceSocialActivityModel- Returns:
- the parent class pk of this social activity
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this social activity.- Specified by:
getPrimaryKeyin interfaceCTModel<SocialActivity>- Specified by:
getPrimaryKeyin interfaceSocialActivityModel- Returns:
- the primary key of this social activity
-
getReceiverUserId
public long getReceiverUserId()Returns the receiver user ID of this social activity.- Specified by:
getReceiverUserIdin interfaceSocialActivityModel- Returns:
- the receiver user ID of this social activity
-
getReceiverUserUuid
Returns the receiver user uuid of this social activity.- Specified by:
getReceiverUserUuidin interfaceSocialActivityModel- Returns:
- the receiver user uuid of this social activity
-
getType
public int getType()Returns the type of this social activity.- Specified by:
getTypein interfaceSocialActivityModel- Returns:
- the type of this social activity
-
getUserId
public long getUserId()Returns the user ID of this social activity.- Specified by:
getUserIdin interfaceSocialActivityModel- Returns:
- the user ID of this social activity
-
getUserUuid
Returns the user uuid of this social activity.- Specified by:
getUserUuidin interfaceSocialActivityModel- Returns:
- the user uuid of this social activity
-
isClassName
- Specified by:
isClassNamein interfaceSocialActivity
-
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
-
setActivityId
public void setActivityId(long activityId) Sets the activity ID of this social activity.- Specified by:
setActivityIdin interfaceSocialActivityModel- Parameters:
activityId- the activity ID of this social activity
-
setActivitySetId
public void setActivitySetId(long activitySetId) Sets the activity set ID of this social activity.- Specified by:
setActivitySetIdin interfaceSocialActivityModel- Parameters:
activitySetId- the activity set ID of this social activity
-
setAssetEntry
- Specified by:
setAssetEntryin interfaceSocialActivity
-
setClassName
- Specified by:
setClassNamein interfaceSocialActivityModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this social activity.- Specified by:
setClassNameIdin interfaceSocialActivityModel- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this social activity
-
setClassPK
public void setClassPK(long classPK) Sets the class pk of this social activity.- Specified by:
setClassPKin interfaceAttachedModel- Specified by:
setClassPKin interfaceSocialActivityModel- Parameters:
classPK- the class pk of this social activity
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this social activity.- Specified by:
setCompanyIdin interfaceShardedModel- Specified by:
setCompanyIdin interfaceSocialActivityModel- Parameters:
companyId- the company ID of this social activity
-
setCreateDate
public void setCreateDate(long createDate) Sets the create date of this social activity.- Specified by:
setCreateDatein interfaceSocialActivityModel- Parameters:
createDate- the create date of this social activity
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity.- Specified by:
setCtCollectionIdin interfaceCTModel<SocialActivity>- Specified by:
setCtCollectionIdin interfaceSocialActivityModel- Parameters:
ctCollectionId- the ct collection ID of this social activity
-
setExtraData
Sets the extra data of this social activity.- Specified by:
setExtraDatain interfaceSocialActivityModel- Parameters:
extraData- the extra data of this social activity
-
setExtraDataValue
- Specified by:
setExtraDataValuein interfaceSocialActivity- Throws:
JSONException
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this social activity.- Specified by:
setGroupIdin interfaceSocialActivityModel- Parameters:
groupId- the group ID of this social activity
-
setMirrorActivityId
public void setMirrorActivityId(long mirrorActivityId) Sets the mirror activity ID of this social activity.- Specified by:
setMirrorActivityIdin interfaceSocialActivityModel- Parameters:
mirrorActivityId- the mirror activity ID of this social activity
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this social activity.- Specified by:
setMvccVersionin interfaceMVCCModel- Specified by:
setMvccVersionin interfaceSocialActivityModel- Parameters:
mvccVersion- the mvcc version of this social activity
-
setParentClassNameId
public void setParentClassNameId(long parentClassNameId) Sets the parent class name ID of this social activity.- Specified by:
setParentClassNameIdin interfaceSocialActivityModel- Parameters:
parentClassNameId- the parent class name ID of this social activity
-
setParentClassPK
public void setParentClassPK(long parentClassPK) Sets the parent class pk of this social activity.- Specified by:
setParentClassPKin interfaceSocialActivityModel- Parameters:
parentClassPK- the parent class pk of this social activity
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this social activity.- Specified by:
setPrimaryKeyin interfaceCTModel<SocialActivity>- Specified by:
setPrimaryKeyin interfaceSocialActivityModel- Parameters:
primaryKey- the primary key of this social activity
-
setReceiverUserId
public void setReceiverUserId(long receiverUserId) Sets the receiver user ID of this social activity.- Specified by:
setReceiverUserIdin interfaceSocialActivityModel- Parameters:
receiverUserId- the receiver user ID of this social activity
-
setReceiverUserUuid
Sets the receiver user uuid of this social activity.- Specified by:
setReceiverUserUuidin interfaceSocialActivityModel- Parameters:
receiverUserUuid- the receiver user uuid of this social activity
-
setType
public void setType(int type) Sets the type of this social activity.- Specified by:
setTypein interfaceSocialActivityModel- Parameters:
type- the type of this social activity
-
setUserId
public void setUserId(long userId) Sets the user ID of this social activity.- Specified by:
setUserIdin interfaceSocialActivityModel- Parameters:
userId- the user ID of this social activity
-
setUserUuid
Sets the user uuid of this social activity.- Specified by:
setUserUuidin interfaceSocialActivityModel- Parameters:
userUuid- the user uuid of this social activity
-
toXmlString
- Specified by:
toXmlStringin interfaceSocialActivityModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfaceBaseModel<SocialActivity>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfaceBaseModel<SocialActivity>
-
wrap
- Specified by:
wrapin classBaseModelWrapper<SocialActivity>
-