|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.social.model.SocialActivityWrapper
@ProviderType public class SocialActivityWrapper
This class is a wrapper for SocialActivity.
SocialActivity,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.social.model.SocialActivity |
|---|
ACTIVITY_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
SocialActivityWrapper(SocialActivity socialActivity)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialActivity socialActivity)
|
boolean |
equals(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()
|
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. |
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()
|
Class<?> |
getModelClass()
|
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. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
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. |
SocialActivity |
getWrappedModel()
|
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isClassName(String className)
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
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(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(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 |
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(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(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. |
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. |
String |
toString()
|
SocialActivity |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SocialActivityWrapper(SocialActivity socialActivity)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialActivity>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SocialActivity>public Object clone()
BaseModel
clone in interface BaseModel<SocialActivity>clone in interface SocialActivityModelclone in class Objectpublic int compareTo(SocialActivity socialActivity)
compareTo in interface SocialActivityModelcompareTo in interface Comparable<SocialActivity>public long getActivityId()
getActivityId in interface SocialActivityModelpublic long getActivitySetId()
getActivitySetId in interface SocialActivityModelpublic AssetEntry getAssetEntry()
getAssetEntry in interface SocialActivitypublic String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialActivityModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivityModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SocialActivityModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialActivityModelpublic long getCreateDate()
getCreateDate in interface SocialActivityModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SocialActivity>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivityModelpublic String getExtraData()
getExtraData in interface SocialActivityModel
public String getExtraDataValue(String key)
throws JSONException
getExtraDataValue in interface SocialActivityJSONException
public String getExtraDataValue(String key,
Locale locale)
throws JSONException
getExtraDataValue in interface SocialActivityJSONExceptionpublic long getGroupId()
getGroupId in interface SocialActivityModelpublic long getMirrorActivityId()
getMirrorActivityId in interface SocialActivityModelpublic long getParentClassNameId()
getParentClassNameId in interface SocialActivityModelpublic long getParentClassPK()
getParentClassPK in interface SocialActivityModelpublic long getPrimaryKey()
getPrimaryKey in interface SocialActivityModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SocialActivity>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivityModelpublic long getReceiverUserId()
getReceiverUserId in interface SocialActivityModelpublic String getReceiverUserUuid()
getReceiverUserUuid in interface SocialActivityModelpublic int getType()
getType in interface SocialActivityModelpublic long getUserId()
getUserId in interface SocialActivityModelpublic String getUserUuid()
getUserUuid in interface SocialActivityModelpublic int hashCode()
hashCode in interface SocialActivityModelhashCode in class Objectpublic 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 boolean isClassName(String className)
isClassName in interface SocialActivitypublic 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 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 persist()
PersistedModel
persist in interface PersistedModelpublic void setActivityId(long activityId)
setActivityId in interface SocialActivityModelactivityId - the activity ID of this social activitypublic void setActivitySetId(long activitySetId)
setActivitySetId in interface SocialActivityModelactivitySetId - the activity set ID of this social activitypublic void setAssetEntry(AssetEntry assetEntry)
setAssetEntry in interface SocialActivitypublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<SocialActivity>setCachedModel in interface SocialActivityModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface SocialActivityModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface SocialActivityModelclassNameId - the class name ID of this social activitypublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SocialActivityModelclassPK - the class p k of this social activitypublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SocialActivityModelcompanyId - the company ID of this social activitypublic void setCreateDate(long createDate)
setCreateDate in interface SocialActivityModelcreateDate - the create date of this social activitypublic 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)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<SocialActivity>setExpandoBridgeAttributes in interface SocialActivityModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setExtraData(String extraData)
setExtraData in interface SocialActivityModelextraData - the extra data of this social activity
public void setExtraDataValue(String key,
String value)
throws JSONException
setExtraDataValue in interface SocialActivityJSONExceptionpublic void setGroupId(long groupId)
setGroupId in interface SocialActivityModelgroupId - the group ID of this social activitypublic void setMirrorActivityId(long mirrorActivityId)
setMirrorActivityId in interface SocialActivityModelmirrorActivityId - the mirror activity ID of this social activitypublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<SocialActivity>setNew in interface SocialActivityModeln - whether this model instance does not yet exist in the databasepublic void setParentClassNameId(long parentClassNameId)
setParentClassNameId in interface SocialActivityModelparentClassNameId - the parent class name ID of this social activitypublic void setParentClassPK(long parentClassPK)
setParentClassPK in interface SocialActivityModelparentClassPK - the parent class p k of this social activitypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialActivityModelprimaryKey - the primary key of this social activitypublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<SocialActivity>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivityModelprimaryKeyObj - the primary key of this model instancepublic void setReceiverUserId(long receiverUserId)
setReceiverUserId in interface SocialActivityModelreceiverUserId - the receiver user ID of this social activitypublic void setReceiverUserUuid(String receiverUserUuid)
setReceiverUserUuid in interface SocialActivityModelreceiverUserUuid - the receiver user uuid of this social activitypublic void setType(int type)
setType in interface SocialActivityModeltype - the type of this social activitypublic void setUserId(long userId)
setUserId in interface SocialActivityModeluserId - the user ID of this social activitypublic void setUserUuid(String userUuid)
setUserUuid in interface SocialActivityModeluserUuid - the user uuid of this social activitypublic CacheModel<SocialActivity> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SocialActivity>toCacheModel in interface SocialActivityModelpublic SocialActivity toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SocialActivity>toEscapedModel in interface SocialActivityModelAutoEscapeBeanHandlerpublic String toString()
toString in interface SocialActivityModeltoString in class Objectpublic SocialActivity toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivity>toUnescapedModel in interface SocialActivityModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SocialActivity>toXmlString in interface SocialActivityModelpublic boolean equals(Object obj)
equals in class Objectpublic SocialActivity getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialActivity>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<SocialActivity>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<SocialActivity>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<SocialActivity>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||