Interface PrivilegeGroup

All Known Subinterfaces:
CustomObjectPrivilegeGroup, OrganizationalPrivilegeGroup, RoleAssignmentDelegatedCustomPrivilegeGroup, SimpleCustomObjectPrivilege, SimpleOrganizationalPrivilege, SimplePrivilege, StandardPrivilegeGroup
All Known Implementing Classes:
AbstractPrivilegeGroup, CustomObjectPrivilegeGroupImpl, OrganizationalPrivilegeGroupImpl, RoleAssignmentDelegatedCustomPrivilegeGroupImpl, SimpleCustomObjectPrivilegeImpl, SimpleOrganizationalPrivilegeImpl, SimplePrivilegeImpl, StandardPrivilegeGroupImpl

public interface PrivilegeGroup
  • Method Details

    • createSimplePrivilege

      static SimplePrivilege createSimplePrivilege​(java.lang.String name, org.teamapps.icons.Icon icon, java.lang.String titleKey, java.lang.String descriptionKey)
    • createSimpleOrganizationalPrivilege

      static SimpleOrganizationalPrivilege createSimpleOrganizationalPrivilege​(java.lang.String name, org.teamapps.icons.Icon icon, java.lang.String titleKey, java.lang.String descriptionKey)
    • createSimpleCustomObjectPrivilege

      static SimpleCustomObjectPrivilege createSimpleCustomObjectPrivilege​(java.lang.String name, org.teamapps.icons.Icon icon, java.lang.String titleKey, java.lang.String descriptionKey, java.util.function.Supplier<java.util.List<PrivilegeObject>> privilegeObjectsSupplier)
    • createStandardPrivilegeGroup

      static StandardPrivilegeGroup createStandardPrivilegeGroup​(java.lang.String name, org.teamapps.icons.Icon icon, java.lang.String titleKey, java.lang.String descriptionKey, Privilege... privileges)
    • createOrganizationalPrivilegeGroup

      static OrganizationalPrivilegeGroup createOrganizationalPrivilegeGroup​(java.lang.String name, org.teamapps.icons.Icon icon, java.lang.String titleKey, java.lang.String descriptionKey, Privilege... privileges)
    • createCustomObjectPrivilegeGroup

      static CustomObjectPrivilegeGroup createCustomObjectPrivilegeGroup​(java.lang.String name, org.teamapps.icons.Icon icon, java.lang.String titleKey, java.lang.String descriptionKey, java.util.List<Privilege> privileges, java.util.function.Supplier<java.util.List<PrivilegeObject>> privilegeObjectsSupplier)
    • createDelegatedCustomPrivilegeGroup

      static RoleAssignmentDelegatedCustomPrivilegeGroup createDelegatedCustomPrivilegeGroup​(java.lang.String name, org.teamapps.icons.Icon icon, java.lang.String titleKey, java.lang.String descriptionKey, java.util.function.Function<java.lang.Integer,​PrivilegeObject> privilegeObjectByIdFunction, Privilege... privileges)
    • createCopyWithPrivileges

      PrivilegeGroup createCopyWithPrivileges​(Privilege... privileges)
    • getType

    • getName

      java.lang.String getName()
    • getIcon

      org.teamapps.icons.Icon getIcon()
    • getTitleKey

      java.lang.String getTitleKey()
    • getDescriptionKey

      java.lang.String getDescriptionKey()
    • getPrivileges

      java.util.List<Privilege> getPrivileges()
    • getPrivilegeObjectsSupplier

      java.util.function.Supplier<java.util.List<PrivilegeObject>> getPrivilegeObjectsSupplier()