org.openpermis.editor.policy.command
Class CollectionAddCommand<P extends org.openpermis.policy.bean.PartBean>

java.lang.Object
  extended by org.openpermis.editor.policy.command.AbstractCommand
      extended by org.openpermis.editor.policy.command.CollectionChangeCommand<P>
          extended by org.openpermis.editor.policy.command.CollectionAddCommand<P>
Type Parameters:
P - the current beantype
All Implemented Interfaces:
Command

public class CollectionAddCommand<P extends org.openpermis.policy.bean.PartBean>
extends CollectionChangeCommand<P>

Command to edit a part.

Since:
0.1.0

Constructor Summary
CollectionAddCommand(org.openpermis.policy.bean.PartBean parentBean, P elementBean, String property)
          Creates a new command
 
Method Summary
 
Methods inherited from class org.openpermis.editor.policy.command.CollectionChangeCommand
execute, getElementBean, undo
 
Methods inherited from class org.openpermis.editor.policy.command.AbstractCommand
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionAddCommand

public CollectionAddCommand(org.openpermis.policy.bean.PartBean parentBean,
                            P elementBean,
                            String property)
Creates a new command. *

Parameters:
parentBean - bean holding the collection
elementBean - bean to add/remove
property - the property holding the collection
Since:
0.1.0


PERMIS Role Based Access Control 0.3.0 (Build 14)
2009/05/08 09:06:33
Copyright (c) 2002-2007 Ergon Informatik AG