Package org.adempiere.pipo2
Class PackRollProcess
java.lang.Object
org.compiere.process.SvrProcess
org.adempiere.pipo2.PackRollProcess
- All Implemented Interfaces:
ProcessCall
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
-
Method Summary
Modifier and TypeMethodDescriptionint
Copyfileprotected String
doIt()
Perform process.OpenInputfile
(String filePath) Open input file for processingOpenOutputfile
(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, getRecord_UU, getRecord_UUs, getTable_ID, isLocked, lockObject, postProcess, rollback, saveProgress, saveStatus, setProcessUI, startProcess, statusUpdate, unlockObject, updateProgress
-
Constructor Details
-
PackRollProcess
public PackRollProcess()
-
-
Method Details
-
prepare
protected void prepare()Prepare - e.g., get Parameters.- Specified by:
prepare
in classSvrProcess
- See Also:
-
doIt
Perform process.- Specified by:
doIt
in classSvrProcess
- Returns:
- Message (translated text)
- Throws:
Exception
- if not successful
-
OpenInputfile
Open input file for processing- Parameters:
filePath
- file with path- Returns:
-
OpenOutputfile
Open output file for processing- Parameters:
filePath
- file with path- Returns:
-
copyFile
Copyfile- Parameters:
sourceFile
-targetFile
-- Returns:
-