Interface PrivilegeService

    • Method Detail

      • getRestrictionTargetsByRestrictionType

        Map<String,​Set<String>> getRestrictionTargetsByRestrictionType​(@NonNull
                                                                             @NonNull Set<Restriction> restrictions)
        Converts the Set of Restriction to a Map with the structure of: {restrictionType: [restrictionTargets]}.
        Parameters:
        restrictions - Set of Restriction
        Returns:
        a map with restriction type as key and restriction targets as value converted from the given set of restrictions