dm-code/dm-web-assets/src/main/controllers/ObjectStatusController.js
/**
         * Callback function for
         * BusinessObjectFormatService.getBusinessObjectFormat().
         * 
         * Calls
         * BusinessObjectDataAvailabilityService.getBusinessObjectDataAvailability()
         * if the format's partition key group matches the filter value. The
         * availability will return the storage name specified by the filter.
         */


Calls
BusinessObjectDataAvailabilityService.getBusinessObjectDataAvailability()
if the format's partition key group matches the filter value. The
availability will return the storage name specified by the filter.
Calls BusinessObjectDataAvailabilityService . getBusinessObjectDataAvailability () if the format ' s partition key group matches the filter value . The availability will return the storage name specified by the filter .
function onGetBusinessObjectFormatSuccess(response)
        {
            var businessObjectFormat = response.data;
            var filterPartitionKeyGroup = vm.filter.partitionKeyGroup;
            var partitionKeyGroup = businessObjectFormat.schema && businessObjectFormat.schema.partitionKeyGroup;
            if (!filterPartitionKeyGroup || dm.utils.equalsIgnoreCase(filterPartitionKeyGroup, partitionKeyGroup))
            {
                addBusinessObjectFormat({
                    namespace : businessObjectFormat.namespace,
                    businessObjectDefinitionName : businessObjectFormat.businessObjectDefinitionName,
                    businessObjectFormatUsage : businessObjectFormat.businessObjectFormatUsage,
                    businessObjectFormatFileType : businessObjectFormat.businessObjectFormatFileType,
                    partitionKey : businessObjectFormat.partitionKey,
                    isError : false
                });
                getBusinessObjectDataAvailability(businessObjectFormat);
            }
        }
function onGetBusinessObjectFormatSuccess ( response ) { var businessObjectFormat = response . data ; var filterPartitionKeyGroup = vm . filter . partitionKeyGroup ; var partitionKeyGroup = businessObjectFormat . schema && businessObjectFormat . schema . partitionKeyGroup ; if ( ! filterPartitionKeyGroup || dm . utils . equalsIgnoreCase ( filterPartitionKeyGroup , partitionKeyGroup ) ) { addBusinessObjectFormat ( { namespace : businessObjectFormat . namespace , businessObjectDefinitionName : businessObjectFormat . businessObjectDefinitionName , businessObjectFormatUsage : businessObjectFormat . businessObjectFormatUsage , businessObjectFormatFileType : businessObjectFormat . businessObjectFormatFileType , partitionKey : businessObjectFormat . partitionKey , isError : false } ) ; getBusinessObjectDataAvailability ( businessObjectFormat ) ; } }
Callback function for
 BusinessObjectFormatService.getBusinessObjectFormat().
Callback function for BusinessObjectFormatService . getBusinessObjectFormat () .
/*
             * Filter matches if filter key group is not set, or if key group
             * equals filter value ignoring case.
             */ /*
                 * Add the format without error.
                 */ /*
                 * Initiate request for availability.
                 */