Subversion Repositories XServices

Compare Revisions

Ignore whitespace Rev 111 → Rev 92

/xservices/trunk/src/java/net/brutex/xservices/ws/FileService.java
51,6 → 51,7
 
final String OPERATION_BASENAME ="basename";
final String OPERATION_DOWNLOADFILE ="downloadFile";
final String OPERATION_ENCODEFILE= "encodeFile";
final String OPERATION_UPLOADFILE ="uploadFile";
final String OPERATION_COPY ="copy";
final String OPERATION_COPYFILE ="copyFile";
90,6 → 91,16
@WebParam(name = FileResource.XML_NAME) FileResource res) throws XServicesFault;
/**
* @param res
* @return Encodes a file
* @throws XServicesFault
*/
@WSDLDocumentation(XServicesDocumentation.SERVICE_OPERATION_ENCODEFILE)
@WebMethod(operationName = OPERATION_ENCODEFILE)
public abstract byte[] encodeFile(
@WebParam(name = FileResource.XML_NAME) FileResource res) throws XServicesFault;
/**
* @param file
* @return The file name of the file that has been uploaded.
* @throws XServicesFault
160,7 → 171,6
* @param file
* @param encoding
* @param append
* @param create
* @return
* @throws XServicesFault
*/
170,8 → 180,7
@WebParam(name = "message") @XmlElement(required=true) String message,
@WebParam(name = PARAM_FILE) @XmlElement(required=true) String file,
@WebParam(name = PARAM_ENCODING) String encoding,
@WebParam(name = "append") boolean append,
@WebParam(name = "create") boolean create) throws XServicesFault;
@WebParam(name = "append") boolean append) throws XServicesFault;
 
/**
* Changes the owner of a file or all files inside specified directories.