Subversion Repositories XServices

Compare Revisions

Ignore whitespace Rev 92 → Rev 112

/xservices/trunk/src/java/net/brutex/xservices/ws/FileService.java
51,7 → 51,6
 
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";
91,16 → 90,6
@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
171,6 → 160,7
* @param file
* @param encoding
* @param append
* @param create
* @return
* @throws XServicesFault
*/
180,7 → 170,8
@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) throws XServicesFault;
@WebParam(name = "append") boolean append,
@WebParam(name = "create") boolean create) throws XServicesFault;
 
/**
* Changes the owner of a file or all files inside specified directories.