@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivitySetting>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivitySetting>
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivitySetting>
clone
in interface SocialActivitySettingModel
clone
in class Object
public int compareTo(SocialActivitySetting socialActivitySetting)
compareTo
in interface SocialActivitySettingModel
compareTo
in interface Comparable<SocialActivitySetting>
public long getActivitySettingId()
getActivitySettingId
in interface SocialActivitySettingModel
public int getActivityType()
getActivityType
in interface SocialActivitySettingModel
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface SocialActivitySettingModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface SocialActivitySettingModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface SocialActivitySettingModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivitySetting>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivitySettingModel
public long getGroupId()
getGroupId
in interface SocialActivitySettingModel
public String getName()
getName
in interface SocialActivitySettingModel
public long getPrimaryKey()
getPrimaryKey
in interface SocialActivitySettingModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivitySetting>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SocialActivitySettingModel
public String getValue()
getValue
in interface SocialActivitySettingModel
public int hashCode()
hashCode
in interface SocialActivitySettingModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<SocialActivitySetting>
isCachedModel
in interface SocialActivitySettingModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<SocialActivitySetting>
isEscapedModel
in interface SocialActivitySettingModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<SocialActivitySetting>
isNew
in interface SocialActivitySettingModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setActivitySettingId(long activitySettingId)
setActivitySettingId
in interface SocialActivitySettingModel
activitySettingId
- the activity setting ID of this social activity settingpublic void setActivityType(int activityType)
setActivityType
in interface SocialActivitySettingModel
activityType
- the activity type of this social activity settingpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SocialActivitySetting>
setCachedModel
in interface SocialActivitySettingModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setClassName(String className)
setClassName
in interface SocialActivitySettingModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface SocialActivitySettingModel
classNameId
- the class name ID of this social activity settingpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface SocialActivitySettingModel
companyId
- the company ID of this social activity settingpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySetting>
setExpandoBridgeAttributes
in interface SocialActivitySettingModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySetting>
setExpandoBridgeAttributes
in interface SocialActivitySettingModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySetting>
setExpandoBridgeAttributes
in interface SocialActivitySettingModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface SocialActivitySettingModel
groupId
- the group ID of this social activity settingpublic void setName(String name)
setName
in interface SocialActivitySettingModel
name
- the name of this social activity settingpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialActivitySetting>
setNew
in interface SocialActivitySettingModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SocialActivitySettingModel
primaryKey
- the primary key of this social activity settingpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivitySetting>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SocialActivitySettingModel
primaryKeyObj
- the primary key of this model instancepublic void setValue(String value)
setValue
in interface SocialActivitySettingModel
value
- the value of this social activity settingpublic CacheModel<SocialActivitySetting> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivitySetting>
toCacheModel
in interface SocialActivitySettingModel
public SocialActivitySetting toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<SocialActivitySetting>
toEscapedModel
in interface SocialActivitySettingModel
AutoEscapeBeanHandler
public String toString()
toString
in interface SocialActivitySettingModel
toString
in class Object
public SocialActivitySetting toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivitySetting>
toUnescapedModel
in interface SocialActivitySettingModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivitySetting>
toXmlString
in interface SocialActivitySettingModel
public boolean equals(Object obj)
equals
in class Object
public SocialActivitySetting getWrappedModel()
getWrappedModel
in interface ModelWrapper<SocialActivitySetting>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivitySetting>