|
Liferay 6.2.0-ce-rc1 | |||||||||
| 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 Form| Field 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 String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PLUGINID_COLUMN_BITMASK
|
static long |
PLUGINSETTINGID_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()
|
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| 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 ORDER_BY_JPQL
public static final String ORDER_BY_SQL
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 long PLUGINSETTINGID_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 PluginSettingModelpublic void setPrimaryKey(long primaryKey)
PluginSettingModel
setPrimaryKey in interface PluginSettingModelprimaryKey - the primary key of this plugin settingpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<PluginSetting>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface PluginSettingModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<PluginSetting>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface PluginSettingModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic 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 PluginSettingModelpublic void setPluginSettingId(long pluginSettingId)
PluginSettingModel
setPluginSettingId in interface PluginSettingModelpluginSettingId - the plugin setting ID of this plugin setting@JSON public long getCompanyId()
PluginSettingModel
getCompanyId in interface PluginSettingModelpublic void setCompanyId(long companyId)
PluginSettingModel
setCompanyId in interface PluginSettingModelcompanyId - the company ID of this plugin settingpublic long getOriginalCompanyId()
@JSON public String getPluginId()
PluginSettingModel
getPluginId in interface PluginSettingModelpublic void setPluginId(String pluginId)
PluginSettingModel
setPluginId in interface PluginSettingModelpluginId - the plugin ID of this plugin settingpublic String getOriginalPluginId()
@JSON public String getPluginType()
PluginSettingModel
getPluginType in interface PluginSettingModelpublic void setPluginType(String pluginType)
PluginSettingModel
setPluginType in interface PluginSettingModelpluginType - the plugin type of this plugin settingpublic String getOriginalPluginType()
@JSON public String getRoles()
PluginSettingModel
getRoles in interface PluginSettingModelpublic void setRoles(String roles)
PluginSettingModel
setRoles in interface PluginSettingModelroles - the roles of this plugin setting@JSON public boolean getActive()
PluginSettingModel
getActive in interface PluginSettingModelpublic boolean isActive()
PluginSettingModeltrue if this plugin setting is active.
isActive in interface PluginSettingModeltrue if this plugin setting is active; false otherwisepublic void setActive(boolean active)
PluginSettingModel
setActive in interface PluginSettingModelactive - the active of this plugin settingpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<PluginSetting>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface PluginSettingModelgetExpandoBridge in class BaseModelImpl<PluginSetting>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<PluginSetting>setExpandoBridgeAttributes in interface PluginSettingModelsetExpandoBridgeAttributes in class BaseModelImpl<PluginSetting>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public PluginSetting toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<PluginSetting>toEscapedModel in interface PluginSettingModeltoEscapedModel in class BaseModelImpl<PluginSetting>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<PluginSetting>clone in interface PluginSettingModelclone in class BaseModelImpl<PluginSetting>public int compareTo(PluginSetting pluginSetting)
compareTo in interface PluginSettingModelcompareTo in interface Comparable<PluginSetting>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface PluginSettingModelhashCode in class Objectpublic 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 PluginSettingModeltoCacheModel in class BaseModelImpl<PluginSetting>public String toString()
toString in interface PluginSettingModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<PluginSetting>toXmlString in interface PluginSettingModel
|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||