public class IsManagerOfUserInvolvedInProcessInstanceRule extends AuthorizationRuleWithParameters implements AuthorizationRule
ProcessRuntimeAPI.isManagerOfUserInvolvedInProcessInstance(long, long)
Constructor and Description |
---|
IsManagerOfUserInvolvedInProcessInstanceRule(SessionService sessionService,
SessionAccessor sessionAccessor,
ProcessInvolvementDelegate processInvolvementDelegate) |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
boolean |
isAllowed(String key,
Map<String,Serializable> context)
Execute this rule and, according to the context, says whether the rule is valid.
|
getLoggedUserId, getLongParameter
public IsManagerOfUserInvolvedInProcessInstanceRule(SessionService sessionService, SessionAccessor sessionAccessor, ProcessInvolvementDelegate processInvolvementDelegate)
public boolean isAllowed(String key, Map<String,Serializable> context) throws org.bonitasoft.engine.commons.exceptions.SExecutionException
AuthorizationRule
isAllowed
in interface AuthorizationRule
key
- the page mapping keycontext
- the information necessary to execute this rule.org.bonitasoft.engine.commons.exceptions.SExecutionException
- exception thrown if authorization cannot be determined.public String getId()
getId
in interface AuthorizationRule
Copyright © 2018 Bonitasoft S.A.. All rights reserved.