Liferay 6.0-ee

com.liferay.portlet.social.model.impl
Class SocialEquityGroupSettingModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<SocialEquityGroupSetting>
      extended by com.liferay.portlet.social.model.impl.SocialEquityGroupSettingModelImpl
All Implemented Interfaces:
BaseModel<SocialEquityGroupSetting>, SocialEquityGroupSettingModel, Serializable, Cloneable, Comparable<SocialEquityGroupSetting>
Direct Known Subclasses:
SocialEquityGroupSettingImpl

public class SocialEquityGroupSettingModelImpl
extends BaseModelImpl<SocialEquityGroupSetting>
implements SocialEquityGroupSettingModel

The base model implementation for the SocialEquityGroupSetting service. Represents a row in the "SocialEquityGroupSetting" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface SocialEquityGroupSettingModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialEquityGroupSettingImpl.

Never modify or reference this class directly. All methods that expect a social equity group setting model instance should use the SocialEquityGroupSetting interface instead.

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

Field Summary
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
SocialEquityGroupSettingModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(SocialEquityGroupSetting socialEquityGroupSetting)
           
 boolean equals(Object obj)
           
 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 getOriginalClassNameId()
           
 long getOriginalGroupId()
           
 int getOriginalType()
           
 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.
 int hashCode()
           
 boolean isEnabled()
          Determines whether this social equity group setting is enabled.
 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 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 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 com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.social.model.SocialEquityGroupSettingModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

SocialEquityGroupSettingModelImpl

public SocialEquityGroupSettingModelImpl()
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: SocialEquityGroupSettingModel
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)
Description copied from interface: SocialEquityGroupSettingModel
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

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

getEquityGroupSettingId

public long getEquityGroupSettingId()
Description copied from interface: SocialEquityGroupSettingModel
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)
Description copied from interface: SocialEquityGroupSettingModel
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()
Description copied from interface: SocialEquityGroupSettingModel
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)
Description copied from interface: SocialEquityGroupSettingModel
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

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

public long getCompanyId()
Description copied from interface: SocialEquityGroupSettingModel
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)
Description copied from interface: SocialEquityGroupSettingModel
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()
Description copied from interface: SocialEquityGroupSettingModel
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()
Description copied from interface: SocialEquityGroupSettingModel
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)
Description copied from interface: SocialEquityGroupSettingModel
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

getOriginalClassNameId

public long getOriginalClassNameId()

getType

public int getType()
Description copied from interface: SocialEquityGroupSettingModel
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)
Description copied from interface: SocialEquityGroupSettingModel
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

getOriginalType

public int getOriginalType()

getEnabled

public boolean getEnabled()
Description copied from interface: SocialEquityGroupSettingModel
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()
Description copied from interface: SocialEquityGroupSettingModel
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)
Description copied from interface: SocialEquityGroupSettingModel
Sets whether this {$entity.humanName} is enabled.

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

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
Overrides:
toEscapedModel in class BaseModelImpl<SocialEquityGroupSetting>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

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
Overrides:
getExpandoBridge in class BaseModelImpl<SocialEquityGroupSetting>
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
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<SocialEquityGroupSetting>
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
Specified by:
clone in class BaseModelImpl<SocialEquityGroupSetting>
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>

equals

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

hashCode

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

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

Liferay 6.0-ee