|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.social.model.SocialActivityWrapper
public class SocialActivityWrapper
This class is a wrapper for SocialActivity
.
SocialActivity
,
Serialized FormConstructor 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. |
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. |
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 |
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()
|
SocialActivity |
getWrappedSocialActivity()
Deprecated. Renamed to getWrappedModel() |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
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 |
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(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 |
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 |
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivity>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivity>
public long getPrimaryKey()
getPrimaryKey
in interface SocialActivityModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SocialActivityModel
primaryKey
- the primary key of this social activitypublic long getActivityId()
getActivityId
in interface SocialActivityModel
public void setActivityId(long activityId)
setActivityId
in interface SocialActivityModel
activityId
- the activity ID of this social activitypublic long getGroupId()
getGroupId
in interface SocialActivityModel
public void setGroupId(long groupId)
setGroupId
in interface SocialActivityModel
groupId
- the group ID of this social activitypublic long getCompanyId()
getCompanyId
in interface SocialActivityModel
public void setCompanyId(long companyId)
setCompanyId
in interface SocialActivityModel
companyId
- the company ID of this social activitypublic long getUserId()
getUserId
in interface SocialActivityModel
public void setUserId(long userId)
setUserId
in interface SocialActivityModel
userId
- the user ID of this social activitypublic String getUserUuid() throws SystemException
getUserUuid
in interface SocialActivityModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface SocialActivityModel
userUuid
- the user uuid of this social activitypublic long getCreateDate()
getCreateDate
in interface SocialActivityModel
public void setCreateDate(long createDate)
setCreateDate
in interface SocialActivityModel
createDate
- the create date of this social activitypublic long getMirrorActivityId()
getMirrorActivityId
in interface SocialActivityModel
public void setMirrorActivityId(long mirrorActivityId)
setMirrorActivityId
in interface SocialActivityModel
mirrorActivityId
- the mirror activity ID of this social activitypublic String getClassName()
getClassName
in interface AttachedModel
getClassName
in interface SocialActivityModel
public void setClassName(String className)
setClassName
in interface SocialActivityModel
public long getClassNameId()
getClassNameId
in interface AttachedModel
getClassNameId
in interface SocialActivityModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AttachedModel
setClassNameId
in interface SocialActivityModel
classNameId
- the class name ID of this social activitypublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SocialActivityModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SocialActivityModel
classPK
- the class p k of this social activitypublic int getType()
getType
in interface SocialActivityModel
public void setType(int type)
setType
in interface SocialActivityModel
type
- the type of this social activitypublic String getExtraData()
getExtraData
in interface SocialActivityModel
public void setExtraData(String extraData)
setExtraData
in interface SocialActivityModel
extraData
- the extra data of this social activitypublic long getReceiverUserId()
getReceiverUserId
in interface SocialActivityModel
public void setReceiverUserId(long receiverUserId)
setReceiverUserId
in interface SocialActivityModel
receiverUserId
- the receiver user ID of this social activitypublic String getReceiverUserUuid() throws SystemException
getReceiverUserUuid
in interface SocialActivityModel
SystemException
- if a system exception occurredpublic void setReceiverUserUuid(String receiverUserUuid)
setReceiverUserUuid
in interface SocialActivityModel
receiverUserUuid
- the receiver user uuid of this social activitypublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<SocialActivity>
isNew
in interface SocialActivityModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialActivity>
setNew
in interface SocialActivityModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<SocialActivity>
isCachedModel
in interface SocialActivityModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SocialActivity>
setCachedModel
in interface SocialActivityModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<SocialActivity>
isEscapedModel
in interface SocialActivityModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivity>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SocialActivityModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivity>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SocialActivityModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivity>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivityModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivity>
setExpandoBridgeAttributes
in interface SocialActivityModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivity>
clone
in interface SocialActivityModel
clone
in class Object
public int compareTo(SocialActivity socialActivity)
compareTo
in interface SocialActivityModel
compareTo
in interface Comparable<SocialActivity>
public int hashCode()
hashCode
in interface SocialActivityModel
hashCode
in class Object
public CacheModel<SocialActivity> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivity>
toCacheModel
in interface SocialActivityModel
public SocialActivity toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SocialActivity>
toEscapedModel
in interface SocialActivityModel
AutoEscapeBeanHandler
public SocialActivity toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivity>
toUnescapedModel
in interface SocialActivityModel
public String toString()
toString
in interface SocialActivityModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivity>
toXmlString
in interface SocialActivityModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic AssetEntry getAssetEntry() throws SystemException
getAssetEntry
in interface SocialActivity
SystemException
public void setAssetEntry(AssetEntry assetEntry)
setAssetEntry
in interface SocialActivity
public boolean equals(Object obj)
equals
in class Object
public SocialActivity getWrappedSocialActivity()
getWrappedModel()
public SocialActivity getWrappedModel()
getWrappedModel
in interface ModelWrapper<SocialActivity>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivity>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |