|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.framework.PO
org.compiere.model.X_C_BankStatementLoader
org.compiere.model.MBankStatementLoader
public class MBankStatementLoader
Bank Statement Loader Model This class is responsible for creating an instance of the bank statement loader class to use. It also inserts the data into the I_BankStatement table. The loader objects can acces their configuration (e.g. file, URL, password etc) using the corresponding get methods provided by this class. As this class is derrived from PO, "Persistent Object" it has acces to the loader configuration that has been entered for this loader. How these values are interpreted is the responsibility of the loader. There are two file names provided, getFileName() and getLocalFileName(). The first one is the file name as entered on the loader configuration tab, the second one is the file name parameter from the loader process. Reccomended behaviour for a file based loader would be to use the file name from the process parameter if available, and resort to the file anme from the loader configuration as a second option. For a HTTP based loader the file name from the loader configuration should be used to construct the URL to connect to (combined with the other parameters). In this scenario the file name from the process parameter can be used to save the aquired statement data to disk. author Maarten Klinker, Eldir Tomassen
| Field Summary |
|---|
| Fields inherited from class org.compiere.model.X_C_BankStatementLoader |
|---|
accessLevel, Model, Table_ID, Table_Name, updatedMS |
| Fields inherited from class org.compiere.framework.PO |
|---|
ACCESSLEVEL_ALL, ACCESSLEVEL_CLIENT, ACCESSLEVEL_CLIENTORG, ACCESSLEVEL_ORG, ACCESSLEVEL_SYSTEM, ACCESSLEVEL_SYSTEMCLIENT, ENTITYTYPE_Dictionary, ENTITYTYPE_UserMaintained, I_ZERO, log, p_changeVO, p_info, XML_ATTRIBUTE_AD_Table_ID, XML_ATTRIBUTE_Record_ID |
| Constructor Summary | |
|---|---|
MBankStatementLoader(Ctx ctx,
int C_BankStatementLoader_ID,
String trxName)
Create a Statement Loader Added for compatibility with new PO infrastructure (bug# 968136) |
|
MBankStatementLoader(Ctx ctx,
int C_BankStatementLoader_ID,
String fileName,
String trxName)
Create a Statement Loader |
|
MBankStatementLoader(Ctx ctx,
ResultSet rs,
String trxName)
Create a Statement Loader |
|
| Method Summary | |
|---|---|
String |
getErrorDescription()
Return the most recent error description |
String |
getErrorMessage()
Return the most recent error |
int |
getLoadCount()
The total number of statement lines loaded |
String |
getLocalFileName()
Return Local File Name |
boolean |
loadLines()
Start loading Bankstatements |
boolean |
saveLine()
Load a bank statement into the I_BankStatement table |
String |
toString()
Return Name |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MBankStatementLoader(Ctx ctx,
int C_BankStatementLoader_ID,
String trxName)
ctx - Current contextC_BankStatementLoader_ID - loader to usetrxName - transaction
public MBankStatementLoader(Ctx ctx,
int C_BankStatementLoader_ID,
String fileName,
String trxName)
ctx - Current contextC_BankStatementLoader_ID - loader to usefileName - input filetrxName - transaction
public MBankStatementLoader(Ctx ctx,
ResultSet rs,
String trxName)
ctx - Current contextrs - ResultSettrxName - transaction| Method Detail |
|---|
public String toString()
toString in class X_C_BankStatementLoaderpublic String getLocalFileName()
public boolean loadLines()
public boolean saveLine()
public String getErrorMessage()
public String getErrorDescription()
public int getLoadCount()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||