|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.social.model.SocialActivitySettingWrapper
@ProviderType public class SocialActivitySettingWrapper
This class is a wrapper for SocialActivitySetting.
SocialActivitySetting,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.social.model.SocialActivitySetting |
|---|
ACTIVITY_SETTING_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting)
| Method Detail |
|---|
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 Object clone()
BaseModel
clone in interface BaseModel<SocialActivitySetting>clone in interface SocialActivitySettingModelclone in class Objectpublic int compareTo(SocialActivitySetting socialActivitySetting)
compareTo in interface SocialActivitySettingModelcompareTo in interface Comparable<SocialActivitySetting>public long getActivitySettingId()
getActivitySettingId in interface SocialActivitySettingModelpublic int getActivityType()
getActivityType in interface SocialActivitySettingModelpublic String getClassName()
getClassName in interface TypedModelgetClassName in interface SocialActivitySettingModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface SocialActivitySettingModelpublic long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface SocialActivitySettingModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<SocialActivitySetting>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivitySettingModelpublic long getGroupId()
getGroupId in interface SocialActivitySettingModelpublic String getName()
getName in interface SocialActivitySettingModelpublic long getPrimaryKey()
getPrimaryKey in interface SocialActivitySettingModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<SocialActivitySetting>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivitySettingModelpublic String getValue()
getValue in interface SocialActivitySettingModelpublic int hashCode()
hashCode in interface SocialActivitySettingModelhashCode in class Objectpublic 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 void persist()
PersistedModel
persist 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)
BaseModel
setCachedModel 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(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)
BaseModel
setExpandoBridgeAttributes 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)
BaseModel
setNew 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)
BaseModel
setPrimaryKeyObj 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 CacheModel<SocialActivitySetting> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<SocialActivitySetting>toCacheModel in interface SocialActivitySettingModelpublic SocialActivitySetting toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<SocialActivitySetting>toEscapedModel in interface SocialActivitySettingModelAutoEscapeBeanHandlerpublic String toString()
toString in interface SocialActivitySettingModeltoString in class Objectpublic SocialActivitySetting toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivitySetting>toUnescapedModel in interface SocialActivitySettingModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<SocialActivitySetting>toXmlString in interface SocialActivitySettingModelpublic boolean equals(Object obj)
equals in class Objectpublic 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()
BaseModel
resetOriginalValues in interface BaseModel<SocialActivitySetting>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||