public class Permissions extends HashMap<String,Boolean> implements JSONEnabled
A mapping from operations to booleans.
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Permissions() |
Modifier and Type | Method and Description |
---|---|
Permissions |
add(Operation operation,
boolean allowed) |
org.codehaus.jettison.json.JSONObject |
toJSON() |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public Permissions()
public Permissions add(Operation operation, boolean allowed)
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON
in interface JSONEnabled
Copyright © 2015. All Rights Reserved.