示例#1
0
  public void acquisitionOrder(ExtendedRequest request, ExtendedResponse response) {
    String schema = request.getSchema();

    SupplierBO bo = SupplierBO.getInstance(schema);
    List<SupplierDTO> suppliers = bo.list();
    request.setAttribute("suppliers", suppliers);

    this.jspURL = "/jsp/acquisition/orders.jsp";
    return;
  }
示例#2
0
  public void catalogingImport(ExtendedRequest request, ExtendedResponse response) {
    String schema = request.getSchema();
    Z3950BO bo = Z3950BO.getInstance(schema);

    List<Z3950AddressDTO> servers = bo.listAll();

    request.setAttribute("servers", servers);

    this.jspURL = "/jsp/cataloging/import.jsp";
    return;
  }
示例#3
0
  public void acquisitionQuotation(ExtendedRequest request, ExtendedResponse response) {
    String schema = request.getSchema();

    SupplierBO bo = SupplierBO.getInstance(schema);
    List<SupplierDTO> suppliers = bo.list();
    request.setAttribute("suppliers", suppliers);

    RequestBO rbo = RequestBO.getInstance(schema);
    List<RequestDTO> requests = rbo.list();
    request.setAttribute("requests", requests);

    this.jspURL = "/jsp/acquisition/quotations.jsp";
    return;
  }
示例#4
0
  public void listBibliographic(ExtendedRequest request, ExtendedResponse response) {
    String schema = request.getSchema();
    RecordType type = RecordType.BIBLIO;

    String letter = request.getString("letter");
    Integer order =
        request.getInteger("order", IndexingGroups.getDefaultSortableGroupId(schema, type));

    if (StringUtils.isBlank(letter)) {
      letter = "a";
    }

    RecordBO rbo = RecordBO.getInstance(schema, type);
    List<RecordDTO> records = rbo.listByLetter(letter.charAt(0), order);

    request.setAttribute("records", records);

    this.jspURL = "/jsp/list/bibliographic.jsp";
    return;
  }