public abstract class BaseFileLoaderImpl
extends java.lang.Object
Constructor and Description |
---|
BaseFileLoaderImpl(boolean preview,
boolean fromClient,
boolean isFileExtract,
java.lang.String fileName)
Construct the set
|
Modifier and Type | Method and Description |
---|---|
void |
processData(java.io.InputStream btIn,
java.lang.String extSystemName,
java.lang.String entServiceName,
boolean fromClient)
abstract method that process the data and send it to Queue (or) process it for preview mode
|
void |
setImportRow(MboRemote fileimportqueueRow) |
void |
setStopOnError(boolean stopOnError) |
public BaseFileLoaderImpl(boolean preview, boolean fromClient, boolean isFileExtract, java.lang.String fileName) throws MXException, java.rmi.RemoteException
preview
- boolean indicating whether it is a UI preview mode or not.fromClient
- boolean indicating whether it is from UI import or crontaskisFileExtract
- Indicator of File Extract operationfileName
- Input file name being importedMXException
- MAXIMO exceptionjava.rmi.RemoteException
- Remote exceptionpublic void setStopOnError(boolean stopOnError)
public void setImportRow(MboRemote fileimportqueueRow) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void processData(java.io.InputStream btIn, java.lang.String extSystemName, java.lang.String entServiceName, boolean fromClient) throws MXException
extSystemName
- External system nameentServiceName
- Enterprise service namefromClient
- boolean indicating whether it is from UI import or crontaskbtIn
- Input Stream of Data contentMXException
- MAXIMO exception