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

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
All Known Implementing Classes:
PDFCommServiceImpl

@RemoteServiceRelativePath(value="PDFCommService")
public interface PDFCommService
extends com.google.gwt.user.client.rpc.RemoteService

Synchronous PDF Comm Service description.

Version:
$LastChangedRevision: 260 $
Author:
Enrico Homann

Nested Class Summary
static class PDFCommService.Util
          Utility class for simplifying access to the instance of async service.
 
Method Summary
 PDFGeneratorResult generateFilecardPDF(java.util.List<java.lang.Long> selectedFilecardIds, long lectureId)
          Will generate a PDF file for lecture identified by long lectureIdand selected filecards by their ids on the Backend and returns a PDFGeneratorResult.
 PDFGeneratorResult generateLecturePDF(long lectureId)
          Will generate a PDF file for lecture identified by long lectureIdand it's exercises on the Backend and returns a PDFGeneratorResult.
 

Method Detail

generateLecturePDF

PDFGeneratorResult generateLecturePDF(long lectureId)
                                      throws InvalidPermissionException
Will generate a PDF file for lecture identified by long lectureIdand it's exercises on the Backend and returns a PDFGeneratorResult.

Parameters:
lectureId - long
Returns:
PDFGeneratorResult
Throws:
InvalidPermissionException - Thrown if caller has insufficient permissions

generateFilecardPDF

PDFGeneratorResult generateFilecardPDF(java.util.List<java.lang.Long> selectedFilecardIds,
                                       long lectureId)
                                       throws InvalidPermissionException
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
Returns:
PDFGeneratorResult
Throws:
InvalidPermissionException - Thrown if caller has insufficient permissions