Class GroupsHashedDataGenerator

java.lang.Object
cz.metacentrum.perun.core.provisioning.GroupsHashedDataGenerator
All Implemented Interfaces:
HashedDataGenerator

public class GroupsHashedDataGenerator extends Object implements HashedDataGenerator
Generates data in format:

attributes: {...hashes...} hierarchy: { "1": { ** facility id ** members: { ** all members on the facility ** "4" : 5, ** member id : user id ** "6" : 7, ** member id : user id ** ... } children: [ "2": { ** resource id ** voId: 99, children: [ "89": { ** group id ** "children": {}, "members": { "91328": 57986, "91330": 60838 } } ], "members": { ** all members on the resource with id 2 ** "91328": 57986, "91330": 60838 } }, "3": { ... } ] } }

Author:
Vojtech Sassmann <vojtech.sassmann@gmail.com>