|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Command
Abstraction of commands that operate on domain objects.
Method Summary | |
---|---|
void |
execute(org.openpermis.policy.bean.PolicyBean policy)
Executes the command and stores necessary information to undo any changes. |
String |
getName()
Returns the name of the command suitable for display in the user interface. |
void |
undo(org.openpermis.policy.bean.PolicyBean policy)
Reverts any changes performed in execute(org.openpermis.policy.bean.PolicyBean) . |
Method Detail |
---|
String getName()
void execute(org.openpermis.policy.bean.PolicyBean policy) throws Exception
policy
- the policy to execute the command on.
Exception
void undo(org.openpermis.policy.bean.PolicyBean policy) throws Exception
execute(org.openpermis.policy.bean.PolicyBean)
.
policy
- the policy to revert.
Exception
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:33
Copyright (c) 2002-2007 Ergon Informatik AG