Class PermissionSet<T extends Permission>

Type Parameters:
T - Permission 인터페이스를 구현한 타입
All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, Set<T>

public class PermissionSet<T extends Permission> extends SecuritySet<Integer,T>
Permission 전용 SecuritySet 구현체. Permission 의 PK 타입은 Integer 로 고정되어 있으므로 K 제네릭을 Integer 로 지정한다.
See Also:
  • Constructor Details

    • PermissionSet

      public PermissionSet()
      Constructs an empty PermissionSet
    • PermissionSet

      public PermissionSet(Collection<T> permissions)
      Constructs a new PermissionSet with specified contents.

      If the given collection contains multiple objects that have the same id or name, only the first one is added.

      Parameters:
      permissions - A collection of permissions to be contained in the set.
  • Method Details