|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginSetting
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
This interface is a model that represents the PluginSetting table in the database.
Customize PluginSettingImpl
and rerun the
ServiceBuilder to generate the new methods.
PluginSettingModel
,
PluginSettingImpl
,
PluginSettingModelImpl
Method Summary | |
---|---|
void |
addRole(java.lang.String role)
Adds a role to the list of roles. |
java.lang.String[] |
getRolesArray()
Gets 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 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, setEscapedModel, setExpandoBridgeAttributes, setNew, setPluginId, setPluginSettingId, setPluginType, setPrimaryKey, toEscapedModel, toString, toXmlString |
Method Detail |
---|
void addRole(java.lang.String role)
void setRoles(java.lang.String roles)
setRoles
in interface PluginSettingModel
java.lang.String[] getRolesArray()
void setRolesArray(java.lang.String[] rolesArray)
boolean hasRoleWithName(java.lang.String roleName)
boolean hasPermission(long userId)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |