|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Action
An action is what a subject wants to execute on a resource.
The action features a unique name and a list of parameter types.
Method Summary | |
---|---|
Map<String,?> |
mapArguments(List<?> arguments)
Returns a mapping of argument name to argument. |
boolean |
matches(String actionName,
List<?> arguments)
Returns whether this action matches an action name and a list of arguments. |
Methods inherited from interface org.openpermis.policy.Part |
---|
equals, hashCode, toString |
Methods inherited from interface org.openpermis.policy.Nameable |
---|
getName |
Method Detail |
---|
boolean matches(String actionName, List<?> arguments)
This action will match if its name matches the specified action name and if all arguments are assignable to the action's argument types.
actionName
- the name to match.arguments
- an optional list of arguments to match.
true
if this action matches the specified name and arguments.Map<String,?> mapArguments(List<?> arguments)
arguments
- a list of arguments.
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG