@ProviderType public class SocialActivitySettingWrapper extends Object implements SocialActivitySetting, ModelWrapper<SocialActivitySetting>
This class is a wrapper for SocialActivitySetting.
SocialActivitySetting,
Serialized FormACTIVITY_SETTING_ID_ACCESSOR| Constructor and Description |
|---|
SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SocialActivitySetting socialActivitySetting) |
boolean |
equals(Object obj) |
long |
getActivitySettingId()
Returns the activity setting ID of this social activity setting.
|
int |
getActivityType()
Returns the activity type of this social activity setting.
|
String |
getClassName()
Returns the fully qualified class name of this social activity setting.
|
long |
getClassNameId()
Returns the class name ID of this social activity setting.
|
long |
getCompanyId()
Returns the company ID of this social activity setting.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this social activity setting.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
String |
getName()
Returns the name of this social activity setting.
|
long |
getPrimaryKey()
Returns the primary key of this social activity setting.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
String |
getValue()
Returns the value of this social activity setting.
|
SocialActivitySetting |
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 |
setActivitySettingId(long activitySettingId)
Sets the activity setting ID of this social activity setting.
|
void |
setActivityType(int activityType)
Sets the activity type of this social activity setting.
|
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 setting.
|
void |
setCompanyId(long companyId)
Sets the company ID of this social activity setting.
|
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 |
setGroupId(long groupId)
Sets the group ID of this social activity setting.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setName(String name)
Sets the name of this social activity setting.
|
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 setting.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setValue(String value)
Sets the value of this social activity setting.
|
CacheModel<SocialActivitySetting> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SocialActivitySetting |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
SocialActivitySetting |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialActivitySetting>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<SocialActivitySetting>public SocialActivitySetting toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SocialActivitySetting>toEscapedModel in interface SocialActivitySettingModelAutoEscapeBeanHandlerpublic SocialActivitySetting toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivitySetting>toUnescapedModel in interface SocialActivitySettingModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SocialActivitySetting>isCachedModel in interface SocialActivitySettingModeltrue 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<SocialActivitySetting>isEscapedModel in interface SocialActivitySettingModeltrue 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<SocialActivitySetting>isNew in interface SocialActivitySettingModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SocialActivitySetting>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivitySettingModelpublic CacheModel<SocialActivitySetting> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SocialActivitySetting>toCacheModel in interface SocialActivitySettingModelpublic int compareTo(SocialActivitySetting socialActivitySetting)
compareTo in interface SocialActivitySettingModelcompareTo in interface Comparable<SocialActivitySetting>public int getActivityType()
getActivityType in interface SocialActivitySettingModelpublic int hashCode()
hashCode in interface SocialActivitySettingModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SocialActivitySetting>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivitySettingModelpublic Object clone()
BaseModelclone in interface BaseModel<SocialActivitySetting>clone in interface SocialActivitySettingModelclone in class Objectpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialActivitySettingModelpublic String getName()
getName in interface SocialActivitySettingModelpublic String getValue()
getValue in interface SocialActivitySettingModelpublic String toString()
toString in interface SocialActivitySettingModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<SocialActivitySetting>toXmlString in interface SocialActivitySettingModelpublic long getActivitySettingId()
getActivitySettingId in interface SocialActivitySettingModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivitySettingModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialActivitySettingModelpublic long getGroupId()
getGroupId in interface SocialActivitySettingModelpublic long getPrimaryKey()
getPrimaryKey in interface SocialActivitySettingModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setActivitySettingId(long activitySettingId)
setActivitySettingId in interface SocialActivitySettingModelactivitySettingId - the activity setting ID of this social activity settingpublic void setActivityType(int activityType)
setActivityType in interface SocialActivitySettingModelactivityType - the activity type of this social activity settingpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SocialActivitySetting>setCachedModel in interface SocialActivitySettingModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setClassName(String className)
setClassName in interface SocialActivitySettingModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface SocialActivitySettingModelclassNameId - the class name ID of this social activity settingpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface SocialActivitySettingModelcompanyId - the company ID of this social activity settingpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SocialActivitySetting>setExpandoBridgeAttributes in interface SocialActivitySettingModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialActivitySetting>setExpandoBridgeAttributes in interface SocialActivitySettingModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SocialActivitySetting>setExpandoBridgeAttributes in interface SocialActivitySettingModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface SocialActivitySettingModelgroupId - the group ID of this social activity settingpublic void setName(String name)
setName in interface SocialActivitySettingModelname - the name of this social activity settingpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SocialActivitySetting>setNew in interface SocialActivitySettingModeln - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialActivitySettingModelprimaryKey - the primary key of this social activity settingpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SocialActivitySetting>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivitySettingModelprimaryKeyObj - the primary key of this model instancepublic void setValue(String value)
setValue in interface SocialActivitySettingModelvalue - the value of this social activity settingpublic SocialActivitySetting getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialActivitySetting>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<SocialActivitySetting>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<SocialActivitySetting>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SocialActivitySetting>