Package org.camunda.bpm.engine.impl.db
Class PermissionCheckBuilder
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.PermissionCheckBuilder
-
public class PermissionCheckBuilder extends Object
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected List<PermissionCheck>
atomicChecks
protected List<CompositePermissionCheck>
compositeChecks
protected boolean
disjunctive
protected PermissionCheckBuilder
parent
-
Constructor Summary
Constructors Constructor Description PermissionCheckBuilder()
PermissionCheckBuilder(PermissionCheckBuilder parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PermissionCheckBuilder
atomicCheck(Resource resource, String queryParam, Permission permission)
PermissionCheckBuilder
atomicCheckForResourceId(Resource resource, String resourceId, Permission permission)
CompositePermissionCheck
build()
PermissionCheckBuilder
composite()
PermissionCheckBuilder
conjunctive()
PermissionCheckBuilder
disjunctive()
PermissionCheckBuilder
done()
List<PermissionCheck>
getAtomicChecks()
boolean
isPermissionDisabled(Permission permission)
protected void
validate()
-
-
-
Field Detail
-
atomicChecks
protected List<PermissionCheck> atomicChecks
-
compositeChecks
protected List<CompositePermissionCheck> compositeChecks
-
disjunctive
protected boolean disjunctive
-
parent
protected PermissionCheckBuilder parent
-
-
Constructor Detail
-
PermissionCheckBuilder
public PermissionCheckBuilder()
-
PermissionCheckBuilder
public PermissionCheckBuilder(PermissionCheckBuilder parent)
-
-
Method Detail
-
disjunctive
public PermissionCheckBuilder disjunctive()
-
conjunctive
public PermissionCheckBuilder conjunctive()
-
atomicCheck
public PermissionCheckBuilder atomicCheck(Resource resource, String queryParam, Permission permission)
-
atomicCheckForResourceId
public PermissionCheckBuilder atomicCheckForResourceId(Resource resource, String resourceId, Permission permission)
-
composite
public PermissionCheckBuilder composite()
-
done
public PermissionCheckBuilder done()
-
build
public CompositePermissionCheck build()
-
getAtomicChecks
public List<PermissionCheck> getAtomicChecks()
-
validate
protected void validate()
-
isPermissionDisabled
public boolean isPermissionDisabled(Permission permission)
-
-