Public Member Functions | |
String | getAllFieldsExt () |
String | getFieldsExt (int number) |
String | getFieldsSetAllExt () |
String | getFieldsSetExt () |
String | getFieldsSetExtNULL () |
String | getWhereClause () |
String | doc_hintBusiness () |
LSDBusinessImpl () | |
LSDBusinessImpl (LSDBusiness lsdb) | |
LSDBusinessImpl (int[]ranks, String[]args) | |
LSDBusinessImpl (LSDBusinessImpl lsdb) | |
boolean | setFromStringArray (int[]ranks, String[]args) |
boolean | equals (LSDBusiness other) |
boolean | setFromLSDBusiness (LSDBusiness lsdb) |
boolean | getFromResultSet (ResultSet resultSet) |
String | getFieldsValues () |
int | setToPrepStmtGetWhereClause (int startrank, LSDDbPreparedStatement preparedStatement) |
int | setToPrepStmtGetFieldsSetExt (int startrank, LSDDbPreparedStatement preparedStatement) |
int | setToPrepStmtGetFieldsSetAllExt (int startrank, LSDDbPreparedStatement preparedStatement) |
void | clear () |
LSDBusiness | clone () |
boolean | setFromLSDBusiness (LSDBusinessImpl lsdb) |
boolean | equals (LSDBusinessImpl other) |
void | setFromString (String line) |
int | setFromStrings (int curargs, String[]args) |
String | toString () |
String | toCSV () |
Static Public Member Functions | |
static LSDBusiness | newBusiness () |
Public Attributes | |
String | idb = null |
Static Public Attributes | |
static final int | ridb = 0 |
static final String | allFieldsExt = ","+fieldsext[ridb]+" " |
static String | getWhereClause = fieldsext[ridb]+" = ? " |
static String | getFieldsSetExt = "" |
static String | getFieldsSetAllExt = ","+fieldsext[ridb]+" = ? " |
static String | getFieldsSetExtNULL = ","+fieldsext[ridb]+" = NULL " |
Static Protected Attributes | |
static final String[] | fieldsext = {"IDMETIER"} |
openlsd.business.LSDBusinessImpl.LSDBusinessImpl | ( | ) |
Default empty constructor
openlsd.business.LSDBusinessImpl.LSDBusinessImpl | ( | LSDBusiness | lsdb | ) |
Constructor from data
lsdb |
openlsd.business.LSDBusinessImpl.LSDBusinessImpl | ( | int[] | ranks, | |
String[] | args | |||
) |
Constructor from 1 int[] for rank and 1 String[] for value
ranks | ||
args |
openlsd.business.LSDBusinessImpl.LSDBusinessImpl | ( | LSDBusinessImpl | lsdb | ) |
Constructor from data
lsdb |
String openlsd.business.LSDBusinessImpl.getAllFieldsExt | ( | ) | [virtual] |
String openlsd.business.LSDBusinessImpl.getFieldsExt | ( | int | number | ) | [virtual] |
String openlsd.business.LSDBusinessImpl.getFieldsSetAllExt | ( | ) | [virtual] |
String openlsd.business.LSDBusinessImpl.getFieldsSetExt | ( | ) | [virtual] |
String openlsd.business.LSDBusinessImpl.getFieldsSetExtNULL | ( | ) | [virtual] |
String openlsd.business.LSDBusinessImpl.getWhereClause | ( | ) | [virtual] |
String openlsd.business.LSDBusinessImpl.doc_hintBusiness | ( | ) | [virtual] |
Returns the hint for DOC on Business Index (SELECT "hint" 1 FROM LSDDOCUMENT WHERE getWhereClauseBusiness)
Implements openlsd.database.business.LSDBusiness.
boolean openlsd.business.LSDBusinessImpl.setFromStringArray | ( | int[] | ranks, | |
String[] | args | |||
) | [virtual] |
Set from 1 int[] for rank and 1 String[] for value
ranks | ||
args |
Implements openlsd.database.business.LSDBusiness.
boolean openlsd.business.LSDBusinessImpl.equals | ( | LSDBusiness | other | ) | [virtual] |
boolean openlsd.business.LSDBusinessImpl.setFromLSDBusiness | ( | LSDBusiness | lsdb | ) | [virtual] |
boolean openlsd.business.LSDBusinessImpl.getFromResultSet | ( | ResultSet | resultSet | ) | [virtual] |
Set internal value from ResultSet
resultSet |
Implements openlsd.database.business.LSDBusiness.
String openlsd.business.LSDBusinessImpl.getFieldsValues | ( | ) | [virtual] |
Set Values for Insert command
Implements openlsd.database.business.LSDBusiness.
int openlsd.business.LSDBusinessImpl.setToPrepStmtGetWhereClause | ( | int | startrank, | |
LSDDbPreparedStatement | preparedStatement | |||
) | [virtual] |
Set the value into the prepareStatement from Object for the Where Condition in getWhereClause
startrank | The value to start from in the preparedStatement.setXXX call | |
preparedStatement |
Implements openlsd.database.business.LSDBusiness.
int openlsd.business.LSDBusinessImpl.setToPrepStmtGetFieldsSetExt | ( | int | startrank, | |
LSDDbPreparedStatement | preparedStatement | |||
) | [virtual] |
Set the value into the prepareStatement from Object for the set in GetFieldsSetExt
startrank | The value to start from in the preparedStatement.setXXX call | |
preparedStatement |
Implements openlsd.database.business.LSDBusiness.
int openlsd.business.LSDBusinessImpl.setToPrepStmtGetFieldsSetAllExt | ( | int | startrank, | |
LSDDbPreparedStatement | preparedStatement | |||
) | [virtual] |
Set the value into the prepareStatement from Object for the set in GetFieldsSetAllExt
startrank | The value to start from in the preparedStatement.setXXX call | |
preparedStatement |
Implements openlsd.database.business.LSDBusiness.
void openlsd.business.LSDBusinessImpl.clear | ( | ) | [virtual] |
Clear all data in the object
Implements openlsd.database.business.LSDBusiness.
LSDBusiness openlsd.business.LSDBusinessImpl.clone | ( | ) | [virtual] |
Clone the current object but only copy values
Implements openlsd.database.business.LSDBusiness.
boolean openlsd.business.LSDBusinessImpl.setFromLSDBusiness | ( | LSDBusinessImpl | lsdb | ) |
lsdb |
boolean openlsd.business.LSDBusinessImpl.equals | ( | LSDBusinessImpl | other | ) |
Comparison of two LSDBusinessImpl object on primary key (Business Index)
other |
void openlsd.business.LSDBusinessImpl.setFromString | ( | String | line | ) | [virtual] |
Fill the object from the String for Delete function
line |
Implements openlsd.database.business.LSDBusiness.
int openlsd.business.LSDBusinessImpl.setFromStrings | ( | int | curargs, | |
String[] | args | |||
) | [virtual] |
Fill the object from the String for Import function
args | ||
curargs |
Implements openlsd.database.business.LSDBusiness.
String openlsd.business.LSDBusinessImpl.toString | ( | ) | [virtual] |
Object to String
Implements openlsd.database.business.LSDBusiness.
String openlsd.business.LSDBusinessImpl.toCSV | ( | ) | [virtual] |
(non-Javadoc)
Implements openlsd.database.business.LSDBusiness.
static LSDBusiness openlsd.database.business.LSDBusiness.newBusiness | ( | ) | [static, inherited] |
Create an empty LSDBusiness according to the registering implementation
String openlsd.business.LSDBusinessImpl.idb = null |
Must Be Extended in Implementation:
Business index
final String [] openlsd.business.LSDBusinessImpl.fieldsext = {"IDMETIER"} [static, protected] |
Must Be Extended in Implementation:
Extended fields for Business
Reimplemented from openlsd.database.business.LSDBusiness.
final int openlsd.business.LSDBusinessImpl.ridb = 0 [static] |
Must Be Extended in Implementation:
Index for extended fields for Business
final String openlsd.business.LSDBusinessImpl.allFieldsExt = ","+fieldsext[ridb]+" " [static] |
Must Be Extended in Implementation:
Values to add to allfields (replace select *)
Reimplemented from openlsd.database.business.LSDBusiness.
String openlsd.business.LSDBusinessImpl.getWhereClause = fieldsext[ridb]+" = ? " [static] |
Must Be Extended in Implementation:
Where condition in " condition " format which will be added to " WHERE Legacy = ? AND condition " and that must returns 1 unique document.
Reimplemented from openlsd.database.business.LSDBusiness.
String openlsd.business.LSDBusinessImpl.getFieldsSetExt = "" [static] |
Must Be Extended in Implementation:
Set for all fields except fields used in getWhereClause
Reimplemented from openlsd.database.business.LSDBusiness.
String openlsd.business.LSDBusinessImpl.getFieldsSetAllExt = ","+fieldsext[ridb]+" = ? " [static] |
Must Be Extended in Implementation:
Set for all fields
Reimplemented from openlsd.database.business.LSDBusiness.
String openlsd.business.LSDBusinessImpl.getFieldsSetExtNULL = ","+fieldsext[ridb]+" = NULL " [static] |
Must Be Extended in Implementation:
Set values as NULL (or empty) including where clause
Reimplemented from openlsd.database.business.LSDBusiness.