de.hs_rm.cs.lecturenotes.client.core.transport.service
Interface PDFCommServiceAsync


public interface PDFCommServiceAsync

Asynchronous PDF Comm Service description.

Version:
$LastChangedRevision: 260 $
Author:
Enrico Homann

Method Summary
 void generateFilecardPDF(java.util.List<java.lang.Long> selectedFilecardIds, long lectureId, com.google.gwt.user.client.rpc.AsyncCallback<PDFGeneratorResult> callback)
          Will generate a PDF file for lecture identified by long lectureIdand selected filecards by their ids on the Backend and returns a PDFGeneratorResult.
 void generateLecturePDF(long lectureId, com.google.gwt.user.client.rpc.AsyncCallback<PDFGeneratorResult> callback)
          Will generate a PDF file for lecture identified by long lectureIdand it's exercises on the Backend and returns a PDFGeneratorResult.
 

Method Detail

generateLecturePDF

void generateLecturePDF(long lectureId,
                        com.google.gwt.user.client.rpc.AsyncCallback<PDFGeneratorResult> callback)
Will generate a PDF file for lecture identified by long lectureIdand it's exercises on the Backend and returns a PDFGeneratorResult.

Parameters:
lectureId - long
callback - AsyncCallback of PDFGeneratorResult

generateFilecardPDF

void generateFilecardPDF(java.util.List<java.lang.Long> selectedFilecardIds,
                         long lectureId,
                         com.google.gwt.user.client.rpc.AsyncCallback<PDFGeneratorResult> callback)
Will generate a PDF file for lecture identified by long lectureIdand selected filecards by their ids on the Backend and returns a PDFGeneratorResult.

Parameters:
selectedFilecardIds - List of Long
lectureId - long
callback - AsyncCallback of PDFGeneratorResult