|
||||||||||
| 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 name| Method Detail |
|---|
public Capability getToggled()
AbstractCapability
getToggled in interface CapabilitygetToggled in class AbstractCapabilitynullpublic boolean isGranted()
AbstractCapability
isGranted in interface CapabilityisGranted in class AbstractCapabilitytrue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||