Package org.compiere.process
Class ImportProduct
- java.lang.Object
-
- org.compiere.process.SvrProcess
-
- org.compiere.process.ImportProduct
-
- All Implemented Interfaces:
ImportProcess
,ProcessCall
public class ImportProduct extends SvrProcess implements ImportProcess
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
Constructors Constructor Description ImportProduct()
-
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
-
getImportTableName
public String getImportTableName()
- Specified by:
getImportTableName
in interfaceImportProcess
- Returns:
- The Name of Import Table (e.g. I_BPartner)
-
getWhereClause
public String getWhereClause()
- Specified by:
getWhereClause
in interfaceImportProcess
- Returns:
- SQL WHERE clause to filter records that are candidates for import
-
-