@ProviderType public class SocialActivitySettingWrapper extends java.lang.Object implements SocialActivitySetting, ModelWrapper<SocialActivitySetting>
This class is a wrapper for SocialActivitySetting.
SocialActivitySetting,
Serialized Form| Constructor and Description |
|---|
SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SocialActivitySetting socialActivitySetting) |
boolean |
equals(java.lang.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.
|
java.lang.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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.String |
getName()
Returns the name of this social activity setting.
|
long |
getPrimaryKey()
Returns the primary key of this social activity setting.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
java.lang.String |
getValue()
Returns the value of this social activity setting.
|
SocialActivitySetting |
getWrappedModel() |
SocialActivitySetting |
getWrappedSocialActivitySetting()
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 |
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(java.lang.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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.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(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setValue(java.lang.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. |
java.lang.String |
toString() |
SocialActivitySetting |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialActivitySetting>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<SocialActivitySetting>public long getPrimaryKey()
getPrimaryKey in interface SocialActivitySettingModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialActivitySettingModelprimaryKey - the primary key of this social activity settingpublic long getActivitySettingId()
getActivitySettingId in interface SocialActivitySettingModelpublic void setActivitySettingId(long activitySettingId)
setActivitySettingId in interface SocialActivitySettingModelactivitySettingId - the activity setting ID of this social activity settingpublic long getGroupId()
getGroupId in interface SocialActivitySettingModelpublic void setGroupId(long groupId)
setGroupId in interface SocialActivitySettingModelgroupId - the group ID of this social activity settingpublic long getCompanyId()
getCompanyId in interface SocialActivitySettingModelpublic void setCompanyId(long companyId)
setCompanyId in interface SocialActivitySettingModelcompanyId - the company ID of this social activity settingpublic java.lang.String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialActivitySettingModelpublic void setClassName(java.lang.String className)
setClassName in interface SocialActivitySettingModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivitySettingModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface SocialActivitySettingModelclassNameId - the class name ID of this social activity settingpublic int getActivityType()
getActivityType in interface SocialActivitySettingModelpublic void setActivityType(int activityType)
setActivityType in interface SocialActivitySettingModelactivityType - the activity type of this social activity settingpublic java.lang.String getName()
getName in interface SocialActivitySettingModelpublic void setName(java.lang.String name)
setName in interface SocialActivitySettingModelname - the name of this social activity settingpublic java.lang.String getValue()
getValue in interface SocialActivitySettingModelpublic void setValue(java.lang.String value)
setValue in interface SocialActivitySettingModelvalue - the value of this social activity settingpublic 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 void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SocialActivitySetting>setNew in interface SocialActivitySettingModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SocialActivitySetting>setCachedModel in interface SocialActivitySettingModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SocialActivitySetting>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivitySettingModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SocialActivitySetting>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivitySettingModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SocialActivitySetting>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivitySettingModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialActivitySetting>setExpandoBridgeAttributes in interface SocialActivitySettingModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
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 java.lang.Object clone()
BaseModelclone in interface BaseModel<SocialActivitySetting>clone in interface SocialActivitySettingModelclone in class java.lang.Objectpublic int compareTo(SocialActivitySetting socialActivitySetting)
compareTo in interface SocialActivitySettingModelcompareTo in interface java.lang.Comparable<SocialActivitySetting>public int hashCode()
hashCode in interface SocialActivitySettingModelhashCode in class java.lang.Objectpublic CacheModel<SocialActivitySetting> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SocialActivitySetting>toCacheModel in interface SocialActivitySettingModelpublic SocialActivitySetting toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SocialActivitySetting>toEscapedModel in interface SocialActivitySettingModelAutoEscapeBeanHandlerpublic SocialActivitySetting toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivitySetting>toUnescapedModel in interface SocialActivitySettingModelpublic java.lang.String toString()
toString in interface SocialActivitySettingModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<SocialActivitySetting>toXmlString in interface SocialActivitySettingModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic SocialActivitySetting getWrappedSocialActivitySetting()
getWrappedModel()public SocialActivitySetting getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialActivitySetting>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SocialActivitySetting>