Package com.orchestranetworks.service
Interface ImportResult
-
public interface ImportResultDescribes the result of an import.- See Also:
ProcedureContext.doImport(ImportSpec)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IteratorgetCreatedRecords()Deprecated.this method returns an internal object.Iterator<String>getCreatedRecordsPredicatesStrings()Returns an iterator over XPath predicate strings.intgetCreationQty()Returns the number of created records.Iterator<String>getDeletedRecordsPredicatesStrings()Returns an iterator over XPath predicate strings.intgetDeletionQty()Returns the number of deleted records.Map<Path,ImportResult>getImportResults()For the root result, returns the import results organized by the impacted tables.intgetUnchangeQty()Returns the number of unchanged records.intgetUpdateQty()Returns the number of updated records.
-
-
-
Method Detail
-
getImportResults
Map<Path,ImportResult> getImportResults()
For the root result, returns the import results organized by the impacted tables. When theImportResultis obtained usingProcedureContext.doImport(ImportSpec), each table that has been modified has an entry in the returned map that describes all associated modifications.Returns
The map containsnullif theImportResultis an entry of the returned map.table pathkeys withImportResultvalues.
-
getCreatedRecords
@Deprecated Iterator getCreatedRecords()
Deprecated.this method returns an internal object.Returns an iterator over XPath predicate strings. Returnsnullif a non-detailed result is expected.- See Also:
ImportSpec.setDetailedResult(boolean)
-
getCreatedRecordsPredicatesStrings
Iterator<String> getCreatedRecordsPredicatesStrings()
Returns an iterator over XPath predicate strings. Returnsnullif a non-detailed result is expected.- See Also:
ImportSpec.setDetailedResult(boolean)
-
getDeletedRecordsPredicatesStrings
Iterator<String> getDeletedRecordsPredicatesStrings()
Returns an iterator over XPath predicate strings. Returnsnullif a non-detailed result is expected.- See Also:
ImportSpec.setDetailedResult(boolean)
-
getCreationQty
int getCreationQty()
Returns the number of created records.
-
getUpdateQty
int getUpdateQty()
Returns the number of updated records.
-
getUnchangeQty
int getUnchangeQty()
Returns the number of unchanged records.
-
getDeletionQty
int getDeletionQty()
Returns the number of deleted records.
-
-