Liferay 6.2-ce-ga5

com.liferay.portlet.social.model
Class SocialActivitySettingWrapper

java.lang.Object
  extended by com.liferay.portlet.social.model.SocialActivitySettingWrapper
All Implemented Interfaces:
BaseModel<SocialActivitySetting>, ClassedModel, ModelWrapper<SocialActivitySetting>, PersistedModel, TypedModel, SocialActivitySetting, SocialActivitySettingModel, Serializable, Cloneable, Comparable<SocialActivitySetting>

@ProviderType
public class SocialActivitySettingWrapper
extends Object
implements SocialActivitySetting, ModelWrapper<SocialActivitySetting>

This class is a wrapper for SocialActivitySetting.

See Also:
SocialActivitySetting, Serialized Form

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()
           
 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(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

SocialActivitySettingWrapper

public SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<SocialActivitySetting>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<SocialActivitySetting>

getPrimaryKey

public long getPrimaryKey()
Returns the primary key of this social activity setting.

Specified by:
getPrimaryKey in interface SocialActivitySettingModel
Returns:
the primary key of this social activity setting

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Sets the primary key of this social activity setting.

Specified by:
setPrimaryKey in interface SocialActivitySettingModel
Parameters:
primaryKey - the primary key of this social activity setting

getActivitySettingId

public long getActivitySettingId()
Returns the activity setting ID of this social activity setting.

Specified by:
getActivitySettingId in interface SocialActivitySettingModel
Returns:
the activity setting ID of this social activity setting

setActivitySettingId

public void setActivitySettingId(long activitySettingId)
Sets the activity setting ID of this social activity setting.

Specified by:
setActivitySettingId in interface SocialActivitySettingModel
Parameters:
activitySettingId - the activity setting ID of this social activity setting

getGroupId

public long getGroupId()
Returns the group ID of this social activity setting.

Specified by:
getGroupId in interface SocialActivitySettingModel
Returns:
the group ID of this social activity setting

setGroupId

public void setGroupId(long groupId)
Sets the group ID of this social activity setting.

Specified by:
setGroupId in interface SocialActivitySettingModel
Parameters:
groupId - the group ID of this social activity setting

getCompanyId

public long getCompanyId()
Returns the company ID of this social activity setting.

Specified by:
getCompanyId in interface SocialActivitySettingModel
Returns:
the company ID of this social activity setting

setCompanyId

public void setCompanyId(long companyId)
Sets the company ID of this social activity setting.

Specified by:
setCompanyId in interface SocialActivitySettingModel
Parameters:
companyId - the company ID of this social activity setting

getClassName

public String getClassName()
Returns the fully qualified class name of this social activity setting.

Specified by:
getClassName in interface TypedModel
Specified by:
getClassName in interface SocialActivitySettingModel
Returns:
the fully qualified class name of this social activity setting

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface SocialActivitySettingModel

getClassNameId

public long getClassNameId()
Returns the class name ID of this social activity setting.

Specified by:
getClassNameId in interface TypedModel
Specified by:
getClassNameId in interface SocialActivitySettingModel
Returns:
the class name ID of this social activity setting

setClassNameId

public void setClassNameId(long classNameId)
Sets the class name ID of this social activity setting.

Specified by:
setClassNameId in interface TypedModel
Specified by:
setClassNameId in interface SocialActivitySettingModel
Parameters:
classNameId - the class name ID of this social activity setting

getActivityType

public int getActivityType()
Returns the activity type of this social activity setting.

Specified by:
getActivityType in interface SocialActivitySettingModel
Returns:
the activity type of this social activity setting

setActivityType

public void setActivityType(int activityType)
Sets the activity type of this social activity setting.

Specified by:
setActivityType in interface SocialActivitySettingModel
Parameters:
activityType - the activity type of this social activity setting

getName

public String getName()
Returns the name of this social activity setting.

Specified by:
getName in interface SocialActivitySettingModel
Returns:
the name of this social activity setting

setName

public void setName(String name)
Sets the name of this social activity setting.

Specified by:
setName in interface SocialActivitySettingModel
Parameters:
name - the name of this social activity setting

getValue

public String getValue()
Returns the value of this social activity setting.

Specified by:
getValue in interface SocialActivitySettingModel
Returns:
the value of this social activity setting

setValue

public void setValue(String value)
Sets the value of this social activity setting.

Specified by:
setValue in interface SocialActivitySettingModel
Parameters:
value - the value of this social activity setting

isNew

public boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<SocialActivitySetting>
Specified by:
isNew in interface SocialActivitySettingModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<SocialActivitySetting>
Specified by:
setNew in interface SocialActivitySettingModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<SocialActivitySetting>
Specified by:
isCachedModel in interface SocialActivitySettingModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<SocialActivitySetting>
Specified by:
setCachedModel in interface SocialActivitySettingModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

public boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<SocialActivitySetting>
Specified by:
isEscapedModel in interface SocialActivitySettingModel
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<SocialActivitySetting>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface SocialActivitySettingModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<SocialActivitySetting>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface SocialActivitySettingModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<SocialActivitySetting>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface SocialActivitySettingModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<SocialActivitySetting>
Specified by:
setExpandoBridgeAttributes in interface SocialActivitySettingModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<SocialActivitySetting>
Specified by:
setExpandoBridgeAttributes in interface SocialActivitySettingModel

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<SocialActivitySetting>
Specified by:
setExpandoBridgeAttributes in interface SocialActivitySettingModel
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<SocialActivitySetting>
Specified by:
clone in interface SocialActivitySettingModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SocialActivitySetting socialActivitySetting)
Specified by:
compareTo in interface SocialActivitySettingModel
Specified by:
compareTo in interface Comparable<SocialActivitySetting>

hashCode

public int hashCode()
Specified by:
hashCode in interface SocialActivitySettingModel
Overrides:
hashCode in class Object

toCacheModel

public CacheModel<SocialActivitySetting> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<SocialActivitySetting>
Specified by:
toCacheModel in interface SocialActivitySettingModel
Returns:
the cache model object

toEscapedModel

public SocialActivitySetting toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<SocialActivitySetting>
Specified by:
toEscapedModel in interface SocialActivitySettingModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public SocialActivitySetting toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<SocialActivitySetting>
Specified by:
toUnescapedModel in interface SocialActivitySettingModel

toString

public String toString()
Specified by:
toString in interface SocialActivitySettingModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<SocialActivitySetting>
Specified by:
toXmlString in interface SocialActivitySettingModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedSocialActivitySetting

public SocialActivitySetting getWrappedSocialActivitySetting()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public SocialActivitySetting getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<SocialActivitySetting>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<SocialActivitySetting>

Liferay 6.2-ce-ga5