org.openpermis.editor.policy.command
Class PoolRemoveCommand<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.PoolChangeCommand<P>
          extended by org.openpermis.editor.policy.command.PoolRemoveCommand<P>
Type Parameters:
P - the current beantype
All Implemented Interfaces:
Command

public class PoolRemoveCommand<P extends org.openpermis.policy.bean.PartBean>
extends PoolChangeCommand<P>

Command to edit a part.

Since:
0.1.0

Constructor Summary
PoolRemoveCommand(PolicyPartPool<P> pool, P elementBean)
          Creates a new command
 
Method Summary
 void operateElement(boolean doExec)
           
 
Methods inherited from class org.openpermis.editor.policy.command.PoolChangeCommand
execute, getElementBean, getPool, 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

PoolRemoveCommand

public PoolRemoveCommand(PolicyPartPool<P> pool,
                         P elementBean)
Creates a new command. *

Parameters:
pool - pool to be changed
elementBean - bean to operate on
Since:
0.1.0
Method Detail

operateElement

public void operateElement(boolean doExec)
Parameters:
doExec - wether to "exec" or to "undo"
Since:
0.1.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:11
Copyright (c) 2002-2007 Ergon Informatik AG