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 Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this social activity.
      Specified by:
      getPrimaryKey in interface CTModel<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 interface CTModel<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 interface MVCCModel
      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 interface MVCCModel
      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 interface CTModel<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 interface CTModel<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 interface ShardedModel
      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 interface ShardedModel
      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

      void setUserUuid(String userUuid)
      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 interface TypedModel
      Returns:
      the fully qualified class name of this social activity
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this social activity.
      Specified by:
      getClassNameId in interface TypedModel
      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 interface TypedModel
      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 interface AttachedModel
      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 interface AttachedModel
      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

      void setExtraData(String extraData)
      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

      void setReceiverUserUuid(String receiverUserUuid)
      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 interface BaseModel<SocialActivity>
    • toXmlString

      default String toXmlString()