summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/services/sharing-service.ts
blob: 706f01f16bb47670eb9a802592d1469073046a30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
'use strict';
import {Dictionary} from "app/utils";

export class SharingService {

    private uuidMap:Dictionary<string, string> = new Dictionary<string,string>();

    public getUuidValue = (uniqueId:string):string => {
        return this.uuidMap.getValue(uniqueId);
    };

    public addUuidValue = (uniqueId:string, uuid:string):void => {
        this.uuidMap.setValue(uniqueId, uuid);
    };

    public getUuidMap = ():Dictionary<string, string> => {
        return this.uuidMap;
    };

}