public class WorkFlowContextProvider extends BasicContextProvider
ContextProvider.AllowingContexts| Modifier and Type | Field and Description |
|---|---|
(package private) static String |
DELETED |
| Constructor and Description |
|---|
WorkFlowContextProvider(MMObjectBuilder... b) |
WorkFlowContextProvider(NodeSearchQuery... q) |
WorkFlowContextProvider(String... b) |
| Modifier and Type | Method and Description |
|---|---|
protected Authorization.QueryCheck |
addConstraints(List<Constraint> constraints,
User userContext,
Query query,
Operation operation) |
protected Authorization.QueryCheck |
addWorkFlowConstraints(List<Constraint> constraints,
User userContext,
Query query,
Operation operation) |
String |
getContext(User userContext,
MMObjectNode node) |
MMObjectNode |
getContextNode(String context)
Returns the MMObjectNode representing the 'context' which is identifier with the given name.
|
Set<String> |
getPossibleContexts(User user,
MMObjectNode node) |
boolean |
mayDo(User user,
MMObjectNode nodeId,
Operation operation) |
addAllowingContextsConstraints, addSecurityObjectsConstraints, allows, canReadAll, check, disableContextChecks, getAllContexts, getAllContextsUnCached, getAllowingContexts, getAllowingOrDisallowingContexts, getContextName, getContextNameField, getContextNode, getContextQueries, getDisallowingContexts, getGroupsAndUsers, getGroupsOrUsers, getMaxContextsInQuery, getPossibleContexts, grant, isAllContextsPossible, mayDoOnContext, mayDoOnContext, mayGrant, mayRevoke, revoke, setContextstatic final String DELETED
public WorkFlowContextProvider(NodeSearchQuery... q)
public WorkFlowContextProvider(MMObjectBuilder... b)
public WorkFlowContextProvider(String... b)
public MMObjectNode getContextNode(String context)
getContextNode in interface ContextProvidergetContextNode in class BasicContextProviderpublic String getContext(User userContext, MMObjectNode node)
getContext in interface ContextProvidergetContext in class BasicContextProviderpublic boolean mayDo(User user, MMObjectNode nodeId, Operation operation) throws SecurityException
mayDo in interface ContextProvidermayDo in class BasicContextProviderSecurityExceptionprotected Authorization.QueryCheck addWorkFlowConstraints(List<Constraint> constraints, User userContext, Query query, Operation operation)
protected Authorization.QueryCheck addConstraints(List<Constraint> constraints, User userContext, Query query, Operation operation)
addConstraints in class BasicContextProviderpublic Set<String> getPossibleContexts(User user, MMObjectNode node) throws SecurityException
getPossibleContexts in interface ContextProvidergetPossibleContexts in class BasicContextProviderSecurityExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}