Liferay 6.0-ee

com.liferay.portlet.social.model
Class SocialEquityGroupSettingWrapper

java.lang.Object
  extended by com.liferay.portlet.social.model.SocialEquityGroupSettingWrapper
All Implemented Interfaces:
BaseModel<SocialEquityGroupSetting>, SocialEquityGroupSetting, SocialEquityGroupSettingModel, Serializable, Cloneable, Comparable<SocialEquityGroupSetting>

public class SocialEquityGroupSettingWrapper
extends Object
implements SocialEquityGroupSetting

This class is a wrapper for SocialEquityGroupSetting.

See Also:
SocialEquityGroupSetting, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
SocialEquityGroupSettingWrapper(SocialEquityGroupSetting socialEquityGroupSetting)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SocialEquityGroupSetting socialEquityGroupSetting)
           
 String getClassName()
          Gets the class name of the model instance this social equity group setting is polymorphically associated with.
 long getClassNameId()
          Gets the class name id of this social equity group setting.
 long getCompanyId()
          Gets the company id of this social equity group setting.
 boolean getEnabled()
          Gets the enabled of this social equity group setting.
 long getEquityGroupSettingId()
          Gets the equity group setting id of this social equity group setting.
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 long getGroupId()
          Gets the group id of this social equity group setting.
 long getPrimaryKey()
          Gets the primary key of this social equity group setting.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 int getType()
          Gets the type of this social equity group setting.
 SocialEquityGroupSetting getWrappedSocialEquityGroupSetting()
           
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEnabled()
          Determines whether this social equity group setting is enabled.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isNew()
          Determines if this model instance does not yet exist in the database.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setClassNameId(long classNameId)
          Sets the class name id of this social equity group setting.
 void setCompanyId(long companyId)
          Sets the company id of this social equity group setting.
 void setEnabled(boolean enabled)
          Sets whether this {$entity.humanName} is enabled.
 void setEquityGroupSettingId(long equityGroupSettingId)
          Sets the equity group setting id of this social equity group setting.
 void setEscapedModel(boolean escapedModel)
          Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.
 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 equity group setting.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setPrimaryKey(long pk)
          Sets the primary key of this social equity group setting
 void setType(int type)
          Sets the type of this social equity group setting.
 SocialEquityGroupSetting toEscapedModel()
          Gets a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SocialEquityGroupSettingWrapper

public SocialEquityGroupSettingWrapper(SocialEquityGroupSetting socialEquityGroupSetting)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Gets the primary key of this social equity group setting.

Specified by:
getPrimaryKey in interface SocialEquityGroupSettingModel
Returns:
the primary key of this social equity group setting

setPrimaryKey

public void setPrimaryKey(long pk)
Sets the primary key of this social equity group setting

Specified by:
setPrimaryKey in interface SocialEquityGroupSettingModel
Parameters:
pk - the primary key of this social equity group setting

getEquityGroupSettingId

public long getEquityGroupSettingId()
Gets the equity group setting id of this social equity group setting.

Specified by:
getEquityGroupSettingId in interface SocialEquityGroupSettingModel
Returns:
the equity group setting id of this social equity group setting

setEquityGroupSettingId

public void setEquityGroupSettingId(long equityGroupSettingId)
Sets the equity group setting id of this social equity group setting.

Specified by:
setEquityGroupSettingId in interface SocialEquityGroupSettingModel
Parameters:
equityGroupSettingId - the equity group setting id of this social equity group setting

getGroupId

public long getGroupId()
Gets the group id of this social equity group setting.

Specified by:
getGroupId in interface SocialEquityGroupSettingModel
Returns:
the group id of this social equity group setting

setGroupId

public void setGroupId(long groupId)
Sets the group id of this social equity group setting.

Specified by:
setGroupId in interface SocialEquityGroupSettingModel
Parameters:
groupId - the group id of this social equity group setting

getCompanyId

public long getCompanyId()
Gets the company id of this social equity group setting.

