public class MethodPermission extends Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
Constructor and Description |
---|
MethodPermission(Role role)
construct a new MethodPermission based on a security role
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
static MethodPermission |
getExcludedMethodPermission() |
Role |
getRole() |
static MethodPermission |
getUncheckedMethodPermission() |
int |
hashCode() |
boolean |
isExcluded() |
boolean |
isRoleBased() |
boolean |
isUnchecked() |
void |
print(StringBuffer toStringBuffer)
A String representation of this object.
|
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public MethodPermission(Role role)
role
- the security role associated to the method permissionpublic static MethodPermission getUncheckedMethodPermission()
public static MethodPermission getExcludedMethodPermission()
public boolean isRoleBased()
public boolean isUnchecked()
public boolean isExcluded()
public Role getRole()
public void print(StringBuffer toStringBuffer)
Descriptor
print
in class Descriptor
Copyright © 2018. All rights reserved.