|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<SocialActivitySetting> com.liferay.portlet.social.model.impl.SocialActivitySettingModelImpl
@JSON(strict=true) public class SocialActivitySettingModelImpl
The base model implementation for the SocialActivitySetting service. Represents a row in the "SocialActivitySetting" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface SocialActivitySettingModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialActivitySettingImpl
.
SocialActivitySettingImpl
,
SocialActivitySetting
,
SocialActivitySettingModel
,
Serialized FormField Summary | |
---|---|
static long |
ACTIVITYTYPE_COLUMN_BITMASK
|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
NAME_COLUMN_BITMASK
|
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 | |
---|---|
SocialActivitySettingModelImpl()
|
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 |
getColumnBitmask()
|
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. |
int |
getOriginalActivityType()
|
long |
getOriginalClassNameId()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
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. |
int |
hashCode()
|
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 |
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(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 |
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 . |
static SocialActivitySetting |
toModel(SocialActivitySettingSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<SocialActivitySetting> |
toModels(SocialActivitySettingSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
SocialActivitySetting |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.social.model.SocialActivitySettingModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long ACTIVITYTYPE_COLUMN_BITMASK
public static long CLASSNAMEID_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public SocialActivitySettingModelImpl()
Method Detail |
---|
public static SocialActivitySetting toModel(SocialActivitySettingSoap soapModel)
soapModel
- the soap model instance to convert
public static List<SocialActivitySetting> toModels(SocialActivitySettingSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
SocialActivitySettingModel
getPrimaryKey
in interface SocialActivitySettingModel
public void setPrimaryKey(long primaryKey)
SocialActivitySettingModel
setPrimaryKey
in interface SocialActivitySettingModel
primaryKey
- the primary key of this social activity settingpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivitySetting>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SocialActivitySettingModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivitySetting>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SocialActivitySettingModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivitySetting>
getModelAttributes
in class BaseModelImpl<SocialActivitySetting>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivitySetting>
setModelAttributes
in class BaseModelImpl<SocialActivitySetting>
@JSON public long getActivitySettingId()
SocialActivitySettingModel
getActivitySettingId
in interface SocialActivitySettingModel
public void setActivitySettingId(long activitySettingId)
SocialActivitySettingModel
setActivitySettingId
in interface SocialActivitySettingModel
activitySettingId
- the activity setting ID of this social activity setting@JSON public long getGroupId()
SocialActivitySettingModel
getGroupId
in interface SocialActivitySettingModel
public void setGroupId(long groupId)
SocialActivitySettingModel
setGroupId
in interface SocialActivitySettingModel
groupId
- the group ID of this social activity settingpublic long getOriginalGroupId()
@JSON public long getCompanyId()
SocialActivitySettingModel
getCompanyId
in interface SocialActivitySettingModel
public void setCompanyId(long companyId)
SocialActivitySettingModel
setCompanyId
in interface SocialActivitySettingModel
companyId
- the company ID of this social activity settingpublic String getClassName()
SocialActivitySettingModel
getClassName
in interface SocialActivitySettingModel
public void setClassName(String className)
setClassName
in interface SocialActivitySettingModel
@JSON public long getClassNameId()
SocialActivitySettingModel
getClassNameId
in interface SocialActivitySettingModel
public void setClassNameId(long classNameId)
SocialActivitySettingModel
setClassNameId
in interface SocialActivitySettingModel
classNameId
- the class name ID of this social activity settingpublic long getOriginalClassNameId()
@JSON public int getActivityType()
SocialActivitySettingModel
getActivityType
in interface SocialActivitySettingModel
public void setActivityType(int activityType)
SocialActivitySettingModel
setActivityType
in interface SocialActivitySettingModel
activityType
- the activity type of this social activity settingpublic int getOriginalActivityType()
@JSON public String getName()
SocialActivitySettingModel
getName
in interface SocialActivitySettingModel
public void setName(String name)
SocialActivitySettingModel
setName
in interface SocialActivitySettingModel
name
- the name of this social activity settingpublic String getOriginalName()
@JSON public String getValue()
SocialActivitySettingModel
getValue
in interface SocialActivitySettingModel
public void setValue(String value)
SocialActivitySettingModel
setValue
in interface SocialActivitySettingModel
value
- the value of this social activity settingpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivitySetting>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivitySettingModel
getExpandoBridge
in class BaseModelImpl<SocialActivitySetting>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySetting>
setExpandoBridgeAttributes
in interface SocialActivitySettingModel
setExpandoBridgeAttributes
in class BaseModelImpl<SocialActivitySetting>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public SocialActivitySetting toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<SocialActivitySetting>
toEscapedModel
in interface SocialActivitySettingModel
toEscapedModel
in class BaseModelImpl<SocialActivitySetting>
AutoEscapeBeanHandler
public SocialActivitySetting toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivitySetting>
toUnescapedModel
in interface SocialActivitySettingModel
toUnescapedModel
in class BaseModelImpl<SocialActivitySetting>
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivitySetting>
clone
in interface SocialActivitySettingModel
clone
in class BaseModelImpl<SocialActivitySetting>
public int compareTo(SocialActivitySetting socialActivitySetting)
compareTo
in interface SocialActivitySettingModel
compareTo
in interface Comparable<SocialActivitySetting>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface SocialActivitySettingModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivitySetting>
resetOriginalValues
in class BaseModelImpl<SocialActivitySetting>
public CacheModel<SocialActivitySetting> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivitySetting>
toCacheModel
in interface SocialActivitySettingModel
toCacheModel
in class BaseModelImpl<SocialActivitySetting>
public String toString()
toString
in interface SocialActivitySettingModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivitySetting>
toXmlString
in interface SocialActivitySettingModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |