Class SecuritySet<T extends SecurityEntity>

java.lang.Object
org.apache.fulcrum.security.util.SecuritySet<T>
All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, Set<T>
Direct Known Subclasses:
GroupSet, PermissionSet, RoleSet, UserSet

public abstract class SecuritySet<T extends SecurityEntity>
extends Object
implements Serializable, Set<T>, Iterable<T>
This class represents a set of Security Entities. It makes it easy to build a UI. It wraps a TreeSet object to enforce that only relevant methods are available. TreeSet's contain only unique Objects (no duplicates) based on the ID. They may or may not have a name, that depends on the implementation. Want to get away from requiring an ID and a name... Nothing should force Name to be unique in the basic architecture of Fulcrum Security.
Version:
$Id: SecuritySet.java 1856202 2019-03-25 14:29:46Z painter $
Author:
Eric Pugh, John D. McNally, Brett McLaughlin, Marco Knüttel, Henning P. Schmiedehausen
See Also:
Serialized Form