Interface NodeMap


public interface NodeMap
Encapsulates a store of data (Nodes) within a PermissionHolder.

The effect of any mutate operation will not persist in storage unless changes are explicitly saved. If changes are not saved, the effect will only be observed until the next time the holders permission data is (re)loaded. Changes to Users should be saved using UserManager.saveUser(User), and changes to Groups should be saved using GroupManager.saveGroup(Group).

Before making changes to a user or group, it may be a good idea to load a fresh copy of the backing data from the storage if you haven't done so already, to avoid overwriting changes made already. This can be done via UserManager.loadUser(UUID) or GroupManager.loadGroup(String) respectively.