org.openpermis.editor.policy.command
Class CollectionRemoveCommand<P extends org.openpermis.policy.bean.PartBean>
java.lang.Object
org.openpermis.editor.policy.command.AbstractCommand
org.openpermis.editor.policy.command.CollectionChangeCommand<P>
org.openpermis.editor.policy.command.CollectionRemoveCommand<P>
- Type Parameters:
P
- the current beantype
- All Implemented Interfaces:
- Command
public class CollectionRemoveCommand<P extends org.openpermis.policy.bean.PartBean>
- extends CollectionChangeCommand<P>
Command to edit a part.
- Since:
- 0.1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollectionRemoveCommand
public CollectionRemoveCommand(org.openpermis.policy.bean.PartBean parentBean,
P elementBean,
String property)
- Creates a new command. *
- Parameters:
parentBean
- bean holding the collectionelementBean
- bean to add/removeproperty
- the property holding the collection- Since:
- 0.1.0
operateElement
void operateElement(boolean doExec,
List<P> list)
- Specified by:
operateElement
in class CollectionChangeCommand<P extends org.openpermis.policy.bean.PartBean>
- Parameters:
doExec
- wether to "exec" or to "undo"list
- list to change.- Since:
- 0.3.0
PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:48
Copyright (c) 2002-2007 Ergon Informatik AG