Specified by:
getCompanyId in interface SocialEquityGroupSettingModel
Returns:
the company id of this social equity group setting

setCompanyId

public void setCompanyId(long companyId)
Sets the company id of this social equity group setting.

Specified by:
setCompanyId in interface SocialEquityGroupSettingModel
Parameters:
companyId - the company id of this social equity group setting

getClassName

public String getClassName()
Gets the class name of the model instance this social equity group setting is polymorphically associated with.

Specified by:
getClassName in interface SocialEquityGroupSettingModel
Returns:
the class name of the model instance this social equity group setting is polymorphically associated with

getClassNameId

public long getClassNameId()
Gets the class name id of this social equity group setting.

Specified by:
getClassNameId in interface SocialEquityGroupSettingModel
Returns:
the class name id of this social equity group setting

setClassNameId

public void setClassNameId(long classNameId)
Sets the class name id of this social equity group setting.

Specified by:
setClassNameId in interface SocialEquityGroupSettingModel
Parameters:
classNameId - the class name id of this social equity group setting

getType

public int getType()
Gets the type of this social equity group setting.

Specified by:
getType in interface SocialEquityGroupSettingModel
Returns:
the type of this social equity group setting

setType

public void setType(int type)
Sets the type of this social equity group setting.

Specified by:
setType in interface SocialEquityGroupSettingModel
Parameters:
type - the type of this social equity group setting

getEnabled

public boolean getEnabled()
Gets the enabled of this social equity group setting.

Specified by:
getEnabled in interface SocialEquityGroupSettingModel
Returns:
the enabled of this social equity group setting

isEnabled

public boolean isEnabled()
Determines whether this social equity group setting is enabled.

Specified by:
isEnabled in interface SocialEquityGroupSettingModel
Returns:
whether this social equity group setting is enabled

setEnabled

public void setEnabled(boolean enabled)
Sets whether this {$entity.humanName} is enabled.

Specified by:
setEnabled in interface SocialEquityGroupSettingModel
Parameters:
enabled - the enabled of this social equity group setting

isNew

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

Specified by:
isNew in interface BaseModel<SocialEquityGroupSetting>
Specified by:
isNew in interface SocialEquityGroupSettingModel
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<SocialEquityGroupSetting>
Specified by:
setNew in interface SocialEquityGroupSettingModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

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

Specified by:
isCachedModel in interface BaseModel<SocialEquityGroupSetting>
Specified by:
isCachedModel in interface SocialEquityGroupSettingModel
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<SocialEquityGroupSetting>
Specified by:
setCachedModel in interface SocialEquityGroupSettingModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

Specified by:
isEscapedModel in interface BaseModel<SocialEquityGroupSetting>
Specified by:
isEscapedModel in interface SocialEquityGroupSettingModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<SocialEquityGroupSetting>
Specified by:
setEscapedModel in interface SocialEquityGroupSettingModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<SocialEquityGroupSetting>
Specified by:
getPrimaryKeyObj in interface SocialEquityGroupSettingModel
Returns:
the primary key of this model instance

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<SocialEquityGroupSetting>
Specified by:
getExpandoBridge in interface SocialEquityGroupSettingModel
Returns:
the expando bridge for this model instance

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<SocialEquityGroupSetting>
Specified by:
setExpandoBridgeAttributes in interface SocialEquityGroupSettingModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
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<SocialEquityGroupSetting>
Specified by:
clone in interface SocialEquityGroupSettingModel
Overrides:
clone in class Object
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(SocialEquityGroupSetting socialEquityGroupSetting)
Specified by:
compareTo in interface SocialEquityGroupSettingModel
Specified by:
compareTo in interface Comparable<SocialEquityGroupSetting>

hashCode

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

toEscapedModel

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

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

toString

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

toXmlString

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

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

getWrappedSocialEquityGroupSetting

public SocialEquityGroupSetting getWrappedSocialEquityGroupSetting()

Liferay 6.0-ee