Public Member Functions | |
int | initCopy (String[]args, int curargs, boolean keepalived) |
boolean | runCopy (String filepath) |
Static Public Member Functions | |
static void | main (String[] args) |
Protected Member Functions | |
void | copyDocument () |
Protected Attributes | |
LSDDbAdmin | admin = null |
LSDDbLegacy | legacy = null |
LSDExtDbDocument | document = null |
long | lid = LSDConstants.invalide_idx |
LSDBusiness | lsdb = null |
LSDDbIpPort | ipportAdm = null |
LSDClientInfo | lci = null |
String | filepath = null |
FileWriter | fileWriter = null |
FileWriter | fileErrWriter = null |
Private Member Functions | |
LSDGetCopy (LSDLoadConfig llc) |
openlsd.appli.admin.LSDGetCopy.LSDGetCopy | ( | LSDLoadConfig | llc | ) | [private] |
Create a new LSDCopy object
llc |
static void openlsd.appli.admin.LSDGetCopy.main | ( | String[] | args | ) | [static] |
It takes one file as input containing Business index on each line and it returns as output in the file named from the source one plus ".out" the Business index following by the full path access to the copy of the file on each line.
args |
int openlsd.appli.admin.commoncopy.LSDCopyAbstract.initCopy | ( | String[] | args, | |
int | curargs, | |||
boolean | keepalived | |||
) | [inherited] |
Init Copy context except file listing itself
args | ||
curargs | ||
keepalived |
boolean openlsd.appli.admin.commoncopy.LSDCopyAbstract.runCopy | ( | String | filepath | ) | [inherited] |
Run Copy from the file containing list of id Business
filepath |
void openlsd.appli.admin.commoncopy.LSDCopyAbstract.copyDocument | ( | ) | [protected, inherited] |
Truely copy the document in LSD then in DB
LSDDbAdmin openlsd.appli.admin.commoncopy.LSDCopyAbstract.admin = null [protected, inherited] |
DB Admin Object
LSDDbLegacy openlsd.appli.admin.commoncopy.LSDCopyAbstract.legacy = null [protected, inherited] |
DB Legacy Object
LSDExtDbDocument openlsd.appli.admin.commoncopy.LSDCopyAbstract.document = null [protected, inherited] |
DB Document Object
long openlsd.appli.admin.commoncopy.LSDCopyAbstract.lid = LSDConstants.invalide_idx [protected, inherited] |
Legacy ID
LSDBusiness openlsd.appli.admin.commoncopy.LSDCopyAbstract.lsdb = null [protected, inherited] |
String identifying one specific document in one legacy : Business object
LSDDbIpPort openlsd.appli.admin.commoncopy.LSDCopyAbstract.ipportAdm = null [protected, inherited] |
IpPort Object
LSDClientInfo openlsd.appli.admin.commoncopy.LSDCopyAbstract.lci = null [protected, inherited] |
Client Info Object
String openlsd.appli.admin.commoncopy.LSDCopyAbstract.filepath = null [protected, inherited] |
Original source file
FileWriter openlsd.appli.admin.commoncopy.LSDCopyAbstract.fileWriter = null [protected, inherited] |
File out
FileWriter openlsd.appli.admin.commoncopy.LSDCopyAbstract.fileErrWriter = null [protected, inherited] |
File error out