executeCommand(cmd);
}
@Override
public void nominate( long taskId, String userId, List<OrganizationalEntity> potentialOwners ) {
NominateTaskCommand cmd = new NominateTaskCommand();
cmd.setTaskId(taskId);
cmd.setUserId(userId);
List<org.kie.remote.jaxb.gen.OrganizationalEntity> genOrgEntList = convertKieOrgEntListToGenOrgEntList(potentialOwners);
if( genOrgEntList != null ) {
cmd.getPotentialOwners().addAll(genOrgEntList);
}
executeCommand(cmd);
}