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
model
Fields inherited from interface com.liferay.social.kernel.model.SocialActivity
ACTIVITY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the activity ID of this social activity.long
Returns the activity set ID of this social activity.Returns the fully qualified class name of this social activity.long
Returns the class name ID of this social activity.long
Returns the class pk of this social activity.long
Returns the company ID of this social activity.long
Returns the create date of this social activity.long
Returns the ct collection ID of this social activity.Returns the extra data of this social activity.getExtraDataValue
(String key) getExtraDataValue
(String key, Locale locale) long
Returns the group ID of this social activity.long
Returns the mirror activity ID of this social activity.long
Returns the mvcc version of this social activity.long
Returns the parent class name ID of this social activity.long
Returns the parent class pk of this social activity.long
Returns the primary key of this social activity.long
Returns the receiver user ID of this social activity.Returns the receiver user uuid of this social activity.int
getType()
Returns the type of this social activity.long
Returns the user ID of this social activity.Returns the user uuid of this social activity.boolean
isClassName
(String className) void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setActivityId
(long activityId) Sets the activity ID of this social activity.void
setActivitySetId
(long activitySetId) Sets the activity set ID of this social activity.void
setAssetEntry
(AssetEntry assetEntry) void
setClassName
(String className) void
setClassNameId
(long classNameId) Sets the class name ID of this social activity.void
setClassPK
(long classPK) Sets the class pk of this social activity.void
setCompanyId
(long companyId) Sets the company ID of this social activity.void
setCreateDate
(long createDate) Sets the create date of this social activity.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this social activity.void
setExtraData
(String extraData) Sets the extra data of this social activity.void
setExtraDataValue
(String key, String value) void
setGroupId
(long groupId) Sets the group ID of this social activity.void
setMirrorActivityId
(long mirrorActivityId) Sets the mirror activity ID of this social activity.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this social activity.void
setParentClassNameId
(long parentClassNameId) Sets the parent class name ID of this social activity.void
setParentClassPK
(long parentClassPK) Sets the parent class pk of this social activity.void
setPrimaryKey
(long primaryKey) Sets the primary key of this social activity.void
setReceiverUserId
(long receiverUserId) Sets the receiver user ID of this social activity.void
setReceiverUserUuid
(String receiverUserUuid) Sets the receiver user uuid of this social activity.void
setType
(int type) Sets the type of this social activity.void
setUserId
(long userId) Sets the user ID of this social activity.void
setUserUuid
(String userUuid) Sets the user uuid of this social activity.protected SocialActivityWrapper
wrap
(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, 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
-
SocialActivityWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<SocialActivity>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<SocialActivity>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<SocialActivity>
- Specified by:
cloneWithOriginalValues
in interfaceSocialActivityModel
-
getActivityId
public long getActivityId()Returns the activity ID of this social activity.- Specified by:
getActivityId
in interfaceSocialActivityModel
- Returns:
- the activity ID of this social activity
-
getActivitySetId
public long getActivitySetId()Returns the activity set ID of this social activity.- Specified by:
getActivitySetId
in interfaceSocialActivityModel
- Returns:
- the activity set ID of this social activity
-
getAssetEntry
- Specified by:
getAssetEntry
in interfaceSocialActivity
-
getClassName
Returns the fully qualified class name of this social activity.- Specified by:
getClassName
in interfaceSocialActivityModel
- Specified by:
getClassName
in 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:
getClassNameId
in interfaceSocialActivityModel
- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this social activity
-
getClassPK
public long getClassPK()Returns the class pk of this social activity.- Specified by:
getClassPK
in interfaceAttachedModel
- Specified by:
getClassPK
in interfaceSocialActivityModel
- Returns:
- the class pk of this social activity
-
getCompanyId
public long getCompanyId()Returns the company ID of this social activity.- Specified by:
getCompanyId
in interfaceShardedModel
- Specified by:
getCompanyId
in interfaceSocialActivityModel
- Returns:
- the company ID of this social activity
-
getCreateDate
public long getCreateDate()Returns the create date of this social activity.- Specified by:
getCreateDate
in interfaceSocialActivityModel
- Returns:
- the create date of this social activity
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this social activity.- Specified by:
getCtCollectionId
in interfaceCTModel<SocialActivity>
- Specified by:
getCtCollectionId
in interfaceSocialActivityModel
- Returns:
- the ct collection ID of this social activity
-
getExtraData
Returns the extra data of this social activity.- Specified by:
getExtraData
in interfaceSocialActivityModel
- Returns:
- the extra data of this social activity
-
getExtraDataValue
- Specified by:
getExtraDataValue
in interfaceSocialActivity
- Throws:
JSONException
-
getExtraDataValue
- Specified by:
getExtraDataValue
in interfaceSocialActivity
- Throws:
JSONException
-
getGroupId
public long getGroupId()Returns the group ID of this social activity.- Specified by:
getGroupId
in interfaceSocialActivityModel
- Returns:
- the group ID of this social activity
-
getMirrorActivityId
public long getMirrorActivityId()Returns the mirror activity ID of this social activity.- Specified by:
getMirrorActivityId
in interfaceSocialActivityModel
- Returns:
- the mirror activity ID of this social activity
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this social activity.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Specified by:
getMvccVersion
in 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:
getParentClassNameId
in 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:
getParentClassPK
in interfaceSocialActivityModel
- Returns:
- the parent class pk of this social activity
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this social activity.- Specified by:
getPrimaryKey
in interfaceCTModel<SocialActivity>
- Specified by:
getPrimaryKey
in interfaceSocialActivityModel
- Returns:
- the primary key of this social activity
-
getReceiverUserId
public long getReceiverUserId()Returns the receiver user ID of this social activity.- Specified by:
getReceiverUserId
in interfaceSocialActivityModel
- Returns:
- the receiver user ID of this social activity
-
getReceiverUserUuid
Returns the receiver user uuid of this social activity.- Specified by:
getReceiverUserUuid
in interfaceSocialActivityModel
- Returns:
- the receiver user uuid of this social activity
-
getType
public int getType()Returns the type of this social activity.- Specified by:
getType
in interfaceSocialActivityModel
- Returns:
- the type of this social activity
-
getUserId
public long getUserId()Returns the user ID of this social activity.- Specified by:
getUserId
in interfaceSocialActivityModel
- Returns:
- the user ID of this social activity
-
getUserUuid
Returns the user uuid of this social activity.- Specified by:
getUserUuid
in interfaceSocialActivityModel
- Returns:
- the user uuid of this social activity
-
isClassName
- Specified by:
isClassName
in interfaceSocialActivity
-
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
-
setActivityId
public void setActivityId(long activityId) Sets the activity ID of this social activity.- Specified by:
setActivityId
in 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:
setActivitySetId
in interfaceSocialActivityModel
- Parameters:
activitySetId
- the activity set ID of this social activity
-
setAssetEntry
- Specified by:
setAssetEntry
in interfaceSocialActivity
-
setClassName
- Specified by:
setClassName
in interfaceSocialActivityModel
-
setClassNameId
public void setClassNameId(long classNameId) Sets the class name ID of this social activity.- Specified by:
setClassNameId
in interfaceSocialActivityModel
- Specified by:
setClassNameId
in 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:
setClassPK
in interfaceAttachedModel
- Specified by:
setClassPK
in 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:
setCompanyId
in interfaceShardedModel
- Specified by:
setCompanyId
in 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:
setCreateDate
in 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:
setCtCollectionId
in interfaceCTModel<SocialActivity>
- Specified by:
setCtCollectionId
in interfaceSocialActivityModel
- Parameters:
ctCollectionId
- the ct collection ID of this social activity
-
setExtraData
Sets the extra data of this social activity.- Specified by:
setExtraData
in interfaceSocialActivityModel
- Parameters:
extraData
- the extra data of this social activity
-
setExtraDataValue
- Specified by:
setExtraDataValue
in interfaceSocialActivity
- Throws:
JSONException
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this social activity.- Specified by:
setGroupId
in 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:
setMirrorActivityId
in 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:
setMvccVersion
in interfaceMVCCModel
- Specified by:
setMvccVersion
in 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:
setParentClassNameId
in 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:
setParentClassPK
in 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:
setPrimaryKey
in interfaceCTModel<SocialActivity>
- Specified by:
setPrimaryKey
in 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:
setReceiverUserId
in interfaceSocialActivityModel
- Parameters:
receiverUserId
- the receiver user ID of this social activity
-
setReceiverUserUuid
Sets the receiver user uuid of this social activity.- Specified by:
setReceiverUserUuid
in 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:
setType
in 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:
setUserId
in interfaceSocialActivityModel
- Parameters:
userId
- the user ID of this social activity
-
setUserUuid
Sets the user uuid of this social activity.- Specified by:
setUserUuid
in interfaceSocialActivityModel
- Parameters:
userUuid
- the user uuid of this social activity
-
toXmlString
- Specified by:
toXmlString
in interfaceSocialActivityModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<SocialActivity>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<SocialActivity>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<SocialActivity>
-