public class SocialActivityWrapper extends BaseModelWrapper<SocialActivity> implements ModelWrapper<SocialActivity>, SocialActivity
This class is a wrapper for SocialActivity
.
SocialActivity
,
Serialized Formmodel
ACTIVITY_ID_ACCESSOR
Constructor and Description |
---|
SocialActivityWrapper(SocialActivity socialActivity) |
Modifier and Type | Method and Description |
---|---|
long |
getActivityId()
Returns the activity ID of this social activity.
|
long |
getActivitySetId()
Returns the activity set ID of this social activity.
|
AssetEntry |
getAssetEntry() |
Map<String,Function<SocialActivity,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<SocialActivity,Object>> |
getAttributeSetterBiConsumers() |
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 pk of this social activity.
|
long |
getCompanyId()
Returns the company ID of this social activity.
|
long |
getCreateDate()
Returns the create date of this social activity.
|
long |
getCtCollectionId()
Returns the ct collection ID of this social activity.
|
String |
getExtraData()
Returns the extra data of this social activity.
|
String |
getExtraDataValue(String key) |
String |
getExtraDataValue(String key,
Locale locale) |
long |
getGroupId()
Returns the group ID of this social activity.
|
long |
getMirrorActivityId()
Returns the mirror activity ID of this social activity.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this social activity.
|
long |
getParentClassNameId()
Returns the parent class name ID of this social activity.
|
long |
getParentClassPK()
Returns the parent class pk of this social activity.
|
long |
getPrimaryKey()
Returns the primary key of this social activity.
|
long |
getReceiverUserId()
Returns the receiver user ID of this social activity.
|
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.
|
String |
getUserUuid()
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) |
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, toXmlString
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public SocialActivityWrapper(SocialActivity socialActivity)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivity>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivity>
public long getActivityId()
getActivityId
in interface SocialActivityModel
public long getActivitySetId()
getActivitySetId
in interface SocialActivityModel
public AssetEntry getAssetEntry()
getAssetEntry
in interface SocialActivity
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface SocialActivityModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface SocialActivityModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SocialActivityModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface SocialActivityModel
public long getCreateDate()
getCreateDate
in interface SocialActivityModel
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<SocialActivity>
getCtCollectionId
in interface SocialActivityModel
public String getExtraData()
getExtraData
in interface SocialActivityModel
public String getExtraDataValue(String key) throws JSONException
getExtraDataValue
in interface SocialActivity
JSONException
public String getExtraDataValue(String key, Locale locale) throws JSONException
getExtraDataValue
in interface SocialActivity
JSONException
public long getGroupId()
getGroupId
in interface SocialActivityModel
public long getMirrorActivityId()
getMirrorActivityId
in interface SocialActivityModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface SocialActivityModel
public long getParentClassNameId()
getParentClassNameId
in interface SocialActivityModel
public long getParentClassPK()
getParentClassPK
in interface SocialActivityModel
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<SocialActivity>
getPrimaryKey
in interface SocialActivityModel
public long getReceiverUserId()
getReceiverUserId
in interface SocialActivityModel
public String getReceiverUserUuid()
getReceiverUserUuid
in interface SocialActivityModel
public int getType()
getType
in interface SocialActivityModel
public long getUserId()
getUserId
in interface SocialActivityModel
public String getUserUuid()
getUserUuid
in interface SocialActivityModel
public boolean isClassName(String className)
isClassName
in interface SocialActivity
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setActivityId(long activityId)
setActivityId
in interface SocialActivityModel
activityId
- the activity ID of this social activitypublic void setActivitySetId(long activitySetId)
setActivitySetId
in interface SocialActivityModel
activitySetId
- the activity set ID of this social activitypublic void setAssetEntry(AssetEntry assetEntry)
setAssetEntry
in interface SocialActivity
public void setClassName(String className)
setClassName
in interface SocialActivityModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface SocialActivityModel
classNameId
- the class name ID of this social activitypublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SocialActivityModel
classPK
- the class pk of this social activitypublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface SocialActivityModel
companyId
- the company ID of this social activitypublic void setCreateDate(long createDate)
setCreateDate
in interface SocialActivityModel
createDate
- the create date of this social activitypublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<SocialActivity>
setCtCollectionId
in interface SocialActivityModel
ctCollectionId
- the ct collection ID of this social activitypublic void setExtraData(String extraData)
setExtraData
in interface SocialActivityModel
extraData
- the extra data of this social activitypublic void setExtraDataValue(String key, String value) throws JSONException
setExtraDataValue
in interface SocialActivity
JSONException
public void setGroupId(long groupId)
setGroupId
in interface SocialActivityModel
groupId
- the group ID of this social activitypublic void setMirrorActivityId(long mirrorActivityId)
setMirrorActivityId
in interface SocialActivityModel
mirrorActivityId
- the mirror activity ID of this social activitypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface SocialActivityModel
mvccVersion
- the mvcc version of this social activitypublic void setParentClassNameId(long parentClassNameId)
setParentClassNameId
in interface SocialActivityModel
parentClassNameId
- the parent class name ID of this social activitypublic void setParentClassPK(long parentClassPK)
setParentClassPK
in interface SocialActivityModel
parentClassPK
- the parent class pk of this social activitypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<SocialActivity>
setPrimaryKey
in interface SocialActivityModel
primaryKey
- the primary key of this social activitypublic void setReceiverUserId(long receiverUserId)
setReceiverUserId
in interface SocialActivityModel
receiverUserId
- the receiver user ID of this social activitypublic void setReceiverUserUuid(String receiverUserUuid)
setReceiverUserUuid
in interface SocialActivityModel
receiverUserUuid
- the receiver user uuid of this social activitypublic void setType(int type)
setType
in interface SocialActivityModel
type
- the type of this social activitypublic void setUserId(long userId)
setUserId
in interface SocialActivityModel
userId
- the user ID of this social activitypublic void setUserUuid(String userUuid)
setUserUuid
in interface SocialActivityModel
userUuid
- the user uuid of this social activitypublic Map<String,Function<SocialActivity,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<SocialActivity>
public Map<String,BiConsumer<SocialActivity,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<SocialActivity>
protected SocialActivityWrapper wrap(SocialActivity socialActivity)
wrap
in class BaseModelWrapper<SocialActivity>