Package com.liferay.social.kernel.model
Interface SocialActivityModel
- All Superinterfaces:
AttachedModel
,BaseModel<SocialActivity>
,ClassedModel
,Cloneable
,Comparable<SocialActivity>
,CTModel<SocialActivity>
,MVCCModel
,Serializable
,ShardedModel
,TypedModel
- All Known Subinterfaces:
SocialActivity
- All Known Implementing Classes:
SocialActivityWrapper
@ProviderType
public interface SocialActivityModel
extends AttachedModel, BaseModel<SocialActivity>, CTModel<SocialActivity>, MVCCModel, ShardedModel
The base model interface for the SocialActivity service. Represents a row in the "SocialActivity" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portlet.social.model.impl.SocialActivityModelImpl
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.SocialActivityImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
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.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.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
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
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
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.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this social activity.- Specified by:
getPrimaryKey
in interfaceCTModel<SocialActivity>
- Returns:
- the primary key of this social activity
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this social activity.- Specified by:
setPrimaryKey
in interfaceCTModel<SocialActivity>
- Parameters:
primaryKey
- the primary key of this social activity
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this social activity.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this social activity
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this social activity.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this social activity
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this social activity.- Specified by:
getCtCollectionId
in interfaceCTModel<SocialActivity>
- Returns:
- the ct collection ID of this social activity
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this social activity.- Specified by:
setCtCollectionId
in interfaceCTModel<SocialActivity>
- Parameters:
ctCollectionId
- the ct collection ID of this social activity
-
getActivityId
long getActivityId()Returns the activity ID of this social activity.- Returns:
- the activity ID of this social activity
-
setActivityId
void setActivityId(long activityId) Sets the activity ID of this social activity.- Parameters:
activityId
- the activity ID of this social activity
-
getGroupId
long getGroupId()Returns the group ID of this social activity.- Returns:
- the group ID of this social activity
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this social activity.- Parameters:
groupId
- the group ID of this social activity
-
getCompanyId
long getCompanyId()Returns the company ID of this social activity.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this social activity
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this social activity.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this social activity
-
getUserId
long getUserId()Returns the user ID of this social activity.- Returns:
- the user ID of this social activity
-
setUserId
void setUserId(long userId) Sets the user ID of this social activity.- Parameters:
userId
- the user ID of this social activity
-
getUserUuid
String getUserUuid()Returns the user uuid of this social activity.- Returns:
- the user uuid of this social activity
-
setUserUuid
Sets the user uuid of this social activity.- Parameters:
userUuid
- the user uuid of this social activity
-
getCreateDate
long getCreateDate()Returns the create date of this social activity.- Returns:
- the create date of this social activity
-
setCreateDate
void setCreateDate(long createDate) Sets the create date of this social activity.- Parameters:
createDate
- the create date of this social activity
-
getActivitySetId
long getActivitySetId()Returns the activity set ID of this social activity.- Returns:
- the activity set ID of this social activity
-
setActivitySetId
void setActivitySetId(long activitySetId) Sets the activity set ID of this social activity.- Parameters:
activitySetId
- the activity set ID of this social activity
-
getMirrorActivityId
long getMirrorActivityId()Returns the mirror activity ID of this social activity.- Returns:
- the mirror activity ID of this social activity
-
setMirrorActivityId
void setMirrorActivityId(long mirrorActivityId) Sets the mirror activity ID of this social activity.- Parameters:
mirrorActivityId
- the mirror activity ID of this social activity
-
getClassName
String getClassName()Returns the fully qualified class name of this social activity.- Specified by:
getClassName
in interfaceTypedModel
- Returns:
- the fully qualified class name of this social activity
-
setClassName
-
getClassNameId
long getClassNameId()Returns the class name ID of this social activity.- Specified by:
getClassNameId
in interfaceTypedModel
- Returns:
- the class name ID of this social activity
-
setClassNameId
void setClassNameId(long classNameId) Sets the class name ID of this social activity.- Specified by:
setClassNameId
in interfaceTypedModel
- Parameters:
classNameId
- the class name ID of this social activity
-
getClassPK
long getClassPK()Returns the class pk of this social activity.- Specified by:
getClassPK
in interfaceAttachedModel
- Returns:
- the class pk of this social activity
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this social activity.- Specified by:
setClassPK
in interfaceAttachedModel
- Parameters:
classPK
- the class pk of this social activity
-
getParentClassNameId
long getParentClassNameId()Returns the parent class name ID of this social activity.- Returns:
- the parent class name ID of this social activity
-
setParentClassNameId
void setParentClassNameId(long parentClassNameId) Sets the parent class name ID of this social activity.- Parameters:
parentClassNameId
- the parent class name ID of this social activity
-
getParentClassPK
long getParentClassPK()Returns the parent class pk of this social activity.- Returns:
- the parent class pk of this social activity
-
setParentClassPK
void setParentClassPK(long parentClassPK) Sets the parent class pk of this social activity.- Parameters:
parentClassPK
- the parent class pk of this social activity
-
getType
int getType()Returns the type of this social activity.- Returns:
- the type of this social activity
-
setType
void setType(int type) Sets the type of this social activity.- Parameters:
type
- the type of this social activity
-
getExtraData
String getExtraData()Returns the extra data of this social activity.- Returns:
- the extra data of this social activity
-
setExtraData
Sets the extra data of this social activity.- Parameters:
extraData
- the extra data of this social activity
-
getReceiverUserId
long getReceiverUserId()Returns the receiver user ID of this social activity.- Returns:
- the receiver user ID of this social activity
-
setReceiverUserId
void setReceiverUserId(long receiverUserId) Sets the receiver user ID of this social activity.- Parameters:
receiverUserId
- the receiver user ID of this social activity
-
getReceiverUserUuid
String getReceiverUserUuid()Returns the receiver user uuid of this social activity.- Returns:
- the receiver user uuid of this social activity
-
setReceiverUserUuid
Sets the receiver user uuid of this social activity.- Parameters:
receiverUserUuid
- the receiver user uuid of this social activity
-
cloneWithOriginalValues
SocialActivity cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<SocialActivity>
-
toXmlString
-