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 TypeMethodDescriptionbooleanReturns the active of this plugin setting.longReturns the company ID of this plugin setting.longReturns the mvcc version of this plugin setting.Returns the plugin ID of this plugin setting.longReturns the plugin setting ID of this plugin setting.Returns the plugin type of this plugin setting.longReturns the primary key of this plugin setting.getRoles()Returns the roles of this plugin setting.booleanisActive()Returnstrueif this plugin setting is active.voidsetActive(boolean active) Sets whether this plugin setting is active.voidsetCompanyId(long companyId) Sets the company ID of this plugin setting.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this plugin setting.voidsetPluginId(String pluginId) Sets the plugin ID of this plugin setting.voidsetPluginSettingId(long pluginSettingId) Sets the plugin setting ID of this plugin setting.voidsetPluginType(String pluginType) Sets the plugin type of this plugin setting.voidsetPrimaryKey(long primaryKey) Sets the primary key of this plugin setting.voidSets the roles of this plugin setting.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods 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:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this plugin setting
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this plugin setting.- Specified by:
setMvccVersionin 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:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this plugin setting
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this plugin setting.- Specified by:
setCompanyIdin 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()Returnstrueif this plugin setting is active.- Returns:
trueif this plugin setting is active;falseotherwise
-
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:
cloneWithOriginalValuesin interfaceBaseModel<PluginSetting>
-
toXmlString
-