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 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.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.voidsetActivityId(long activityId) Sets the activity ID of this social activity.voidsetActivitySetId(long activitySetId) Sets the activity set ID of this social activity.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.voidsetGroupId(long groupId) Sets the group ID of this social activity.voidsetMirrorActivityId(long mirrorActivityId) Sets the mirror activity ID of this social activity.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.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this social activity.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin interfaceCTModel<SocialActivity>- Parameters:
primaryKey- the primary key of this social activity
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this social activity.- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this social activity
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this social activity.- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this social activity
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this social activity.- Specified by:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this social activity
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this social activity.- Specified by:
setCompanyIdin 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:
getClassNamein 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:
getClassNameIdin 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:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this social activity
-
getClassPK
long getClassPK()Returns the class pk of this social activity.- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this social activity
-
setClassPK
void setClassPK(long classPK) Sets the class pk of this social activity.- Specified by:
setClassPKin 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:
cloneWithOriginalValuesin interfaceBaseModel<SocialActivity>
-
toXmlString
-