org.exist.xupdate
Class Remove

java.lang.Object
  extended by org.exist.xupdate.Modification
      extended by org.exist.xupdate.Remove

public class Remove
extends Modification

Implements an XUpdate remove operation.

Author:
Wolfgang Meier

Constructor Summary
Remove(DBBroker broker, DocumentSet docs, String selectStmt, Map namespaces, Map variables)
          Constructor for Remove.
 
Method Summary
 String getName()
           
 long process(Txn transaction)
          Process the modification.
 
Methods inherited from class org.exist.xupdate.Modification
getAccessContext, setAccessContext, setContent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Remove

public Remove(DBBroker broker,
              DocumentSet docs,
              String selectStmt,
              Map namespaces,
              Map variables)
Constructor for Remove.

Parameters:
broker -
docs -
namespaces -
variables -
selectStmt -
Method Detail

process

public long process(Txn transaction)
             throws PermissionDeniedException,
                    LockException,
                    EXistException,
                    XPathException
Description copied from class: Modification
Process the modification. This is the main method that has to be implemented by all subclasses.

Specified by:
process in class Modification
Throws:
PermissionDeniedException
LockException
EXistException
XPathException
See Also:
Modification.process(org.exist.storage.txn.Txn)

getName

public String getName()
Specified by:
getName in class Modification
See Also:
Modification.getName()


Copyright (C) Wolfgang Meier. All rights reserved.