openlsd.multiple.admin.commondelete
Class LSDDeleteAbstractML
java.lang.Object
openlsd.appli.admin.commondelete.LSDDeleteAbstract
openlsd.multiple.admin.commondelete.LSDDeleteAbstractML
- All Implemented Interfaces:
- java.lang.Runnable
- Direct Known Subclasses:
- LSDDeleteML
public abstract class LSDDeleteAbstractML
- extends LSDDeleteAbstract
Simple class that shared common things and methods between deleters.
ML Version.
- Author:
- Frederic BREGIER LGPL 2007
Field Summary |
protected java.util.ArrayList<LSDDbIpPort> |
listIpPort
List of IpPort for all documents to delete |
Fields inherited from class openlsd.appli.admin.commondelete.LSDDeleteAbstract |
admin, admins, document, doneQueue, ipportProt, lcd, lcds, legacy, lid, lsdb, todoQueue |
Method Summary |
protected boolean |
deleteDocument(java.util.ArrayList<java.lang.String> erreurs)
Truely delete the document in LSD then insert in OpTable and delete in DB (Document) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listIpPort
protected java.util.ArrayList<LSDDbIpPort> listIpPort
- List of IpPort for all documents to delete
LSDDeleteAbstractML
public LSDDeleteAbstractML(LSDLoadConfig llc)
- Create a new LSDDeleteML object
- Parameters:
llc
-
LSDDeleteAbstractML
public LSDDeleteAbstractML(LSDDbAdmin admin,
java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> todoQueue,
java.util.concurrent.ConcurrentLinkedQueue<LSDExtQueueMember> doneQueue,
LSDClientDelete lcd,
LSDDbIpPort ipport,
LSDDbLegacy legacy,
long lid)
- Parameters:
admin
- todoQueue
- doneQueue
- lcd
- ipport
- legacy
- lid
-
deleteDocument
protected boolean deleteDocument(java.util.ArrayList<java.lang.String> erreurs)
- Truely delete the document in LSD then insert in OpTable and delete in DB (Document)
- Overrides:
deleteDocument
in class LSDDeleteAbstract
- Parameters:
erreurs
- for Web functions support, ignore if null
- Returns:
- True if OK, else False