Package com.liferay.portal.kernel.model
Interface PluginSettingModel
- All Superinterfaces:
BaseModel<PluginSetting>
,ClassedModel
,Cloneable
,Comparable<PluginSetting>
,MVCCModel
,Serializable
,ShardedModel
- All Known Subinterfaces:
PluginSetting
- All Known Implementing Classes:
PluginSettingWrapper
@ProviderType
public interface PluginSettingModel
extends BaseModel<PluginSetting>, MVCCModel, ShardedModel
The base model interface for the PluginSetting service. Represents a row in the "PluginSetting" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.portal.model.impl.PluginSettingModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.PluginSettingImpl
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the active of this plugin setting.long
Returns the company ID of this plugin setting.long
Returns the mvcc version of this plugin setting.Returns the plugin ID of this plugin setting.long
Returns the plugin setting ID of this plugin setting.Returns the plugin type of this plugin setting.long
Returns the primary key of this plugin setting.getRoles()
Returns the roles of this plugin setting.boolean
isActive()
Returnstrue
if this plugin setting is active.void
setActive
(boolean active) Sets whether this plugin setting is active.void
setCompanyId
(long companyId) Sets the company ID of this plugin setting.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this plugin setting.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
Sets the roles of this plugin setting.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this plugin setting.- Returns:
- the primary key of this plugin setting
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this plugin setting.- Parameters:
primaryKey
- the primary key of this plugin setting
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this plugin setting.- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this plugin setting
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this plugin setting.- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this plugin setting
-
getPluginSettingId
long getPluginSettingId()Returns the plugin setting ID of this plugin setting.- Returns:
- the plugin setting ID of this plugin setting
-
setPluginSettingId
void setPluginSettingId(long pluginSettingId) Sets the plugin setting ID of this plugin setting.- Parameters:
pluginSettingId
- the plugin setting ID of this plugin setting
-
getCompanyId
long getCompanyId()Returns the company ID of this plugin setting.- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this plugin setting
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this plugin setting.- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this plugin setting
-
getPluginId
Returns the plugin ID of this plugin setting.- Returns:
- the plugin ID of this plugin setting
-
setPluginId
Sets the plugin ID of this plugin setting.- Parameters:
pluginId
- the plugin ID of this plugin setting
-
getPluginType
Returns the plugin type of this plugin setting.- Returns:
- the plugin type of this plugin setting
-
setPluginType
Sets the plugin type of this plugin setting.- Parameters:
pluginType
- the plugin type of this plugin setting
-
getRoles
Returns the roles of this plugin setting.- Returns:
- the roles of this plugin setting
-
setRoles
Sets the roles of this plugin setting.- Parameters:
roles
- the roles of this plugin setting
-
getActive
boolean getActive()Returns the active of this plugin setting.- Returns:
- the active of this plugin setting
-
isActive
boolean isActive()Returnstrue
if this plugin setting is active.- Returns:
true
if this plugin setting is active;false
otherwise
-
setActive
void setActive(boolean active) Sets whether this plugin setting is active.- Parameters:
active
- the active of this plugin setting
-
cloneWithOriginalValues
PluginSetting cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<PluginSetting>
-
toXmlString
-