Class EntitlementsSearchBean<T extends AbstractMetadataTypeDTO,​KeyType extends Serializable>

    • Field Detail

      • includeAccessRights

        protected boolean includeAccessRights
        requires custom service logic
      • excludeOwnersAndAdmins

        protected boolean excludeOwnersAndAdmins
        is used avoid owners and admins attachement with group/role object. In huge entitlements impacts performance. known use case - when we select multiple groups in ResourceDataService#selectAccess it brong huge performace decrease and timeout exception on UI as a result
      • groupIdSet

        protected Set<String> groupIdSet
        Set of Group IDs that this object belongs to. The obj must belong to at leat one of these groups
      • roleIdSet

        protected Set<String> roleIdSet
        Set of Role IDs that this object belongs to. The obj must belong to at least one of these roles
      • resourceIdSet

        protected Set<String> resourceIdSet
        Set of Resource IDs that this object is entitled to. The obj must be entitled to at least one of these
      • organizationIdSet

        protected Set<String> organizationIdSet
        Set of Organization IDs that this object belongs to. The object must belong to at least one of these organizations
    • Constructor Detail

      • EntitlementsSearchBean

        public EntitlementsSearchBean()
    • Method Detail

      • setIncludeAccessRights

        public void setIncludeAccessRights​(boolean includeAccessRights)
      • addParentId

        public void addParentId​(String parentId)
      • addChildId

        public void addChildId​(String childId)
      • addGroupId

        public void addGroupId​(String groupId)
      • addRoleId

        public void addRoleId​(String roleId)
      • addResourceId

        public void addResourceId​(String resourceId)
      • addUserId

        public void addUserId​(String userId)
      • addOrganizationId

        public void addOrganizationId​(String organizationId)
      • addOrganizationIdList

        public void addOrganizationIdList​(Collection<String> organizationIdList)