public class ModulePermissions extends AbstractPermission
Top level permission for a module.
This permission can match either a module ID or a module type alias.
(The module type alias is stored in the name attribute)
children, description, errorMsg, label, name, parent
WILDCARD
Constructor and Description |
---|
ModulePermissions(IModule<?> module,
String moduleTypeAlias) |
ModulePermissions(String moduleIdString) |
Modifier and Type | Method and Description |
---|---|
ModulePermissions |
cloneAsTemplatePermission(String moduleTypeLabel)
Clones the permission tree to use as template for wildcard module permission
|
boolean |
implies(IPermission perm) |
getChildren, getDescription, getErrorMessage, getFullName, getLabel, getName, getParent, hasChildren, hashCode, setErrorMessage, toString
public ModulePermissions(String moduleIdString)
public boolean implies(IPermission perm)
implies
in interface IPermission
implies
in class AbstractPermission
public ModulePermissions cloneAsTemplatePermission(String moduleTypeLabel)
moduleTypeLabel
- Copyright © 2016 Sensia Software LLC. All rights reserved.