@ProviderType public class SocialActivityWrapper extends java.lang.Object implements SocialActivity, ModelWrapper<SocialActivity>
This class is a wrapper for SocialActivity.
SocialActivity,
Serialized Form| Constructor and Description |
|---|
SocialActivityWrapper(SocialActivity socialActivity) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SocialActivity socialActivity) |
boolean |
equals(java.lang.Object obj) |
long |
getActivityId()
Returns the activity ID of this social activity.
|
long |
getActivitySetId()
Returns the activity set ID of this social activity.
|
AssetEntry |
getAssetEntry() |
java.lang.String |
getClassName()
Returns the fully qualified class name of this social activity.
|
long |
getClassNameId()
Returns the class name ID of this social activity.
|
long |
getClassPK()
Returns the class p k of this social activity.
|
long |
getCompanyId()
Returns the company ID of this social activity.
|
long |
getCreateDate()
Returns the create date of this social activity.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
java.lang.String |
getExtraData()
Returns the extra data of this social activity.
|
java.lang.String |
getExtraDataValue(java.lang.String key) |
java.lang.String |
getExtraDataValue(java.lang.String key,
java.util.Locale locale) |
long |
getGroupId()
Returns the group ID of this social activity.
|
long |
getMirrorActivityId()
Returns the mirror activity ID of this social activity.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getParentClassNameId()
Returns the parent class name ID of this social activity.
|
long |
getParentClassPK()
Returns the parent class p k of this social activity.
|
long |
getPrimaryKey()
Returns the primary key of this social activity.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getReceiverUserId()
Returns the receiver user ID of this social activity.
|
java.lang.String |
getReceiverUserUuid()
Returns the receiver user uuid of this social activity.
|
int |
getType()
Returns the type of this social activity.
|
long |
getUserId()
Returns the user ID of this social activity.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this social activity.
|
SocialActivity |
getWrappedModel() |
SocialActivity |
getWrappedSocialActivity()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isClassName(java.lang.String className) |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this social activity.
|
void |
setClassPK(long classPK)
Sets the class p k 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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setExtraData(java.lang.String extraData)
Sets the extra data of this social activity.
|
void |
setExtraDataValue(java.lang.String key,
java.lang.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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setParentClassNameId(long parentClassNameId)
Sets the parent class name ID of this social activity.
|
void |
setParentClassPK(long parentClassPK)
Sets the parent class p k of this social activity.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social activity.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setReceiverUserId(long receiverUserId)
Sets the receiver user ID of this social activity.
|
void |
setReceiverUserUuid(java.lang.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(java.lang.String userUuid)
Sets the user uuid of this social activity.
|
CacheModel<SocialActivity> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SocialActivity |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
SocialActivity |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public SocialActivityWrapper(SocialActivity socialActivity)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialActivity>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<SocialActivity>public long getPrimaryKey()
getPrimaryKey in interface SocialActivityModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialActivityModelprimaryKey - the primary key of this social activitypublic long getActivityId()
getActivityId in interface SocialActivityModelpublic void setActivityId(long activityId)
setActivityId in interface SocialActivityModelactivityId - the activity ID of this social activitypublic long getGroupId()
getGroupId in interface SocialActivityModelpublic void setGroupId(long groupId)
setGroupId in interface SocialActivityModelgroupId - the group ID of this social activitypublic long getCompanyId()
getCompanyId in interface SocialActivityModelpublic void setCompanyId(long companyId)
setCompanyId in interface SocialActivityModelcompanyId - the company ID of this social activitypublic long getUserId()
getUserId in interface SocialActivityModelpublic void setUserId(long userId)
setUserId in interface SocialActivityModeluserId - the user ID of this social activitypublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface SocialActivityModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface SocialActivityModeluserUuid - the user uuid of this social activitypublic long getCreateDate()
getCreateDate in interface SocialActivityModelpublic void setCreateDate(long createDate)
setCreateDate in interface SocialActivityModelcreateDate - the create date of this social activitypublic long getActivitySetId()
getActivitySetId in interface SocialActivityModelpublic void setActivitySetId(long activitySetId)
setActivitySetId in interface SocialActivityModelactivitySetId - the activity set ID of this social activitypublic long getMirrorActivityId()
getMirrorActivityId in interface SocialActivityModelpublic void setMirrorActivityId(long mirrorActivityId)
setMirrorActivityId in interface SocialActivityModelmirrorActivityId - the mirror activity ID of this social activitypublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialActivityModelpublic void setClassName(java.lang.String className)
setClassName in interface SocialActivityModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivityModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface SocialActivityModelclassNameId - the class name ID of this social activitypublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SocialActivityModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SocialActivityModelclassPK - the class p k of this social activitypublic long getParentClassNameId()
getParentClassNameId in interface SocialActivityModelpublic void setParentClassNameId(long parentClassNameId)
setParentClassNameId in interface SocialActivityModelparentClassNameId - the parent class name ID of this social activitypublic long getParentClassPK()
getParentClassPK in interface SocialActivityModelpublic void setParentClassPK(long parentClassPK)
setParentClassPK in interface SocialActivityModelparentClassPK - the parent class p k of this social activitypublic int getType()
getType in interface SocialActivityModelpublic void setType(int type)
setType in interface SocialActivityModeltype - the type of this social activitypublic java.lang.String getExtraData()
getExtraData in interface SocialActivityModelpublic void setExtraData(java.lang.String extraData)
setExtraData in interface SocialActivityModelextraData - the extra data of this social activitypublic long getReceiverUserId()
getReceiverUserId in interface SocialActivityModelpublic void setReceiverUserId(long receiverUserId)
setReceiverUserId in interface SocialActivityModelreceiverUserId - the receiver user ID of this social activitypublic java.lang.String getReceiverUserUuid()
throws SystemException
getReceiverUserUuid in interface SocialActivityModelSystemException - if a system exception occurredpublic void setReceiverUserUuid(java.lang.String receiverUserUuid)
setReceiverUserUuid in interface SocialActivityModelreceiverUserUuid - the receiver user uuid of this social activitypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<SocialActivity>isNew in interface SocialActivityModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SocialActivity>setNew in interface SocialActivityModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SocialActivity>isCachedModel in interface SocialActivityModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SocialActivity>setCachedModel in interface SocialActivityModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<SocialActivity>isEscapedModel in interface SocialActivityModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SocialActivity>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivityModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SocialActivity>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivityModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SocialActivity>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivityModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialActivity>setExpandoBridgeAttributes in interface SocialActivityModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SocialActivity>setExpandoBridgeAttributes in interface SocialActivityModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SocialActivity>setExpandoBridgeAttributes in interface SocialActivityModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<SocialActivity>clone in interface SocialActivityModelclone in class java.lang.Objectpublic int compareTo(SocialActivity socialActivity)
compareTo in interface SocialActivityModelcompareTo in interface java.lang.Comparable<SocialActivity>public int hashCode()
hashCode in interface SocialActivityModelhashCode in class java.lang.Objectpublic CacheModel<SocialActivity> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SocialActivity>toCacheModel in interface SocialActivityModelpublic SocialActivity toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SocialActivity>toEscapedModel in interface SocialActivityModelAutoEscapeBeanHandlerpublic SocialActivity toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivity>toUnescapedModel in interface SocialActivityModelpublic java.lang.String toString()
toString in interface SocialActivityModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<SocialActivity>toXmlString in interface SocialActivityModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic AssetEntry getAssetEntry() throws SystemException
getAssetEntry in interface SocialActivitySystemExceptionpublic java.lang.String getExtraDataValue(java.lang.String key)
throws JSONException
getExtraDataValue in interface SocialActivityJSONExceptionpublic java.lang.String getExtraDataValue(java.lang.String key,
java.util.Locale locale)
throws JSONException
getExtraDataValue in interface SocialActivityJSONExceptionpublic boolean isClassName(java.lang.String className)
isClassName in interface SocialActivitypublic void setAssetEntry(AssetEntry assetEntry)
setAssetEntry in interface SocialActivitypublic void setExtraDataValue(java.lang.String key,
java.lang.String value)
throws JSONException
setExtraDataValue in interface SocialActivityJSONExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic SocialActivity getWrappedSocialActivity()
getWrappedModel()public SocialActivity getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialActivity>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SocialActivity>