コード例 #1
0
        public void CheckCancelProcessInstance(Guid authenticatedActorId, Guid processInstanceId)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromProcessInstanceId(processInstanceId);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckCancelProcessInstance(authenticatedActorId, processInstanceId);
            }
        }
コード例 #2
0
        public void CheckCancelProcessInstance(String authenticatedActorId, Int64 processInstanceId, DbSession dbSession)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromProcessInstanceId(processInstanceId, dbSession);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckCancelProcessInstance(authenticatedActorId, processInstanceId);
            }
        }