@ProviderType public class SocialActivitySetWrapper extends Object implements SocialActivitySet, ModelWrapper<SocialActivitySet>
This class is a wrapper for SocialActivitySet.
SocialActivitySet,
Serialized FormACTIVITY_SET_ID_ACCESSOR| Constructor and Description |
|---|
SocialActivitySetWrapper(SocialActivitySet socialActivitySet) |
| Modifier and Type | Method and Description |
|---|---|
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() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
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 |
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.
|
public SocialActivitySetWrapper(SocialActivitySet socialActivitySet)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialActivitySet>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SocialActivitySet>public SocialActivitySet toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SocialActivitySet>toEscapedModel in interface SocialActivitySetModelAutoEscapeBeanHandlerpublic SocialActivitySet toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivitySet>toUnescapedModel in interface SocialActivitySetModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SocialActivitySet>isCachedModel in interface SocialActivitySetModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<SocialActivitySet>isEscapedModel in interface SocialActivitySetModeltrue 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<SocialActivitySet>isNew in interface SocialActivitySetModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SocialActivitySet>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivitySetModelpublic CacheModel<SocialActivitySet> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SocialActivitySet>toCacheModel in interface SocialActivitySetModelpublic int compareTo(SocialActivitySet socialActivitySet)
compareTo in interface SocialActivitySetModelcompareTo in interface Comparable<SocialActivitySet>public int getActivityCount()
getActivityCount in interface SocialActivitySetModelpublic int getType()
getType in interface SocialActivitySetModelpublic int hashCode()
hashCode in interface SocialActivitySetModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SocialActivitySet>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivitySetModelpublic Object clone()
BaseModelclone in interface BaseModel<SocialActivitySet>clone in interface SocialActivitySetModelclone in class Objectpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialActivitySetModelpublic String getExtraData()
getExtraData in interface SocialActivitySetModelpublic String getUserUuid()
getUserUuid in interface SocialActivitySetModelpublic String toString()
toString in interface SocialActivitySetModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<SocialActivitySet>toXmlString in interface SocialActivitySetModelpublic long getActivitySetId()
getActivitySetId in interface SocialActivitySetModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivitySetModelpublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface SocialActivitySetModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialActivitySetModelpublic long getCreateDate()
getCreateDate in interface SocialActivitySetModelpublic long getGroupId()
getGroupId in interface SocialActivitySetModelpublic long getModifiedDate()
getModifiedDate in interface SocialActivitySetModelpublic long getPrimaryKey()
getPrimaryKey in interface SocialActivitySetModelpublic long getUserId()
getUserId in interface SocialActivitySetModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setActivityCount(int activityCount)
setActivityCount in interface SocialActivitySetModelactivityCount - the activity count of this social activity setpublic void setActivitySetId(long activitySetId)
setActivitySetId in interface SocialActivitySetModelactivitySetId - the activity set ID of this social activity setpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SocialActivitySet>setCachedModel in interface SocialActivitySetModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface SocialActivitySetModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface SocialActivitySetModelclassNameId - the class name ID of this social activity setpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface SocialActivitySetModelclassPK - the class p k of this social activity setpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SocialActivitySetModelcompanyId - the company ID of this social activity setpublic void setCreateDate(long createDate)
setCreateDate in interface SocialActivitySetModelcreateDate - the create date of this social activity setpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SocialActivitySet>setExpandoBridgeAttributes in interface SocialActivitySetModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialActivitySet>setExpandoBridgeAttributes in interface SocialActivitySetModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SocialActivitySet>setExpandoBridgeAttributes in interface SocialActivitySetModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setExtraData(String extraData)
setExtraData in interface SocialActivitySetModelextraData - the extra data of this social activity setpublic void setGroupId(long groupId)
setGroupId in interface SocialActivitySetModelgroupId - the group ID of this social activity setpublic void setModifiedDate(long modifiedDate)
setModifiedDate in interface SocialActivitySetModelmodifiedDate - the modified date of this social activity setpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SocialActivitySet>setNew in interface SocialActivitySetModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialActivitySetModelprimaryKey - the primary key of this social activity setpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SocialActivitySet>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivitySetModelprimaryKeyObj - the primary key of this model instancepublic void setType(int type)
setType in interface SocialActivitySetModeltype - the type of this social activity setpublic void setUserId(long userId)
setUserId in interface SocialActivitySetModeluserId - the user ID of this social activity setpublic void setUserUuid(String userUuid)
setUserUuid in interface SocialActivitySetModeluserUuid - the user uuid of this social activity setpublic SocialActivitySet getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialActivitySet>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<SocialActivitySet>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<SocialActivitySet>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SocialActivitySet>