Ejemplo n.º 1
0
 protected internal virtual void ensureTenantAuthorized(CommandContext commandContext, ProcessDefinitionEntity processDefinition)
 {
     if (!commandContext.TenantManager.isAuthenticatedTenant(processDefinition.TenantId))
     {
         throw LOG.exceptionCommandWithUnauthorizedTenant("restart process instances of process definition '" + processDefinition.Id + "'");
     }
 }