public class RowScope extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
RowScope.Type |
Modifier and Type | Field and Description |
---|---|
static RowScope |
ALL_ROWS |
static RowScope |
NO_ROWS |
Modifier and Type | Method and Description |
---|---|
boolean |
authorizedForAllRows() |
boolean |
authorizedForSomeRows() |
boolean |
equals(Object obj) |
String |
getFilter()
Return the SemQL Filter that represent this RowScope.
|
Collection<String> |
getFilters()
Provides the detailed collection of filters used to create this RowScope.
|
RowScope.Type |
getLevel() |
int |
hashCode() |
boolean |
isDenied() |
static RowScope |
mergeScopesOR(Collection<RowScope> pAttrScopes)
Merge RowScopes keeping the more permissive combination (using or)
|
static RowScope |
partialScope(Set<String> pFilters) |
static RowScope |
partialScope(String pFilter) |
String |
toString() |
public static final RowScope ALL_ROWS
public static final RowScope NO_ROWS
public RowScope.Type getLevel()
public Collection<String> getFilters()
getFilter()
is generally the method you want to use if you are
interested in the SemQL filter represented by this RowScope
.public String getFilter()
public static RowScope mergeScopesOR(Collection<RowScope> pAttrScopes)
pAttrScopes
- public boolean isDenied()
public boolean authorizedForSomeRows()
public boolean authorizedForAllRows()
Copyright © 2019. All rights reserved.