|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.PluginSetting>
com.liferay.portal.model.impl.PluginSettingModelImpl
com.liferay.portal.model.impl.PluginSettingBaseImpl
com.liferay.portal.model.impl.PluginSettingImpl
public class PluginSettingImpl
| Field Summary |
|---|
| Fields inherited from class com.liferay.portal.model.impl.PluginSettingModelImpl |
|---|
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, PLUGINID_COLUMN_BITMASK, PLUGINTYPE_COLUMN_BITMASK, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER |
| Constructor Summary | |
|---|---|
PluginSettingImpl()
|
|
PluginSettingImpl(com.liferay.portal.model.PluginSetting pluginSetting)
|
|
| Method Summary | |
|---|---|
void |
addRole(java.lang.String role)
Adds a role to the list of roles. |
java.lang.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(java.lang.String roleName)
Returns true if the plugin has a role with the specified
name. |
void |
setRoles(java.lang.String roles)
Sets a string of ordered comma delimited plugin IDs. |
void |
setRolesArray(java.lang.String[] rolesArray)
Sets an array of required roles of the plugin. |
| Methods inherited from class com.liferay.portal.model.impl.PluginSettingBaseImpl |
|---|
persist |
| Methods inherited from class com.liferay.portal.model.impl.PluginSettingModelImpl |
|---|
clone, compareTo, equals, getActive, getColumnBitmask, getCompanyId, getExpandoBridge, getModelClass, getModelClassName, getOriginalCompanyId, getOriginalPluginId, getOriginalPluginType, getPluginId, getPluginSettingId, getPluginType, getPrimaryKey, getPrimaryKeyObj, getRoles, hashCode, isActive, resetOriginalValues, setActive, setCompanyId, setExpandoBridgeAttributes, setPluginId, setPluginSettingId, setPluginType, setPrimaryKey, setPrimaryKeyObj, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlString |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.PluginSettingModel |
|---|
clone, compareTo, getActive, getCompanyId, getExpandoBridge, getPluginId, getPluginSettingId, getPluginType, getPrimaryKey, getPrimaryKeyObj, getRoles, hashCode, isActive, isCachedModel, isEscapedModel, isNew, setActive, setCachedModel, setCompanyId, setExpandoBridgeAttributes, setNew, setPluginId, setPluginSettingId, setPluginType, setPrimaryKey, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toXmlString |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
resetOriginalValues |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Constructor Detail |
|---|
public PluginSettingImpl()
public PluginSettingImpl(com.liferay.portal.model.PluginSetting pluginSetting)
| Method Detail |
|---|
public void addRole(java.lang.String role)
public void setRoles(java.lang.String roles)
setRoles in interface com.liferay.portal.model.PluginSettingsetRoles in interface com.liferay.portal.model.PluginSettingModelsetRoles in class PluginSettingModelImplpublic java.lang.String[] getRolesArray()
public void setRolesArray(java.lang.String[] rolesArray)
public boolean hasRoleWithName(java.lang.String roleName)
true if the plugin has a role with the specified
name.
true if the plugin has a role with the specified
namepublic boolean hasPermission(long userId)
true if the user has permission to use this plugin
true if the user has permission to use this plugin
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||