public class CRMImportInstalledItemBean extends CRMImportBean
| Constructor and Description |
|---|
CRMImportInstalledItemBean() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getFileHeaders()
Return an array with the header of the import file
|
void |
importInstalledItem(java.lang.String processRunLogID) |
void |
importInstalledItemCSV(ImportInstalledItemDefinition importInstalledItemDefinition,
com.crm.dataobject.CRMDOAttachment attachment,
com.crm.dataobject.processrun.CRMDOProcessRunLog processRun)
Import the installed items from a csv file
|
void |
importInstalledItemEXCEL(ImportInstalledItemDefinition importInstalledItemDefinition,
com.crm.dataobject.CRMDOAttachment attachment,
com.crm.dataobject.processrun.CRMDOProcessRunLog processRun,
java.lang.String extension)
Import the installed items from an EXCEL file
|
void |
importInstalledItemXML(ImportInstalledItemDefinition importInstalledItemDefinition,
com.crm.dataobject.CRMDOAttachment attachment,
com.crm.dataobject.processrun.CRMDOProcessRunLog processRun)
Import the installed items from an XML file
|
parseCSV, parseEXCEL, parseXMLscheduleProcess, scheduleProcesscreateCronExpressionFromDate, createCronExpressionFromDatepublic void importInstalledItem(java.lang.String processRunLogID)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String[] getFileHeaders()
throws java.lang.Exception
java.lang.Exceptionpublic void importInstalledItemCSV(ImportInstalledItemDefinition importInstalledItemDefinition, com.crm.dataobject.CRMDOAttachment attachment, com.crm.dataobject.processrun.CRMDOProcessRunLog processRun) throws java.lang.Exception
importInstalledItemDefinition - - the import installed item definition data objectattachment - - the file that will be importprocessRun - - the process run data object the will create the installed item.java.lang.Exceptionpublic void importInstalledItemXML(ImportInstalledItemDefinition importInstalledItemDefinition, com.crm.dataobject.CRMDOAttachment attachment, com.crm.dataobject.processrun.CRMDOProcessRunLog processRun) throws java.lang.Exception
importInstalledItemDefinition - - the import installed item definition data objectattachment - - the file that will be importprocessRun - - the process run data object the will create the installed item.java.lang.Exceptionpublic void importInstalledItemEXCEL(ImportInstalledItemDefinition importInstalledItemDefinition, com.crm.dataobject.CRMDOAttachment attachment, com.crm.dataobject.processrun.CRMDOProcessRunLog processRun, java.lang.String extension) throws java.lang.Exception
importInstalledItemDefinition - - the import installed item definition data objectattachment - - the file that will be importprocessRun - - the process run data object the will create the installed item.extension - - the extension of the EXCEL file. It can be either xls or xlsx.java.lang.Exception