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 |
String | sender = null |
String | recipients = null |
String | subject = null |
String | emaccount = null |
String | idowner = null |
Timestamp | maildate = null |
Static Public Attributes | |
static final String[] | fieldsext |
static final int | ridb = 0 |
static final int | rsender = 1 |
static final int | rrecipients = 2 |
static final int | rsubject = 3 |
static final int | remaccount = 4 |
static final int | ridowner = 5 |
static final int | rmaildate = 6 |
static final String | allFieldsExt |
static String | getWhereClause = fieldsext[ridb]+" = ? " |
static String | getFieldsSetExt |
static String | getFieldsSetAllExt |
static String | getFieldsSetExtNULL |
openlsm.lsmbusiness.LSDBusinessImpl.LSDBusinessImpl | ( | ) |
Default empty constructor
openlsm.lsmbusiness.LSDBusinessImpl.LSDBusinessImpl | ( | LSDBusiness | lsdb | ) |
Constructor from data
lsdb |
openlsm.lsmbusiness.LSDBusinessImpl.LSDBusinessImpl | ( | int[] | ranks, | |
String[] | args | |||
) |
Constructor from 1 int[] for rank and 1 String[] for value
ranks | ||
args |
openlsm.lsmbusiness.LSDBusinessImpl.LSDBusinessImpl | ( | LSDBusinessImpl | lsdb | ) |
Constructor from data
lsdb |
String openlsm.lsmbusiness.LSDBusinessImpl.getAllFieldsExt | ( | ) | [virtual] |
String openlsm.lsmbusiness.LSDBusinessImpl.getFieldsExt | ( | int | number | ) | [virtual] |
String openlsm.lsmbusiness.LSDBusinessImpl.getFieldsSetAllExt | ( | ) | [virtual] |
String openlsm.lsmbusiness.LSDBusinessImpl.getFieldsSetExt | ( | ) | [virtual] |
String openlsm.lsmbusiness.LSDBusinessImpl.getFieldsSetExtNULL | ( | ) | [virtual] |
String openlsm.lsmbusiness.LSDBusinessImpl.getWhereClause | ( | ) | [virtual] |
String openlsm.lsmbusiness.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 openlsm.lsmbusiness.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 openlsm.lsmbusiness.LSDBusinessImpl.equals | ( | LSDBusiness | other | ) | [virtual] |
boolean openlsm.lsmbusiness.LSDBusinessImpl.setFromLSDBusiness | ( | LSDBusiness | lsdb | ) | [virtual] |
boolean openlsm.lsmbusiness.LSDBusinessImpl.getFromResultSet | ( | ResultSet | resultSet | ) | [virtual] |
Set internal value from ResultSet
resultSet |
Implements openlsd.database.business.LSDBusiness.
String openlsm.lsmbusiness.LSDBusinessImpl.getFieldsValues | ( | ) | [virtual] |
Set Values for Insert command
Implements openlsd.database.business.LSDBusiness.
int openlsm.lsmbusiness.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 openlsm.lsmbusiness.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 openlsm.lsmbusiness.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 openlsm.lsmbusiness.LSDBusinessImpl.clear | ( | ) | [virtual] |
Clear all data in the object
Implements openlsd.database.business.LSDBusiness.
LSDBusiness openlsm.lsmbusiness.LSDBusinessImpl.clone | ( | ) | [virtual] |
Clone the current object but only copy values
Implements openlsd.database.business.LSDBusiness.
boolean openlsm.lsmbusiness.LSDBusinessImpl.setFromLSDBusiness | ( | LSDBusinessImpl | lsdb | ) |
lsdb |
boolean openlsm.lsmbusiness.LSDBusinessImpl.equals | ( | LSDBusinessImpl | other | ) |
Comparison of two LSDBusinessImpl object on primary key (Business Index)
other |
String openlsm.lsmbusiness.LSDBusinessImpl.toString | ( | ) | [virtual] |
Object to String
Implements openlsd.database.business.LSDBusiness.
void openlsm.lsmbusiness.LSDBusinessImpl.setFromString | ( | String | line | ) | [virtual] |
(non-Javadoc)
Implements openlsd.database.business.LSDBusiness.
int openlsm.lsmbusiness.LSDBusinessImpl.setFromStrings | ( | int | curargs, | |
String[] | args | |||
) | [virtual] |
(non-Javadoc)
Implements openlsd.database.business.LSDBusiness.
String openlsm.lsmbusiness.LSDBusinessImpl.toCSV | ( | ) | [virtual] |
Implements openlsd.database.business.LSDBusiness.
static LSDBusiness openlsd.database.business.LSDBusiness.newBusiness | ( | ) | [static, inherited] |
Create an empty LSDBusiness according to the registering implementation
String openlsm.lsmbusiness.LSDBusinessImpl.idb = null |
Business index : day-hour-sender-email_account-random
String openlsm.lsmbusiness.LSDBusinessImpl.sender = null |
Sender
String openlsm.lsmbusiness.LSDBusinessImpl.recipients = null |
Recipients (from, to, cc, email account)
String openlsm.lsmbusiness.LSDBusinessImpl.subject = null |
Subject and Keyword and Domain
String openlsm.lsmbusiness.LSDBusinessImpl.emaccount = null |
Email Account
String openlsm.lsmbusiness.LSDBusinessImpl.idowner = null |
Mail Owner
Timestamp openlsm.lsmbusiness.LSDBusinessImpl.maildate = null |
Date of mail
final String [] openlsm.lsmbusiness.LSDBusinessImpl.fieldsext [static] |
Initial value:
{"IDMETIER","SENDER", "RECIPIENTS","SUBJECT","EMACCOUNT","IDOWNER","MAILDATE"}
Reimplemented from openlsd.database.business.LSDBusiness.
final int openlsm.lsmbusiness.LSDBusinessImpl.ridb = 0 [static] |
Index for extended fields for Business
final int openlsm.lsmbusiness.LSDBusinessImpl.rsender = 1 [static] |
Index for extended fields for Business
final int openlsm.lsmbusiness.LSDBusinessImpl.rrecipients = 2 [static] |
Index for extended fields for Business
final int openlsm.lsmbusiness.LSDBusinessImpl.rsubject = 3 [static] |
Index for extended fields for Business
final int openlsm.lsmbusiness.LSDBusinessImpl.remaccount = 4 [static] |
Index for extended fields for Business
final int openlsm.lsmbusiness.LSDBusinessImpl.ridowner = 5 [static] |
Index for extended fields for Business
final int openlsm.lsmbusiness.LSDBusinessImpl.rmaildate = 6 [static] |
Index for extended fields for Business
final String openlsm.lsmbusiness.LSDBusinessImpl.allFieldsExt [static] |
Initial value:
","+fieldsext[ridb]+","+fieldsext[rsender]+ ","+fieldsext[rrecipients]+","+fieldsext[rsubject]+","+fieldsext[remaccount]+ ","+fieldsext[ridowner]+","+fieldsext[rmaildate]+" "
Reimplemented from openlsd.database.business.LSDBusiness.
String openlsm.lsmbusiness.LSDBusinessImpl.getWhereClause = fieldsext[ridb]+" = ? " [static] |
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 openlsm.lsmbusiness.LSDBusinessImpl.getFieldsSetExt [static] |
Initial value:
","+fieldsext[rsender]+ " = ?,"+fieldsext[rrecipients]+" = ?,"+fieldsext[rsubject]+" = ?,"+ fieldsext[remaccount]+" = ?,"+fieldsext[ridowner]+" = ?,"+fieldsext[rmaildate]+" = ? "
Reimplemented from openlsd.database.business.LSDBusiness.
String openlsm.lsmbusiness.LSDBusinessImpl.getFieldsSetAllExt [static] |
Initial value:
","+fieldsext[ridb]+" = ?,"+fieldsext[rsender]+ " = ?,"+fieldsext[rrecipients]+" = ?,"+fieldsext[rsubject]+" = ?,"+ fieldsext[remaccount]+"= ?,"+fieldsext[ridowner]+"= ?,"+fieldsext[rmaildate]+" = ? "
Reimplemented from openlsd.database.business.LSDBusiness.
String openlsm.lsmbusiness.LSDBusinessImpl.getFieldsSetExtNULL [static] |
Initial value:
","+fieldsext[ridb]+" = NULL ,"+ fieldsext[rsender]+" = NULL,"+fieldsext[rrecipients]+" = NULL,"+fieldsext[rsubject]+ " = NULL,"+fieldsext[remaccount]+ "= NULL,"+fieldsext[ridowner]+"= NULL,"+fieldsext[rmaildate]+" = NULL "
Reimplemented from openlsd.database.business.LSDBusiness.