Package org.compiere.process
Class ImportBPartner
- java.lang.Object
-
- org.compiere.process.SvrProcess
-
- org.compiere.process.ImportBPartner
-
- All Implemented Interfaces:
ImportProcess
,ProcessCall
public class ImportBPartner extends SvrProcess implements ImportProcess
Import BPartners from I_BPartner- Version:
- $Id: ImportBPartner.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $
- Author:
- Jorg Janke, Teo Sarca, www.arhipac.ro
- FR [ 2788074 ] ImportBPartner: add IsValidateOnly option https://sourceforge.net/p/adempiere/feature-requests/710/
- FR [ 2788278 ] Data Import Validator - migrate core processes https://sourceforge.net/p/adempiere/feature-requests/713/
-
-
Field Summary
-
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound, PROCESS_INFO_CTX_KEY, PROCESS_UI_CTX_KEY, processUI
-
-
Constructor Summary
Constructors Constructor Description ImportBPartner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
doIt()
Perform process.String
getImportTableName()
String
getWhereClause()
protected void
prepare()
Prepare - e.g., get Parameters.-
Methods inherited from class org.compiere.process.SvrProcess
addBufferLog, addLog, addLog, addLog, commit, commitEx, doIt, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getRecord_IDs, getTable_ID, isLocked, lockObject, postProcess, rollback, setProcessUI, startProcess, statusUpdate, unlockObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.adempiere.process.ImportProcess
get_TrxName, getCtx, getProcessInfo
-
-
-
-
Method Detail
-
prepare
protected void prepare()
Prepare - e.g., get Parameters.- Specified by:
prepare
in classSvrProcess
-
doIt
protected String doIt() throws Exception
Perform process.- Specified by:
doIt
in classSvrProcess
- Returns:
- Message
- Throws:
Exception
-
getWhereClause
public String getWhereClause()
- Specified by:
getWhereClause
in interfaceImportProcess
- Returns:
- SQL WHERE clause to filter records that are candidates for import
-
getImportTableName
public String getImportTableName()
- Specified by:
getImportTableName
in interfaceImportProcess
- Returns:
- The Name of Import Table (e.g. I_BPartner)
-
-