

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) |
| String | toString () |
| void | setFromString (String line) |
| int | setFromStrings (int curargs, String[] args) |
| String | toCSV () |
Static Public Member Functions | |
| static LSDBusiness | newBusiness () |
Public Attributes | |
| String | idb = null |
| long | idbunit = LSDConstants.invalide_idx |
| String | idowner = null |
| Timestamp | limitdate = null |
Static Public Attributes | |
| static final int | ridb = 0 |
| static final int | ridbunit = 1 |
| static final int | ridowner = 2 |
| static final int | rlimitdate = 3 |
| static final String | allFieldsExt |
| static String | getWhereClause = fieldsext[ridb]+" = ? " |
| static String | getFieldsSetExt |
| static String | getFieldsSetAllExt |
| static String | getFieldsSetExtNULL |
Static Protected Attributes | |
| static final String[] | fieldsext = {"IDMETIER","IDBUNIT","IDOWNER","LIMITDATE"} |
| openlsd.newbusiness.LSDBusinessImpl.LSDBusinessImpl | ( | ) |
Default empty constructor
| openlsd.newbusiness.LSDBusinessImpl.LSDBusinessImpl | ( | LSDBusiness | lsdb | ) |
Constructor from data
| lsdb |
| openlsd.newbusiness.LSDBusinessImpl.LSDBusinessImpl | ( | int[] | ranks, | |
| String[] | args | |||
| ) |
Constructor from 1 int[] for rank and 1 String[] for value
| ranks | ||
| args |
| openlsd.newbusiness.LSDBusinessImpl.LSDBusinessImpl | ( | LSDBusinessImpl | lsdb | ) |
Constructor from data
| lsdb |
| String openlsd.newbusiness.LSDBusinessImpl.getAllFieldsExt | ( | ) | [virtual] |
| String openlsd.newbusiness.LSDBusinessImpl.getFieldsExt | ( | int | number | ) | [virtual] |
| String openlsd.newbusiness.LSDBusinessImpl.getFieldsSetAllExt | ( | ) | [virtual] |
| String openlsd.newbusiness.LSDBusinessImpl.getFieldsSetExt | ( | ) | [virtual] |
| String openlsd.newbusiness.LSDBusinessImpl.getFieldsSetExtNULL | ( | ) | [virtual] |
| String openlsd.newbusiness.LSDBusinessImpl.getWhereClause | ( | ) | [virtual] |
| String openlsd.newbusiness.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.newbusiness.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.newbusiness.LSDBusinessImpl.equals | ( | LSDBusiness | other | ) | [virtual] |
| boolean openlsd.newbusiness.LSDBusinessImpl.setFromLSDBusiness | ( | LSDBusiness | lsdb | ) | [virtual] |
| boolean openlsd.newbusiness.LSDBusinessImpl.getFromResultSet | ( | ResultSet | resultSet | ) | [virtual] |
Set internal value from ResultSet
| resultSet |
Implements openlsd.database.business.LSDBusiness.
| String openlsd.newbusiness.LSDBusinessImpl.getFieldsValues | ( | ) | [virtual] |
Set Values for Insert command
Implements openlsd.database.business.LSDBusiness.
| int openlsd.newbusiness.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.newbusiness.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.newbusiness.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.newbusiness.LSDBusinessImpl.clear | ( | ) | [virtual] |
Clear all data in the object
Implements openlsd.database.business.LSDBusiness.
| LSDBusiness openlsd.newbusiness.LSDBusinessImpl.clone | ( | ) | [virtual] |
Clone the current object but only copy values
Implements openlsd.database.business.LSDBusiness.
| boolean openlsd.newbusiness.LSDBusinessImpl.setFromLSDBusiness | ( | LSDBusinessImpl | lsdb | ) |
| lsdb |
| boolean openlsd.newbusiness.LSDBusinessImpl.equals | ( | LSDBusinessImpl | other | ) |
Comparison of two LSDBusinessImpl object on primary key (Business Index)
| other |
| String openlsd.newbusiness.LSDBusinessImpl.toString | ( | ) | [virtual] |
Object to String
Implements openlsd.database.business.LSDBusiness.
| void openlsd.newbusiness.LSDBusinessImpl.setFromString | ( | String | line | ) | [virtual] |
(non-Javadoc)
Implements openlsd.database.business.LSDBusiness.
| int openlsd.newbusiness.LSDBusinessImpl.setFromStrings | ( | int | curargs, | |
| String[] | args | |||
| ) | [virtual] |
(non-Javadoc)
Implements openlsd.database.business.LSDBusiness.
| String openlsd.newbusiness.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.newbusiness.LSDBusinessImpl.idb = null |
Must Be Extended in Implementation:
Business index
Must Be Extended in Implementation:
Business Unit
| String openlsd.newbusiness.LSDBusinessImpl.idowner = null |
Must Be Extended in Implementation:
Business Owner
| Timestamp openlsd.newbusiness.LSDBusinessImpl.limitdate = null |
Must Be Extended in Implementation:
Limit of time validity
final String [] openlsd.newbusiness.LSDBusinessImpl.fieldsext = {"IDMETIER","IDBUNIT","IDOWNER","LIMITDATE"} [static, protected] |
Must Be Extended in Implementation:
Extended fields for Business
Reimplemented from openlsd.database.business.LSDBusiness.
final int openlsd.newbusiness.LSDBusinessImpl.ridb = 0 [static] |
Must Be Extended in Implementation:
Index for extended fields for Business
final int openlsd.newbusiness.LSDBusinessImpl.ridbunit = 1 [static] |
Must Be Extended in Implementation:
Index for extended fields for Business
final int openlsd.newbusiness.LSDBusinessImpl.ridowner = 2 [static] |
Index for extended fields for Business
final int openlsd.newbusiness.LSDBusinessImpl.rlimitdate = 3 [static] |
Index for extended fields for Business
final String openlsd.newbusiness.LSDBusinessImpl.allFieldsExt [static] |
Initial value:
Must Be Extended in Implementation:Reimplemented from openlsd.database.business.LSDBusiness.
String openlsd.newbusiness.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.newbusiness.LSDBusinessImpl.getFieldsSetExt [static] |
Initial value:
Must Be Extended in Implementation:Reimplemented from openlsd.database.business.LSDBusiness.
String openlsd.newbusiness.LSDBusinessImpl.getFieldsSetAllExt [static] |
Initial value:
","+fieldsext[ridb]+" = ?,"+fieldsext[ridbunit]+ "= ?,"+fieldsext[ridowner]+"= ?,"+fieldsext[rlimitdate]+" = ? "
Reimplemented from openlsd.database.business.LSDBusiness.
String openlsd.newbusiness.LSDBusinessImpl.getFieldsSetExtNULL [static] |
Initial value:
","+fieldsext[ridb]+" = NULL ,"+fieldsext[ridbunit]+ "= "+LSDConstants.invalide_idx+","+fieldsext[ridowner]+"= NULL,"+fieldsext[rlimitdate]+" = NULL "
Reimplemented from openlsd.database.business.LSDBusiness.