ome.services.delete
Class DeleteOpts

java.lang.Object
  extended by ome.services.delete.DeleteOpts

public class DeleteOpts
extends Object

Manager for option instances for an entire delete graph. As method calls are made, this instance gets passed around and the appropriate ops are pushed or popped changing the current state of affairs.

Since:
Beta4.2.1
Author:
Josh Moore, josh at glencoesoftware.com
See Also:
IDelete

Nested Class Summary
static class DeleteOpts.Op
           
 
Constructor Summary
DeleteOpts()
           
 
Method Summary
 boolean isForce()
           
 void pop()
           
 void push(DeleteOpts.Op op, boolean modified, EventContext ec)
          Adds the given operation to the current list if the user has permissions to do so.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteOpts

public DeleteOpts()
Method Detail

push

public void push(DeleteOpts.Op op,
                 boolean modified,
                 EventContext ec)
          throws DeleteException
Adds the given operation to the current list if the user has permissions to do so.

Parameters:
op - Current DeleteOpts.Op to add to the stack
modified - Whether or not the value was changed by the user
details - Active user login
Throws:
DeleteException

pop

public void pop()

isForce

public boolean isForce()


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.