use of org.apache.syncope.common.lib.types.AnyEntitlement in project syncope by apache.
the class EntitlementsHolder method removeFor.
public Set<String> removeFor(final String anyType) {
Set<String> removed = new HashSet<>();
for (AnyEntitlement operation : AnyEntitlement.values()) {
this.values.remove(operation.getFor(anyType));
removed.add(operation.getFor(anyType));
}
return removed;
}
use of org.apache.syncope.common.lib.types.AnyEntitlement in project syncope by apache.
the class EntitlementsHolder method addFor.
public Set<String> addFor(final String anyType) {
Set<String> added = new HashSet<>();
for (AnyEntitlement operation : AnyEntitlement.values()) {
this.values.add(operation.getFor(anyType));
added.add(operation.getFor(anyType));
}
return added;
}
Aggregations