public class UserStreams extends Object
| Constructor and Description |
|---|
UserStreams(StreamPermissions streamPermissions,
PermittedStreams permittedStreams) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableSet<String> |
loadAll() |
com.google.common.collect.ImmutableSet<String> |
readableOrAllIfEmpty(Optional<Set<String>> requestedStreams) |
com.google.common.collect.ImmutableSet<String> |
readableOrAllIfEmpty(Set<String> requestedStreams)
If any stream IDs are provided, they will be filtered out by read permission.
|
public UserStreams(StreamPermissions streamPermissions, PermittedStreams permittedStreams)
public com.google.common.collect.ImmutableSet<String> loadAll()
public com.google.common.collect.ImmutableSet<String> readableOrAllIfEmpty(@Nullable Set<String> requestedStreams)
requestedStreams - requested stream IDs that should be used in the searchCopyright © 2012–2022 Graylog, Inc.. All rights reserved.