|
Liferay 6.0.5 | |||||||||
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<PluginSetting> com.liferay.portal.model.impl.PluginSettingModelImpl
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
.
Never modify or reference this class directly. All methods that expect a plugin setting model instance should use the PluginSetting
interface instead.
PluginSettingImpl
,
PluginSetting
,
PluginSettingModel
,
Serialized FormField 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 | |
---|---|
PluginSettingModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(PluginSetting pluginSetting)
|
boolean |
equals(Object obj)
|
boolean |
getActive()
Gets the active of this plugin setting. |
long |
getCompanyId()
Gets the company id of this plugin setting. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getOriginalCompanyId()
|
String |
getOriginalPluginId()
|
String |
getOriginalPluginType()
|
String |
getPluginId()
Gets the plugin id of this plugin setting. |
long |
getPluginSettingId()
Gets the plugin setting id of this plugin setting. |
String |
getPluginType()
Gets the plugin type of this plugin setting. |
long |
getPrimaryKey()
Gets the primary key of this plugin setting. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
String |
getRoles()
Gets the roles of this plugin setting. |
int |
hashCode()
|
boolean |
isActive()
Determines whether this plugin setting is active. |
void |
setActive(boolean active)
Sets whether this {$entity.humanName} 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 |
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 pk)
Sets the primary key of this plugin setting |
void |
setRoles(String roles)
Sets the roles of this plugin setting. |
PluginSetting |
toEscapedModel()
Gets a copy of this plugin setting 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()
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.portal.model.PluginSettingModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, 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 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 pk)
PluginSettingModel
setPrimaryKey
in interface PluginSettingModel
pk
- the primary key of this plugin settingpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<PluginSetting>
getPrimaryKeyObj
in interface PluginSettingModel
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 settingpublic 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()
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()
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()
public String getRoles()
PluginSettingModel
getRoles
in interface PluginSettingModel
public void setRoles(String roles)
PluginSettingModel
setRoles
in interface PluginSettingModel
roles
- the roles of this plugin settingpublic boolean getActive()
PluginSettingModel
getActive
in interface PluginSettingModel
public boolean isActive()
PluginSettingModel
isActive
in interface PluginSettingModel
public void setActive(boolean active)
PluginSettingModel
setActive
in interface PluginSettingModel
active
- the active of this plugin settingpublic PluginSetting toEscapedModel()
PluginSettingModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface PluginSettingModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<PluginSetting>
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 context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
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 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.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |