private OpenAcdQueueGroup createQueueGroup(OpenAcdQueueGroupRestInfoFull queueGroupRestInfo) {
    OpenAcdQueueGroup queueGroup = new OpenAcdQueueGroup();

    // copy fields from rest info
    queueGroup.setName(queueGroupRestInfo.getName());
    queueGroup.setDescription(queueGroupRestInfo.getDescription());

    addLists(queueGroup, queueGroupRestInfo);

    return queueGroup;
  }
  private void updateQueueGroup(
      OpenAcdQueueGroup queueGroup, OpenAcdQueueGroupRestInfoFull queueGroupRestInfo) {
    String tempString;

    // do not allow empty name
    tempString = queueGroupRestInfo.getName();
    if (!tempString.isEmpty()) {
      queueGroup.setName(tempString);
    }

    queueGroup.setDescription(queueGroupRestInfo.getDescription());

    addLists(queueGroup, queueGroupRestInfo);
  }