|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public AccessFactory
This class allows to retrieve allowed access information of nodes and virtual nodes. The factory can be used using the following code:
var permission = com.ibm.mashups.enabler.ac.AccessFactory.getEffectiveAccessVirtualResource(
com.ibm.mashups.enabler.ac.VirtualResourceType.TEMPLATE);
Method Summary | |
---|---|
EffectiveAccess |
getEffectiveAccess(Object node)
Returns the effective allowed access for a given node. |
EffectiveAccess |
getEffectiveAccessVirtualResource(VirtualResourceType resource)
Returns the effective allowed access for a given virtual resource. |
Method Detail |
---|
EffectiveAccess getEffectiveAccess(Object node)
node
-
a resolved model node such as a NavigationNode.
NULL
if no valid access has been found, for the given node.EffectiveAccess getEffectiveAccessVirtualResource(VirtualResourceType resource)
resource
-
a virtual resource type
NULL
if no valid access has been found for the given virtual resource.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |