return (List<Long>) executeCommand(cmd);
}
@Override
public long addTask( Task task, Map<String, Object> params ) {
AddTaskCommand cmd = new AddTaskCommand();
org.kie.remote.jaxb.gen.Task genTask = convertKieTaskToGenTask(task);
cmd.setJaxbTask(genTask);
JaxbStringObjectPairArray values = convertMapToJaxbStringObjectPairArray(params);
cmd.setParameter(values);
return (Long) executeCommand(cmd);
}