public class CompositePermissionCheck extends Object
Modifier and Type | Field and Description |
---|---|
protected List<PermissionCheck> |
atomicChecks |
protected List<CompositePermissionCheck> |
compositeChecks |
protected boolean |
disjunctive |
Constructor and Description |
---|
CompositePermissionCheck() |
CompositePermissionCheck(boolean disjunctive) |
Modifier and Type | Method and Description |
---|---|
void |
addAtomicCheck(PermissionCheck permissionCheck) |
void |
addCompositeCheck(CompositePermissionCheck subCheck) |
void |
clear() |
List<PermissionCheck> |
getAllPermissionChecks() |
List<PermissionCheck> |
getAtomicChecks() |
List<CompositePermissionCheck> |
getCompositeChecks() |
boolean |
isDisjunctive()
conjunctive else
|
void |
setAtomicChecks(List<PermissionCheck> atomicChecks) |
void |
setCompositeChecks(List<CompositePermissionCheck> subChecks) |
protected boolean disjunctive
protected List<CompositePermissionCheck> compositeChecks
protected List<PermissionCheck> atomicChecks
public CompositePermissionCheck()
public CompositePermissionCheck(boolean disjunctive)
public void addAtomicCheck(PermissionCheck permissionCheck)
public void setAtomicChecks(List<PermissionCheck> atomicChecks)
public void setCompositeChecks(List<CompositePermissionCheck> subChecks)
public void addCompositeCheck(CompositePermissionCheck subCheck)
public boolean isDisjunctive()
public List<CompositePermissionCheck> getCompositeChecks()
public List<PermissionCheck> getAtomicChecks()
public void clear()
public List<PermissionCheck> getAllPermissionChecks()
Copyright © 2018. All rights reserved.