|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.salespointframework.core.users.AbstractCapability
org.salespointframework.web.helper.NameCapability
public class NameCapability
A default implementation of Capability
using AbstractCapability
just identifying a Capability by the given name.
Constructor Summary | |
---|---|
NameCapability(java.lang.String capabilityName)
|
Method Summary | |
---|---|
Capability |
getToggled()
Get the capability that is the inverse to this one. |
boolean |
isGranted()
Return the grant state of this capability. |
Methods inherited from class org.salespointframework.core.users.AbstractCapability |
---|
getDisplayName, getDisplayName, getName, setDisplayNameResourceBundleName, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NameCapability(java.lang.String capabilityName)
capabilityName
- the nameMethod Detail |
---|
public Capability getToggled()
AbstractCapability
getToggled
in interface Capability
getToggled
in class AbstractCapability
null
public boolean isGranted()
AbstractCapability
isGranted
in interface Capability
isGranted
in class AbstractCapability
true
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |