openlsd.web.appli
Class LSDWebDelete

java.lang.Object
  extended by openlsd.appli.admin.commondelete.LSDDeleteAbstract
      extended by openlsd.web.appli.LSDWebDelete
All Implemented Interfaces:
java.lang.Runnable

public class LSDWebDelete
extends LSDDeleteAbstract

Delete function for LSD in Web

Author:
Frederic BREGIER LGPL 2007

Field Summary
 
Fields inherited from class openlsd.appli.admin.commondelete.LSDDeleteAbstract
admin, admins, document, doneQueue, ipportProt, lcd, lcds, legacy, lid, lsdb, todoQueue
 
Method Summary
static int delDocument(java.util.ArrayList<java.lang.String> erreurs, LSDDbAdmin admin, long legacy, LSDBusiness lsdb, LSDDbIpPort ipport)
          Del one document from arguments
 
Methods inherited from class openlsd.appli.admin.commondelete.LSDDeleteAbstract
createRunningDeleteMT, deleteDocument, initDelete, initDeleteMT, run, runDelete, runDeleteMT
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

delDocument

public static int delDocument(java.util.ArrayList<java.lang.String> erreurs,
                              LSDDbAdmin admin,
                              long legacy,
                              LSDBusiness lsdb,
                              LSDDbIpPort ipport)
Del one document from arguments

Parameters:
erreurs -
admin -
legacy -
lsdb -
ipport -
Returns:
0 if OK, else > 0 means an error occurs (1:no Legacy found in DB, 2:no connection to OpenLSD Server, 3:document was not deleted)