dm-code/dm-web-assets/src/main/controllers/ObjectStatusController.js
/**
         * Initializes filters based on query parameters. If any filter value is
         * not specified in the query parameter, the app configured default
         * values are used.
         * 
         * The default end partition value is the current date. The default
         * start partition value is the end partition value minus the
         * pre-configured number of days.
         */
Initializes filters based on query parameters. If any filter value is
not specified in the query parameter, the app configured default
values are used.

The default end partition value is the current date. The default
start partition value is the end partition value minus the
pre-configured number of days.
Initializes filters based on query parameters . If any filter value is not specified in the query parameter the app configured default values are used . The default end partition value is the current date . The default start partition value is the end partition value minus the pre - configured number of days .
function initializeFilters()
        {
            var queryParams = $location.search();
            vm.filter.businessObjectDefinitionName = queryParams.businessObjectDefinitionName || null;
            vm.filter.startPartitionValue = parseDate(queryParams.startPartitionValue);
            vm.filter.endPartitionValue = parseDate(queryParams.endPartitionValue);
            vm.filter.businessObjectFormatFileType = queryParams.businessObjectFormatFileType || null;
            vm.filter.storageName = queryParams.storageName || null;
            vm.filter.partitionKeyGroup = queryParams.partitionKeyGroup || null;
            if (!vm.filter.endPartitionValue)
            {
                if (vm.filter.startPartitionValue)
                {
                    vm.filter.endPartitionValue = moment(vm.filter.startPartitionValue).add(vm.defaultFilterDateRange - 1, 'days').toDate();
                }
                else
                {
                    vm.filter.endPartitionValue = vm.DateService.now().toDate();
                }
            }
            vm.filter.startPartitionValue = vm.filter.startPartitionValue ||
                moment(vm.filter.endPartitionValue).subtract(vm.defaultFilterDateRange - 1, 'days').toDate();
            vm.filter.businessObjectFormatFileType = vm.filter.businessObjectFormatFileType || vm.defaultFilterBusinessObjectFormatFileType;
            vm.filter.storageName = vm.filter.storageName || vm.defaultFilterStorageName;
            vm.filter.partitionKeyGroup = vm.filter.partitionKeyGroup || vm.defaultFilterPartitionKeyGroup;
        }
function initializeFilters ( ) { var queryParams = $location . search ( ) ; vm . filter . businessObjectDefinitionName = queryParams . businessObjectDefinitionName || null ; vm . filter . startPartitionValue = parseDate ( queryParams . startPartitionValue ) ; vm . filter . endPartitionValue = parseDate ( queryParams . endPartitionValue ) ; vm . filter . businessObjectFormatFileType = queryParams . businessObjectFormatFileType || null ; vm . filter . storageName = queryParams . storageName || null ; vm . filter . partitionKeyGroup = queryParams . partitionKeyGroup || null ; if ( ! vm . filter . endPartitionValue ) { if ( vm . filter . startPartitionValue ) { vm . filter . endPartitionValue = moment ( vm . filter . startPartitionValue ) . add ( vm . defaultFilterDateRange - 1 , 'days' ) . toDate ( ) ; } else { vm . filter . endPartitionValue = vm . DateService . now ( ) . toDate ( ) ; } } vm . filter . startPartitionValue = vm . filter . startPartitionValue || moment ( vm . filter . endPartitionValue ) . subtract ( vm . defaultFilterDateRange - 1 , 'days' ) . toDate ( ) ; vm . filter . businessObjectFormatFileType = vm . filter . businessObjectFormatFileType || vm . defaultFilterBusinessObjectFormatFileType ; vm . filter . storageName = vm . filter . storageName || vm . defaultFilterStorageName ; vm . filter . partitionKeyGroup = vm . filter . partitionKeyGroup || vm . defaultFilterPartitionKeyGroup ; }
Initializes filters based on query parameters.
Initializes filters based on query parameters .
/*
             * Parse filter values from the URL query parameters.
             */ /*
             * Set filters to default values if not specified in the query
             * parameters.
             */