Package io.deephaven.enterprise.acl.impl
Class EdgeAclImpl
java.lang.Object
io.deephaven.enterprise.acl.impl.EdgeAclImpl
- All Implemented Interfaces:
- EdgeAclProvider
A implementation of 
EdgeAclProvider that stores immutable maps of group to ACL definition.- 
Field SummaryFields inherited from interface io.deephaven.enterprise.acl.EdgeAclProviderACL_ATTRIBUTE
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T extends HierarchicalTable<T>>
 TapplyTo(@NotNull EdgeAclProvider provider, @NotNull HierarchicalTable<T> table) static PivotTableapplyTo(@NotNull EdgeAclProvider provider, @NotNull PivotTable table) static io.deephaven.enterprise.acl.impl.EdgeAclImpl.Builderbuilder()Get a builder for constructing an EdgeAclImpl@Nullable ColumnAclgetColumnFilters(@NotNull AclSupport support, @NotNull UserContext userContext, @NotNull String[] columnNames, boolean isRefreshing) Get the column ACLs to apply to requested tables.Get the set of groups that may access the table this ACL guards.@Nullable Collection<WhereFilter>[]getRowFilters(@NotNull AclSupport support, @NotNull UserContext userContext, boolean isRefreshing) Get the set ofWhereFilters that should be disjunctively applied to requested tables.booleanReturns true if there are any column Filters defined for this EdgeAclProvider.booleanReturns true if orphans should be promoted when this provider is applied to aTreeTable.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.enterprise.acl.EdgeAclProviderapplyTo, applyTo, applyTo, applyTo
- 
Method Details- 
getRowFilters@Nullable public @Nullable Collection<WhereFilter>[] getRowFilters(@NotNull @NotNull AclSupport support, @NotNull @NotNull UserContext userContext, boolean isRefreshing) Description copied from interface:EdgeAclProviderGet the set ofWhereFilters that should be disjunctively applied to requested tables.- Specified by:
- getRowFiltersin interface- EdgeAclProvider
- Parameters:
- support- the support object
- userContext- the user to generate the ACL for
- isRefreshing- if the table is refreshing
- Returns:
- the collection of row ACLs to be disjunctively applied to the table.
 
- 
getColumnFilters@Nullable public @Nullable ColumnAcl getColumnFilters(@NotNull @NotNull AclSupport support, @NotNull @NotNull UserContext userContext, @NotNull @NotNull String[] columnNames, boolean isRefreshing) Description copied from interface:EdgeAclProviderGet the column ACLs to apply to requested tables.- Specified by:
- getColumnFiltersin interface- EdgeAclProvider
- Parameters:
- support- the support object
- userContext- the user to generate the ACL for
- columnNames- the columns to fetch ACLs for
- isRefreshing- if the table is refreshing
- Returns:
- the column ACLs
 
- 
hasColumnFilterspublic boolean hasColumnFilters()Description copied from interface:EdgeAclProviderReturns true if there are any column Filters defined for this EdgeAclProvider.- Specified by:
- hasColumnFiltersin interface- EdgeAclProvider
- Returns:
- true if any column filters are defined, false if no column filters are defined
 
- 
hasOrphanPromotionpublic boolean hasOrphanPromotion()Description copied from interface:EdgeAclProviderReturns true if orphans should be promoted when this provider is applied to aTreeTable.- Specified by:
- hasOrphanPromotionin interface- EdgeAclProvider
- Returns:
- true if orphans should be promoted during ACL application.
 
- 
getGroupsDescription copied from interface:EdgeAclProviderGet the set of groups that may access the table this ACL guards.- Specified by:
- getGroupsin interface- EdgeAclProvider
- Returns:
- the set of groups that may access the table
 
- 
builderpublic static io.deephaven.enterprise.acl.impl.EdgeAclImpl.Builder builder()Get a builder for constructing an EdgeAclImpl- Returns:
- a new builder
 
- 
applyTopublic static <T extends HierarchicalTable<T>> T applyTo(@NotNull @NotNull EdgeAclProvider provider, @NotNull @NotNull HierarchicalTable<T> table) 
- 
applyTopublic static PivotTable applyTo(@NotNull @NotNull EdgeAclProvider provider, @NotNull @NotNull PivotTable table) 
 
-