|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.social.model.SocialActivitySetWrapper
@ProviderType public class SocialActivitySetWrapper
This class is a wrapper for SocialActivitySet
.
SocialActivitySet
,
Serialized FormConstructor Summary | |
---|---|
SocialActivitySetWrapper(SocialActivitySet socialActivitySet)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(SocialActivitySet socialActivitySet)
|
boolean |
equals(Object obj)
|
int |
getActivityCount()
Returns the activity count of this social activity set. |
long |
getActivitySetId()
Returns the activity set ID of this social activity set. |
String |
getClassName()
Returns the fully qualified class name of this social activity set. |
long |
getClassNameId()
Returns the class name ID of this social activity set. |
long |
getClassPK()
Returns the class p k of this social activity set. |
long |
getCompanyId()
Returns the company ID of this social activity set. |
long |
getCreateDate()
Returns the create date of this social activity set. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getExtraData()
Returns the extra data of this social activity set. |
long |
getGroupId()
Returns the group ID of this social activity set. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getModifiedDate()
Returns the modified date of this social activity set. |
long |
getPrimaryKey()
Returns the primary key of this social activity set. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getType()
Returns the type of this social activity set. |
long |
getUserId()
Returns the user ID of this social activity set. |
String |
getUserUuid()
Returns the user uuid of this social activity set. |
SocialActivitySet |
getWrappedModel()
|
SocialActivitySet |
getWrappedSocialActivitySet()
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 |
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 |
setActivityCount(int activityCount)
Sets the activity count of this social activity set. |
void |
setActivitySetId(long activitySetId)
Sets the activity set ID of this social activity set. |
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 set. |
void |
setClassPK(long classPK)
Sets the class p k of this social activity set. |
void |
setCompanyId(long companyId)
Sets the company ID of this social activity set. |
void |
setCreateDate(long createDate)
Sets the create date of this social activity set. |
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 set. |
void |
setGroupId(long groupId)
Sets the group ID of this social activity set. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(long modifiedDate)
Sets the modified date of this social activity set. |
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 set. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setType(int type)
Sets the type of this social activity set. |
void |
setUserId(long userId)
Sets the user ID of this social activity set. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this social activity set. |
CacheModel<SocialActivitySet> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
SocialActivitySet |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
SocialActivitySet |
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 SocialActivitySetWrapper(SocialActivitySet socialActivitySet)
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<SocialActivitySet>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivitySet>
public long getPrimaryKey()
getPrimaryKey
in interface SocialActivitySetModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SocialActivitySetModel
primaryKey
- the primary key of this social activity setpublic long getActivitySetId()
getActivitySetId
in interface SocialActivitySetModel
public void setActivitySetId(long activitySetId)
setActivitySetId
in interface SocialActivitySetModel
activitySetId
- the activity set ID of this social activity setpublic long getGroupId()
getGroupId
in interface SocialActivitySetModel
public void setGroupId(long groupId)
setGroupId
in interface SocialActivitySetModel
groupId
- the group ID of this social activity setpublic long getCompanyId()
getCompanyId
in interface SocialActivitySetModel
public void setCompanyId(long companyId)
setCompanyId
in interface SocialActivitySetModel
companyId
- the company ID of this social activity setpublic long getUserId()
getUserId
in interface SocialActivitySetModel
public void setUserId(long userId)
setUserId
in interface SocialActivitySetModel
userId
- the user ID of this social activity setpublic String getUserUuid() throws SystemException
getUserUuid
in interface SocialActivitySetModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid
in interface SocialActivitySetModel
userUuid
- the user uuid of this social activity setpublic long getCreateDate()
getCreateDate
in interface SocialActivitySetModel
public void setCreateDate(long createDate)
setCreateDate
in interface SocialActivitySetModel
createDate
- the create date of this social activity setpublic long getModifiedDate()
getModifiedDate
in interface SocialActivitySetModel
public void setModifiedDate(long modifiedDate)
setModifiedDate
in interface SocialActivitySetModel
modifiedDate
- the modified date of this social activity setpublic String getClassName()
getClassName
in interface TypedModel
getClassName
in interface SocialActivitySetModel
public void setClassName(String className)
setClassName
in interface SocialActivitySetModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface SocialActivitySetModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface SocialActivitySetModel
classNameId
- the class name ID of this social activity setpublic long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SocialActivitySetModel
public void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SocialActivitySetModel
classPK
- the class p k of this social activity setpublic int getType()
getType
in interface SocialActivitySetModel
public void setType(int type)
setType
in interface SocialActivitySetModel
type
- the type of this social activity setpublic String getExtraData()
getExtraData
in interface SocialActivitySetModel
public void setExtraData(String extraData)
setExtraData
in interface SocialActivitySetModel
extraData
- the extra data of this social activity setpublic int getActivityCount()
getActivityCount
in interface SocialActivitySetModel
public void setActivityCount(int activityCount)
setActivityCount
in interface SocialActivitySetModel
activityCount
- the activity count of this social activity setpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<SocialActivitySet>
isNew
in interface SocialActivitySetModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialActivitySet>
setNew
in interface SocialActivitySetModel
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<SocialActivitySet>
isCachedModel
in interface SocialActivitySetModel
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<SocialActivitySet>
setCachedModel
in interface SocialActivitySetModel
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<SocialActivitySet>
isEscapedModel
in interface SocialActivitySetModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivitySet>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SocialActivitySetModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivitySet>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SocialActivitySetModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivitySet>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivitySetModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySet>
setExpandoBridgeAttributes
in interface SocialActivitySetModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySet>
setExpandoBridgeAttributes
in interface SocialActivitySetModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySet>
setExpandoBridgeAttributes
in interface SocialActivitySetModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivitySet>
clone
in interface SocialActivitySetModel
clone
in class Object
public int compareTo(SocialActivitySet socialActivitySet)
compareTo
in interface SocialActivitySetModel
compareTo
in interface Comparable<SocialActivitySet>
public int hashCode()
hashCode
in interface SocialActivitySetModel
hashCode
in class Object
public CacheModel<SocialActivitySet> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivitySet>
toCacheModel
in interface SocialActivitySetModel
public SocialActivitySet toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SocialActivitySet>
toEscapedModel
in interface SocialActivitySetModel
AutoEscapeBeanHandler
public SocialActivitySet toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivitySet>
toUnescapedModel
in interface SocialActivitySetModel
public String toString()
toString
in interface SocialActivitySetModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivitySet>
toXmlString
in interface SocialActivitySetModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic boolean equals(Object obj)
equals
in class Object
public SocialActivitySet getWrappedSocialActivitySet()
getWrappedModel()
public SocialActivitySet getWrappedModel()
getWrappedModel
in interface ModelWrapper<SocialActivitySet>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivitySet>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |