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


public interface MediaCommServiceAsync

Media Comm Service. Asynchronous Interface.

Version:
$LastChangedRevision: 237 $
Author:
Enrico Homann

Method Summary
 void deleteMediaFileForLecture(LectureMediaFile mf, com.google.gwt.user.client.rpc.AsyncCallback<ResponseStatusEnum> callback)
          /** Hard deletes a LectureMediaFile from the system.
 void getMediaFilesForLecture(long lectureId, com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<LectureMediaFile>> callback)
          Will return of List with media files for Lecture with long lectureId.
 

Method Detail

getMediaFilesForLecture

void getMediaFilesForLecture(long lectureId,
                             com.google.gwt.user.client.rpc.AsyncCallback<java.util.List<LectureMediaFile>> callback)
Will return of List with media files for Lecture with long lectureId.

Parameters:
lectureId - List of File
callback - AsyncCallback of List of File

deleteMediaFileForLecture

void deleteMediaFileForLecture(LectureMediaFile mf,
                               com.google.gwt.user.client.rpc.AsyncCallback<ResponseStatusEnum> callback)
/** Hard deletes a LectureMediaFile from the system. The lectureId is retrieved from the LectureMediaFile. Returns SUCCESS if the operation was successful or FAILURE otherwise.

Parameters:
mf - LectureMediaFile
callback - AsyncCallback of ResponseStatusEnum