/** * RemoteRepository.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package org.olat.lor.webservice; /** * * Description:
* *

* Initial Date: 25.09.2006
* @author Felix Jost */ public interface RemoteRepository extends java.rmi.Remote { /** * uploads a file to the lor server. * the file must be either a ims content-packaging file or a plain document such as a pdf file. * the service answer with a token which can be used for later authentication * * @param filename the name of the file beeing uploaded e.g. myimspackaging.zip or mydoc.pdf (mainly to determine the type of document) * @param cpdata the file being uploaded as byte array * @return a token (e.g. token173432432) which serves as a password/identifier upon the next interaction using the webbrowser * @throws java.rmi.RemoteException */ public java.lang.String pushTo(java.lang.String filename, byte[] cpdata) throws java.rmi.RemoteException; }