Package org.compiere.process
Class ImportProduct
java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.ImportProduct
- All Implemented Interfaces:
ImportProcess
,ProcessCall
Import Products from I_Product
- Version:
- $Id: ImportProduct.java,v 1.3 2006/07/30 00:51:01 jjanke Exp $
- Author:
- Jorg Janke, Carlos Ruiz, globalqss
- 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
-
Method Summary
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, getRecord_UU, getRecord_UUs, getTable_ID, isLocked, lockObject, postProcess, rollback, saveProgress, saveStatus, setProcessUI, startProcess, statusUpdate, unlockObject, updateProgress
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
-
Constructor Details
-
ImportProduct
public ImportProduct()
-
-
Method Details
-
prepare
protected void prepare()Prepare - e.g., get Parameters.- Specified by:
prepare
in classSvrProcess
-
doIt
Perform process.- Specified by:
doIt
in classSvrProcess
- Returns:
- Message
- Throws:
Exception
-
getImportTableName
- Specified by:
getImportTableName
in interfaceImportProcess
- Returns:
- The Name of Import Table (e.g. I_BPartner)
-
getWhereClause
- Specified by:
getWhereClause
in interfaceImportProcess
- Returns:
- SQL WHERE clause to filter records that are candidates for import
-