Package org.adempiere.pipo2
Class PackRollProcess
- java.lang.Object
-
- org.compiere.process.SvrProcess
-
- org.adempiere.pipo2.PackRollProcess
-
- All Implemented Interfaces:
ProcessCall
public class PackRollProcess extends SvrProcess
Reverse Package Install.- Author:
- Robert Klein
-
-
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 PackRollProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
copyFile(String sourceFile, String targetFile)
Copyfileprotected String
doIt()
Perform process.FileInputStream
OpenInputfile(String filePath)
Open input file for processingOutputStream
OpenOutputfile(String filePath)
Open output file for processingprotected 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
-
-
-
-
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 (translated text)
- Throws:
Exception
- if not successful
-
OpenInputfile
public FileInputStream OpenInputfile(String filePath)
Open input file for processing- Parameters:
filePath
- file with path- Returns:
-
OpenOutputfile
public OutputStream OpenOutputfile(String filePath)
Open output file for processing- Parameters:
filePath
- file with path- Returns:
-
-