org.openpermis.editor.policy.command
Class ResourceDomainRemoveCommand

java.lang.Object
  extended by org.openpermis.editor.policy.command.AbstractCommand
      extended by org.openpermis.editor.policy.command.PartRemoveCommand<org.openpermis.policy.bean.DomainBean>
          extended by org.openpermis.editor.policy.command.ResourceDomainRemoveCommand
All Implemented Interfaces:
Command

public class ResourceDomainRemoveCommand
extends PartRemoveCommand<org.openpermis.policy.bean.DomainBean>

Command that deletes a domain allover the model.

Since:
0.1.0

Constructor Summary
ResourceDomainRemoveCommand(org.openpermis.policy.bean.DomainBean domain)
          Creates a command.
 
Method Summary
 void removePart(org.openpermis.policy.bean.PolicyBean policyBean, boolean doExec)
           
 
Methods inherited from class org.openpermis.editor.policy.command.PartRemoveCommand
execute, getPart, 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

ResourceDomainRemoveCommand

public ResourceDomainRemoveCommand(org.openpermis.policy.bean.DomainBean domain)
Creates a command.

Parameters:
domain - the domain to modify, must not be null.
Since:
0.1.0
Method Detail

removePart

public void removePart(org.openpermis.policy.bean.PolicyBean policyBean,
                       boolean doExec)
Specified by:
removePart in class PartRemoveCommand<org.openpermis.policy.bean.DomainBean>
Since:
0.1.0


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