Package org.camunda.bpm.engine.impl.db
Class PermissionCheckBuilder
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.PermissionCheckBuilder
-
public class PermissionCheckBuilder extends java.lang.Object
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<PermissionCheck>
atomicChecks
protected java.util.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, java.lang.String queryParam, Permission permission)
PermissionCheckBuilder
atomicCheckForResourceId(Resource resource, java.lang.String resourceId, Permission permission)
CompositePermissionCheck
build()
PermissionCheckBuilder
composite()
PermissionCheckBuilder
conjunctive()
PermissionCheckBuilder
disjunctive()
PermissionCheckBuilder
done()
java.util.List<PermissionCheck>
getAtomicChecks()
boolean
isPermissionDisabled(Permission permission)
protected void
validate()
-
-
-
Field Detail
-
atomicChecks
protected java.util.List<PermissionCheck> atomicChecks
-
compositeChecks
protected java.util.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, java.lang.String queryParam, Permission permission)
-
atomicCheckForResourceId
public PermissionCheckBuilder atomicCheckForResourceId(Resource resource, java.lang.String resourceId, Permission permission)
-
composite
public PermissionCheckBuilder composite()
-
done
public PermissionCheckBuilder done()
-
build
public CompositePermissionCheck build()
-
getAtomicChecks
public java.util.List<PermissionCheck> getAtomicChecks()
-
validate
protected void validate()
-
isPermissionDisabled
public boolean isPermissionDisabled(Permission permission)
-
-