org.exist.xupdate
Class Insert

java.lang.Object
  extended byorg.exist.xupdate.Modification
      extended byorg.exist.xupdate.Insert

public class Insert
extends Modification

Insert.java

Author:
Wolfgang Meier

Field Summary
static int INSERT_AFTER
           
static int INSERT_BEFORE
           
 
Fields inherited from class org.exist.xupdate.Modification
content, docs, pool, selectStmt, user
 
Constructor Summary
Insert(BrokerPool pool, User user, DocumentSet docs, java.lang.String selectStmt)
          Constructor for Insert.
Insert(BrokerPool pool, User user, DocumentSet docs, java.lang.String selectStmt, int mode)
           
 
Method Summary
 java.lang.String getName()
           
 long process()
           
 
Methods inherited from class org.exist.xupdate.Modification
select, setContent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INSERT_BEFORE

public static final int INSERT_BEFORE
See Also:
Constant Field Values

INSERT_AFTER

public static final int INSERT_AFTER
See Also:
Constant Field Values
Constructor Detail

Insert

public Insert(BrokerPool pool,
              User user,
              DocumentSet docs,
              java.lang.String selectStmt)
Constructor for Insert.

Parameters:
pool -
user -
selectStmt -

Insert

public Insert(BrokerPool pool,
              User user,
              DocumentSet docs,
              java.lang.String selectStmt,
              int mode)
Method Detail

process

public long process()
             throws PermissionDeniedException,
                    EXistException
Specified by:
process in class Modification
Throws:
PermissionDeniedException
EXistException
See Also:
org.exist.xupdate.Modification#process(org.exist.dom.DocumentSet)

getName

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


Copyright (C) Wolfgang Meier. All rights reserved.