blackboard.platform.dataintegration
Class DataIntegrationUtil
java.lang.Object
blackboard.platform.dataintegration.DataIntegrationUtil
public class DataIntegrationUtil
- extends java.lang.Object
Utility helper methods for DataIntegrations.
- Since:
- Bb 9.1 SP6
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataIntegrationUtil
public DataIntegrationUtil()
constructBatchUid
public static java.lang.String constructBatchUid(java.lang.String id,
DataIntegration integration)
- Construct a Batch UID from a source id taking into account any prefixing that's coming from the integration setup.
If the id coming in is empty or null, nothing will be prefixed.
- Parameters:
id - id coming from the SISintegration - the DataIntegration this data is associated with
- Returns:
- a string suitable for being a Batch UID.
mergeWithDefaultMappings
public static java.util.List<DataIntegrationObjectMapping> mergeWithDefaultMappings(java.util.List<DataIntegrationObjectMapping> defaultMappings,
java.util.List<DataIntegrationObjectMapping> mappings)
- Returns a new list of DataIntegrationObjectMapping objects where any LearnObjectTypes not covered by the
mappings input are filled in with the default mapping for that LearnObjectType.
- Parameters:
defaultMappings - - The default set of mappingsmappings - - The potentially incomplete mapping list that needs to be filled in
Copyright © 2012 Blackboard, Inc. All Rights Reserved.