public abstract class FileLoaderImpl extends BaseFileLoaderImpl
fileName, filetype, fromClient, isFileExtract, ispreview, stopOnError, uniqueId, userInfo| Constructor and Description |
|---|
FileLoaderImpl(boolean preview,
boolean fromClient,
boolean isFileExtract,
java.lang.String fileName)
Construct the set
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getExtractOutputFile() |
protected java.lang.String |
getSplitTag()
Get SplitTag from Enterprise service info object
|
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
|
protected void |
validate(java.lang.String extSystemName,
java.lang.String entServiceName)
Validate External system and Enterprise service names
|
saveErrorFile, setImportRow, setStopOnError, updateProgresspublic FileLoaderImpl(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 exceptionprotected void validate(java.lang.String extSystemName,
java.lang.String entServiceName)
throws MXException
extSystemName - External system nameentServiceName - Enterprise service nameMXException - MAXIMO exceptionprotected java.lang.String getSplitTag()
throws MXException,
java.rmi.RemoteException
MXException - MAXIMO exceptionjava.rmi.RemoteException - Remote exceptionpublic void processData(java.io.InputStream btIn,
java.lang.String extSystemName,
java.lang.String entServiceName,
boolean fromClient)
throws MXException
processData in class BaseFileLoaderImplextSystemName - External system nameentServiceName - Enterprise service namefromClient - boolean indicating whether it is from UI import or crontaskbtIn - Input Stream of Data contentMXException - MAXIMO exceptionpublic java.lang.String getExtractOutputFile()