|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataIntegrationObjectMappingManager
Manager for mapping data integration operations/objects from SIS to Learn.
| Method Summary | |
|---|---|
void |
deleteSISObject(java.lang.String sisObjectType,
java.lang.String batchUid,
DataIntegration integration)
Delete the SIS object (of the specified type) having the specified batchUid in the specified data integration. |
void |
deleteSISObject(java.lang.String sisObjectType,
java.lang.String batchUid,
DataIntegration integration,
blackboard.platform.dataintegration.mapping.BatchProcessor batchProcessor)
Delete the SIS object (of the specified type) having the specified batchUid in the specified data integration. |
java.util.List<DataIntegrationLearnObjectType> |
getAllLearnObjectTypes()
Returns all Learn Object Types supported by the system. |
java.util.List<DataIntegrationSISObjectType> |
getAllSISObjectTypes()
Returns all SIS Object Types registered in the system. |
blackboard.platform.dataintegration.mapping.BatchProcessor |
getFullIntegrationBatchProcessor(DataIntegration integration)
Get a BatchProcessor that will call deleteSISObject(String, String, DataIntegration) on any
previously processed records in the specified integration that are not in the group of objects processed
during the batch. |
DataIntegrationLearnObjectType |
getLearnObjectType(java.lang.String typeName)
Returns the DataIntegrationLearnObjectType having the specified type name. |
blackboard.platform.dataintegration.mapping.BatchProcessor |
getNoOpBatchProcessor()
Get a BatchProcessor that does nothing. |
blackboard.platform.dataintegration.mapping.BatchProcessor |
getSingleSISObjectTypeBatchProcessor(java.lang.String sisObjectType,
DataIntegration integration)
Get a BatchProcessor that will call deleteSISObject(String, String, DataIntegration) on any
previously processed records of the specified type in the specified integration that are not in the group
of objects processed during the batch. |
DataIntegrationSISObjectType |
getSisObjectType(java.lang.String typeName)
Returns the DataIntegrationSISObjectType having the specified type name. |
DataIntegrationObjectMapping |
loadMappingById(Id id)
Load a specific DataIntegrationObjectMapping |
java.util.List<DataIntegrationObjectMapping> |
loadMappingsForIntegration(Id diId)
Loads all the mappings for the specified data integration and merges it with the default mappings for integrations of this type such that any LearnObjectTypes not covered by the existing integration will be handled by the default mappings. |
java.util.List<DataIntegrationObjectMapping> |
loadMappingsForIntegrationAndSISObjectType(Id diId,
java.lang.String sisObjectType)
Loads all mappings for a given data integration and merges it with the default mappings for integrations of this type such that any LearnObjectTypes not covered by the existing integration will be handled by the default mappings. |
void |
persistSISObject(java.lang.String sisObjectType,
java.lang.Object sisObject,
DataIntegration integration)
Persist the specified SIS object (of the specified type) in the specified data integration. |
void |
persistSISObject(java.lang.String sisObjectType,
java.lang.Object sisObject,
DataIntegration integration,
blackboard.platform.dataintegration.mapping.BatchProcessor batchProcessor)
Persist the specified SIS object (of the specified type) in the specified data integration. |
void |
removeMapping(DataIntegrationObjectMapping mapping)
Deletes a DataIntegrationObjectMapping |
void |
removeMappings(java.util.List<DataIntegrationObjectMapping> mappings)
Delete a list of DataIntegrationObjectMapping objects. |
void |
saveMapping(DataIntegrationObjectMapping dom)
Saves the DataIntegrationObjectMapping |
void |
saveMappings(java.util.List<DataIntegrationObjectMapping> doms)
Saves a collection of DataIntegrationObjectMapping |
| Method Detail |
|---|
void removeMapping(DataIntegrationObjectMapping mapping)
DataIntegrationObjectMapping
void removeMappings(java.util.List<DataIntegrationObjectMapping> mappings)
DataIntegrationObjectMapping objects.
void saveMapping(DataIntegrationObjectMapping dom)
DataIntegrationObjectMapping
dom - DataIntegrationObjectMapping to persist/update.void saveMappings(java.util.List<DataIntegrationObjectMapping> doms)
DataIntegrationObjectMapping
doms - List of DataIntegrationObjectMapping to persist/update
DataIntegrationObjectMapping loadMappingById(Id id)
throws KeyNotFoundException
DataIntegrationObjectMapping
id - Id of the mapping to load
KeyNotFoundException - if no mapping exists with the specified Id.java.util.List<DataIntegrationObjectMapping> loadMappingsForIntegration(Id diId)
diId - Id of the data integration.
java.util.List<DataIntegrationObjectMapping> loadMappingsForIntegrationAndSISObjectType(Id diId,
java.lang.String sisObjectType)
diId - Id of the data integration.sisObjectType - type of the SIS object
DataIntegrationLearnObjectType getLearnObjectType(java.lang.String typeName)
DataIntegrationLearnObjectType having the specified type name.
typeName - the name of the Learn Object Type
DataIntegrationLearnObjectType object or null if none exists with the specified type.java.util.List<DataIntegrationLearnObjectType> getAllLearnObjectTypes()
DataIntegrationSISObjectType getSisObjectType(java.lang.String typeName)
DataIntegrationSISObjectType having the specified type name.
typeName - the type name of the SIS Object Type
DataIntegrationSISObjectType object or null if none exists with the specified type.java.util.List<DataIntegrationSISObjectType> getAllSISObjectTypes()
blackboard.platform.dataintegration.mapping.BatchProcessor getNoOpBatchProcessor()
BatchProcessor that does nothing.
blackboard.platform.dataintegration.mapping.BatchProcessor getSingleSISObjectTypeBatchProcessor(java.lang.String sisObjectType,
DataIntegration integration)
BatchProcessor that will call deleteSISObject(String, String, DataIntegration) on any
previously processed records of the specified type in the specified integration that are not in the group
of objects processed during the batch.
sisObjectType - The single type of object being processed.integration - The DataIntegration this batch is happening for.
blackboard.platform.dataintegration.mapping.BatchProcessor getFullIntegrationBatchProcessor(DataIntegration integration)
BatchProcessor that will call deleteSISObject(String, String, DataIntegration) on any
previously processed records in the specified integration that are not in the group of objects processed
during the batch.
integration - The DataIntegration this batch is happening for.
void persistSISObject(java.lang.String sisObjectType,
java.lang.Object sisObject,
DataIntegration integration)
throws java.lang.Exception
This is equivalent to calling persistSISObject(String, Object, DataIntegration, BatchProcessor) with the
BatchProcessor returned by getNoOpBatchProcessor().
sisObjectType - the type name of the SIS Object Type.sisObject - the SIS object.integration - the DataIntegration this object is being persisted for.
java.lang.Exception - if an unrecoverable error occurs during persisting.
void persistSISObject(java.lang.String sisObjectType,
java.lang.Object sisObject,
DataIntegration integration,
blackboard.platform.dataintegration.mapping.BatchProcessor batchProcessor)
throws java.lang.Exception
sisObjectType - The type name of the SIS Object Type.sisObject - The SIS object.integration - The DataIntegration this object is being persisted for.batchProcessor - The BatchProcessor for the current batch of SIS objects.
java.lang.Exception - If an unrecoverable error occurs during persisting.
void deleteSISObject(java.lang.String sisObjectType,
java.lang.String batchUid,
DataIntegration integration)
throws java.lang.Exception
This is equivalent to calling deleteSISObject(String, String, DataIntegration, BatchProcessor) with the
BatchProcessor returned by getNoOpBatchProcessor().
sisObjectType - the type name of the SIS Object Type.batchUid - the unique id of the object to delete.integration - the DataIntegration this object is being deleted from.
java.lang.Exception - if an unrecoverable error occurs during deletion.
void deleteSISObject(java.lang.String sisObjectType,
java.lang.String batchUid,
DataIntegration integration,
blackboard.platform.dataintegration.mapping.BatchProcessor batchProcessor)
throws java.lang.Exception
sisObjectType - the type name of the SIS Object Type.batchUid - the unique id of the object to delete.integration - the DataIntegration this object is being deleted from.batchProcessor - The BatchProcessor for the current batch of SIS objects.
java.lang.Exception - if an unrecoverable error occurs during deletion.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||