|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<PluginSetting>
com.liferay.portal.model.impl.PluginSettingModelImpl
@JSON(strict=true) public class PluginSettingModelImpl
The base model implementation for the PluginSetting service. Represents a row in the "PluginSetting" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface PluginSettingModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in PluginSettingImpl
.
PluginSettingImpl
,
PluginSetting
,
PluginSettingModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static long |
PLUGINID_COLUMN_BITMASK
|
static long |
PLUGINTYPE_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 | |
---|---|
PluginSettingModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PluginSetting pluginSetting)
|
boolean |
equals(Object obj)
|
boolean |
getActive()
Returns the active of this plugin setting. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this plugin setting. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalCompanyId()
|
String |
getOriginalPluginId()
|
String |
getOriginalPluginType()
|
String |
getPluginId()
Returns the plugin ID of this plugin setting. |
long |
getPluginSettingId()
Returns the plugin setting ID of this plugin setting. |
String |
getPluginType()
Returns the plugin type of this plugin setting. |
long |
getPrimaryKey()
Returns the primary key of this plugin setting. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getRoles()
Returns the roles of this plugin setting. |
int |
hashCode()
|
boolean |
isActive()
Returns true if this plugin setting is active. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setActive(boolean active)
Sets whether this plugin setting is active. |
void |
setCompanyId(long companyId)
Sets the company ID of this plugin setting. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setPluginId(String pluginId)
Sets the plugin ID of this plugin setting. |
void |
setPluginSettingId(long pluginSettingId)
Sets the plugin setting ID of this plugin setting. |
void |
setPluginType(String pluginType)
Sets the plugin type of this plugin setting. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this plugin setting. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRoles(String roles)
Sets the roles of this plugin setting. |
CacheModel<PluginSetting> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
PluginSetting |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
static PluginSetting |
toModel(PluginSettingSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<PluginSetting> |
toModels(PluginSettingSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
PluginSetting |
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.portal.model.PluginSettingModel |
---|
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 COMPANYID_COLUMN_BITMASK
public static long PLUGINID_COLUMN_BITMASK
public static long PLUGINTYPE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public PluginSettingModelImpl()
Method Detail |
---|
public static PluginSetting toModel(PluginSettingSoap soapModel)
soapModel
- the soap model instance to convert
public static List<PluginSetting> toModels(PluginSettingSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
PluginSettingModel
getPrimaryKey
in interface PluginSettingModel
public void setPrimaryKey(long primaryKey)
PluginSettingModel
setPrimaryKey
in interface PluginSettingModel
primaryKey
- the primary key of this plugin settingpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PluginSetting>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface PluginSettingModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<PluginSetting>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface PluginSettingModel
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<PluginSetting>
getModelAttributes
in class BaseModelImpl<PluginSetting>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<PluginSetting>
setModelAttributes
in class BaseModelImpl<PluginSetting>
@JSON public long getPluginSettingId()
PluginSettingModel
getPluginSettingId
in interface PluginSettingModel
public void setPluginSettingId(long pluginSettingId)
PluginSettingModel
setPluginSettingId
in interface PluginSettingModel
pluginSettingId
- the plugin setting ID of this plugin setting@JSON public long getCompanyId()
PluginSettingModel
getCompanyId
in interface PluginSettingModel
public void setCompanyId(long companyId)
PluginSettingModel
setCompanyId
in interface PluginSettingModel
companyId
- the company ID of this plugin settingpublic long getOriginalCompanyId()
@JSON public String getPluginId()
PluginSettingModel
getPluginId
in interface PluginSettingModel
public void setPluginId(String pluginId)
PluginSettingModel
setPluginId
in interface PluginSettingModel
pluginId
- the plugin ID of this plugin settingpublic String getOriginalPluginId()
@JSON public String getPluginType()
PluginSettingModel
getPluginType
in interface PluginSettingModel
public void setPluginType(String pluginType)
PluginSettingModel
setPluginType
in interface PluginSettingModel
pluginType
- the plugin type of this plugin settingpublic String getOriginalPluginType()
@JSON public String getRoles()
PluginSettingModel
getRoles
in interface PluginSettingModel
public void setRoles(String roles)
PluginSettingModel
setRoles
in interface PluginSettingModel
roles
- the roles of this plugin setting@JSON public boolean getActive()
PluginSettingModel
getActive
in interface PluginSettingModel
public boolean isActive()
PluginSettingModel
true
if this plugin setting is active.
isActive
in interface PluginSettingModel
true
if this plugin setting is active; false
otherwisepublic void setActive(boolean active)
PluginSettingModel
setActive
in interface PluginSettingModel
active
- the active of this plugin settingpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PluginSetting>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface PluginSettingModel
getExpandoBridge
in class BaseModelImpl<PluginSetting>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<PluginSetting>
setExpandoBridgeAttributes
in interface PluginSettingModel
setExpandoBridgeAttributes
in class BaseModelImpl<PluginSetting>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public PluginSetting toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<PluginSetting>
toEscapedModel
in interface PluginSettingModel
toEscapedModel
in class BaseModelImpl<PluginSetting>
AutoEscapeBeanHandler
public PluginSetting toUnescapedModel()
toUnescapedModel
in interface BaseModel<PluginSetting>
toUnescapedModel
in interface PluginSettingModel
toUnescapedModel
in class BaseModelImpl<PluginSetting>
public Object clone()
BaseModel
clone
in interface BaseModel<PluginSetting>
clone
in interface PluginSettingModel
clone
in class BaseModelImpl<PluginSetting>
public int compareTo(PluginSetting pluginSetting)
compareTo
in interface PluginSettingModel
compareTo
in interface Comparable<PluginSetting>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface PluginSettingModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<PluginSetting>
resetOriginalValues
in class BaseModelImpl<PluginSetting>
public CacheModel<PluginSetting> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<PluginSetting>
toCacheModel
in interface PluginSettingModel
toCacheModel
in class BaseModelImpl<PluginSetting>
public String toString()
toString
in interface PluginSettingModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<PluginSetting>
toXmlString
in interface PluginSettingModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |