openlsd.web.appli.LSDWebDelete Class Reference
List of all members.
Detailed Description
Delete function for LSD in Web
- Author:
- Frederic BREGIER LGPL 2007
|
Public Member Functions |
int | initDelete (String[]args, int curargs, boolean keepalived) |
int | initDeleteMT (String[]args, int curargs, boolean keepalived) |
boolean | runDelete (String filepath) |
boolean | runDeleteMT (String filepath) |
void | createRunningDeleteMT (ExecutorService executorService) |
void | run () |
Static Public Member Functions |
static int | delDocument (ArrayList< String > erreurs, LSDDbAdmin admin, long legacy, LSDBusiness lsdb, LSDDbIpPort ipport) |
Protected Member Functions |
boolean | deleteDocument (ArrayList< String > erreurs) |
Protected Attributes |
LSDDbAdmin | admin = null |
LSDDbLegacy | legacy = null |
LSDExtDbDocument | document = null |
long | lid = LSDConstants.invalide_idx |
LSDBusiness | lsdb = null |
LSDDbIpPort | ipportProt = null |
LSDClientDelete | lcd = null |
LSDClientDelete[] | lcds = null |
LSDDbAdmin[] | admins = null |
ConcurrentLinkedQueue
< LSDExtQueueMember > | todoQueue = null |
ConcurrentLinkedQueue
< LSDExtQueueMember > | doneQueue = null |
Private Member Functions |
| LSDWebDelete (LSDDbAdmin admin) |
int | delDocument (ArrayList< String > erreurs, long legacy, LSDBusiness lsdb, LSDDbIpPort ipport) |
Constructor & Destructor Documentation
openlsd.web.appli.LSDWebDelete.LSDWebDelete |
( |
LSDDbAdmin |
admin |
) |
[private] |
Constructore from LSDDbAdmin
- Parameters:
-
Member Function Documentation
static int openlsd.web.appli.LSDWebDelete.delDocument |
( |
ArrayList< String > |
erreurs, |
|
|
LSDDbAdmin |
admin, |
|
|
long |
legacy, |
|
|
LSDBusiness |
lsdb, |
|
|
LSDDbIpPort |
ipport | |
|
) |
| | [static] |
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)
int openlsd.web.appli.LSDWebDelete.delDocument |
( |
ArrayList< String > |
erreurs, |
|
|
long |
legacy, |
|
|
LSDBusiness |
lsdb, |
|
|
LSDDbIpPort |
ipport | |
|
) |
| | [private] |
Del one document from arguments in object mode
- Parameters:
-
| erreurs | |
| 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)
int openlsd.appli.admin.commondelete.LSDDeleteAbstract.initDelete |
( |
String[] |
args, |
|
|
int |
curargs, |
|
|
boolean |
keepalived | |
|
) |
| | [inherited] |
Init delete context except file listing itself
- Parameters:
-
- Returns:
- Next curargs or -1 if in error
int openlsd.appli.admin.commondelete.LSDDeleteAbstract.initDeleteMT |
( |
String[] |
args, |
|
|
int |
curargs, |
|
|
boolean |
keepalived | |
|
) |
| | [inherited] |
Init delete context except file listing itself, MultiThread version
- Parameters:
-
- Returns:
- Next curargs or -1 if in error
boolean openlsd.appli.admin.commondelete.LSDDeleteAbstract.runDelete |
( |
String |
filepath |
) |
[inherited] |
Run delete from the file containing list of id Business
- Parameters:
-
- Returns:
- True if OK, else False
boolean openlsd.appli.admin.commondelete.LSDDeleteAbstract.runDeleteMT |
( |
String |
filepath |
) |
[inherited] |
Run delete from the file containing list of id Business, MultiThread version
- Parameters:
-
- Returns:
- True if OK, else False
void openlsd.appli.admin.commondelete.LSDDeleteAbstract.createRunningDeleteMT |
( |
ExecutorService |
executorService |
) |
[inherited] |
void openlsd.appli.admin.commondelete.LSDDeleteAbstract.run |
( |
|
) |
[inherited] |
Run the delete operation on todoQueue, MultiThread version
- See also:
- java.lang.Runnable.run()
boolean openlsd.appli.admin.commondelete.LSDDeleteAbstract.deleteDocument |
( |
ArrayList< String > |
erreurs |
) |
[protected, inherited] |
Member Data Documentation
String identifying one specific document in one legacy : Business object
Array of Client Delete Object
The documentation for this class was generated from the following file:
- OpenLSD/WebSupport/openlsd/web/appli/LSDWebDelete.java