AbstractEntityACLFactory

public abstract class AbstractEntityACLFactory<T extends EntityACL>

Methods

clear

public void clear()

create

public T create()

create

protected abstract T create(Collection<EntityACI> acis)

deny

public void deny(ResponsibleAgent role, int... permissionBitNumber)

deny

public void deny(ResponsibleAgent role, boolean priority, int... permissionBitNumber)

deny

public void deny(ResponsibleAgent role, String... permission)

deny

public void deny(ResponsibleAgent role, boolean priority, String... permission)

deny

public void deny(ResponsibleAgent role, boolean priority, Collection<EntityPermission> permission)

deny

public void deny(ResponsibleAgent role, boolean priority, EntityPermission... permission)

grant

public void grant(ResponsibleAgent role, int... permissionBitNumber)

grant

public void grant(ResponsibleAgent role, boolean priority, int... permissionBitNumber)

grant

public void grant(ResponsibleAgent role, String... permission)

grant

public void grant(ResponsibleAgent role, boolean priority, String... permission)

grant

public void grant(ResponsibleAgent role, boolean priority, Collection<EntityPermission> permission)

grant

public void grant(ResponsibleAgent role, boolean priority, EntityPermission... permission)

remove

public AbstractEntityACLFactory<T> remove(EntityACL other)

Remove all rules of the other EntityACL from this factory.

This is mainly used for removing all rules which belong to the global entity ACL from this ACL before storing it to the backend.

Parameters:
  • other

Returns:

the same object with changed rule set.