public void deleteGroup(String id) {
   for (int index = 0; index < this.operationGroups.size(); index++) {
     OperationGroupEntity group = this.operationGroups.get(index);
     if (group.getId().equals(id)) {
       this.operationGroups.remove(index);
       return;
     }
   }
 }
  public List<String> paremeterView(String id) {
    List<String> result = new ArrayList<String>();
    for (OperationGroupEntity group : this.operationGroups) {
      if (group.getId().equals(id)) {
        List<OperationParameterEntity> parameters = group.getListOperationParameters();
        if (parameters != null && parameters.size() > 0) {

          for (OperationParameterEntity parameter : parameters) {
            result.add("Name:" + parameter.getParamName() + ", Value:" + parameter.getParamValue());
          }
        }
      }
    }

    if (result.size() == 0) {
      result.add("N/A");
    }

    return result;
  }
  @Override
  public void edit(String id) {
    collect();

    ServicesFactory.getInstance()
        .getIvrEditorService()
        .getBean()
        .setComplementPageEditor("/pages/forms/OperationGroup.xhtml");

    ServicesFactory.getInstance().getOperationGroupEditorService().getBean().setOperationBean(this);

    for (OperationGroupEntity group : this.operationGroups) {
      if (group.getId().equals(id)) {
        ServicesFactory.getInstance()
            .getOperationGroupEditorService()
            .getBean()
            .setOperationGroup(group);
      }
    }
  }