aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wireless-transport/code-Carbon-SR1/ux/mwtnTdm/mwtnTdm-module/src/main/resources/mwtnTdm/mwtnTdm.services.js
blob: 824fd26b69220bee49cd2cceabe152b4ebe27536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * @copyright 2017 highstreet technologies and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */

define(['app/mwtnCommons/mwtnCommons.module', 'app/mwtnTdm/mwtnTdm.module'],function(mwtnTdmApp) {

  mwtnTdmApp.register.factory('$mwtnTdm', function($mwtnCommons, $mwtnDatabase, $mwtnLog) {

    var service = {};
    
    service.getPacParts = $mwtnCommons.getPacParts;
    service.highlightFilteredHeader = $mwtnCommons.highlightFilteredHeader;
    service.getMountPoints = $mwtnCommons.getMountPoints;
    service.gridOptions = $mwtnCommons.gridOptions;
    service.getActualNetworkElement = $mwtnCommons.getActualNetworkElement;
    service.getMountPoints = $mwtnCommons.getMountPoints;
    service.getPacParts = $mwtnCommons.getPacParts;
    
    service.parts = $mwtnCommons.parts;
    service.separator = $mwtnCommons.separator;
    service.yangify = $mwtnCommons.yangify;
    service.yangifyObject = $mwtnCommons.yangifyObject;
    
    return service;
  });

});