openlsd.database.data.LSDDbCheck Class Reference
List of all members.
Detailed Description
Class for Document checking
- Author:
- Frederic Bregier LGPL
|
Public Member Functions |
| LSDDbCheck () |
| LSDDbCheck (long lid, long sid, long did) |
boolean | get (ResultSet resultSet) |
boolean | getLSD (ResultSet resultSet) |
boolean | get (LSDDbAdmin admin, long lid, long sid, long did, String md5) |
String | toString () |
Static Public Member Functions |
static boolean | delLid (LSDDbAdmin admin, long lid) |
Public Attributes |
long | lid = LSDConstants.invalide_idx |
long | sid = LSDConstants.invalide_idx |
long | did = LSDConstants.invalide_idx |
String | md5 = null |
Static Public Attributes |
static final String | table = " lsdcheck " |
static final String[] | fields |
static final int | rlid = 0 |
static final int | rsid = 1 |
static final int | rdid = 2 |
static final int | rmd5 = 3 |
static final String | allfields = " "+fields[rlid]+","+fields[rsid]+","+fields[rdid]+","+fields[rmd5]+" " |
static final String | insertfields |
Protected Member Functions |
void | assign (long lid, long sid, long did) |
Static Private Member Functions |
static String | getWhereCond (String md5) |
Constructor & Destructor Documentation
openlsd.database.data.LSDDbCheck.LSDDbCheck |
( |
|
) |
|
openlsd.database.data.LSDDbCheck.LSDDbCheck |
( |
long |
lid, |
|
|
long |
sid, |
|
|
long |
did | |
|
) |
| | |
Create a DocumentCheck from args (no path)
- Parameters:
-
Member Function Documentation
void openlsd.database.data.LSDDbCheck.assign |
( |
long |
lid, |
|
|
long |
sid, |
|
|
long |
did | |
|
) |
| | [protected] |
Assign values to the object
- Parameters:
-
boolean openlsd.database.data.LSDDbCheck.get |
( |
ResultSet |
resultSet |
) |
|
Get Values from ResultSet
- Parameters:
-
- Returns:
- True if OK, else False
boolean openlsd.database.data.LSDDbCheck.getLSD |
( |
ResultSet |
resultSet |
) |
|
Get Values from ResultSet limited to lid,sid,did
- Parameters:
-
- Returns:
- True if OK, else False
static String openlsd.database.data.LSDDbCheck.getWhereCond |
( |
String |
md5 |
) |
[static, private] |
Get String for Where Condition
- Parameters:
-
- Returns:
- the string as result
boolean openlsd.database.data.LSDDbCheck.get |
( |
LSDDbAdmin |
admin, |
|
|
long |
lid, |
|
|
long |
sid, |
|
|
long |
did, |
|
|
String |
md5 | |
|
) |
| | |
Get the DocumentCheck object from DB
- Parameters:
-
- Returns:
- True if OK, else False
static boolean openlsd.database.data.LSDDbCheck.delLid |
( |
LSDDbAdmin |
admin, |
|
|
long |
lid | |
|
) |
| | [static] |
Del all DocumentCheck objects from DB where lid is the same
- Parameters:
-
- Returns:
- True if OK, else False
String openlsd.database.data.LSDDbCheck.toString |
( |
|
) |
|
Object to String
- Returns:
- the string that displays this object
- See also:
- java.lang.Object.toString()
Member Data Documentation
information for DB manipulation: Table name
Initial value:
{"LID","SID","DID","EMPREINT"}
DB field names
DB field for all fields in select command.
Initial value:
DB field for insert
The documentation for this class was generated from the following file:
- OpenLSD/ClientSupport/openlsd/database/data/LSDDbCheck.java