|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface PluginSetting
The extended model interface for the PluginSetting service. Represents a row in the "PluginSetting" database table, with each column mapped to a property of this class.
PluginSettingModel,
PluginSettingImpl,
PluginSettingModelImpl| Field Summary | |
|---|---|
static Accessor<PluginSetting,Long> |
PLUGIN_SETTING_ID_ACCESSOR
|
| Method Summary | |
|---|---|
void |
addRole(String role)
Adds a role to the list of roles. |
String[] |
getRolesArray()
Returns an array of required roles of the plugin. |
boolean |
hasPermission(long userId)
Returns true if the user has permission to use this plugin |
boolean |
hasRoleWithName(String roleName)
Returns true if the plugin has a role with the specified
name. |
void |
setRolesArray(String[] rolesArray)
Sets an array of required roles of the plugin. |
| Methods inherited from interface com.liferay.portal.model.PluginSettingModel |
|---|
clone, compareTo, getActive, getCompanyId, getExpandoBridge, getMvccVersion, getPluginId, getPluginSettingId, getPluginType, getPrimaryKey, getPrimaryKeyObj, getRoles, hashCode, isActive, isCachedModel, isEscapedModel, isNew, setActive, setCachedModel, setCompanyId, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setMvccVersion, setNew, setPluginId, setPluginSettingId, setPluginType, setPrimaryKey, setPrimaryKeyObj, setRoles, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Methods inherited from interface com.liferay.portal.model.PersistedModel |
|---|
persist |
| Field Detail |
|---|
static final Accessor<PluginSetting,Long> PLUGIN_SETTING_ID_ACCESSOR
| Method Detail |
|---|
void addRole(String role)
String[] getRolesArray()
boolean hasPermission(long userId)
true if the user has permission to use this plugin
userId - the primary key of the user
true if the user has permission to use this pluginboolean hasRoleWithName(String roleName)
true if the plugin has a role with the specified
name.
roleName - the role name
true if the plugin has a role with the specified
namevoid setRolesArray(String[] rolesArray)
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||