Subversion Repositories XServices

Rev

Rev 83 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 83 Rev 92
Line 49... Line 49...
49
)
49
)
50
public interface FileService {
50
public interface FileService {
Line 51... Line 51...
51
 
51
 
52
	final String OPERATION_BASENAME ="basename";
52
	final String OPERATION_BASENAME ="basename";
-
 
53
	final String OPERATION_DOWNLOADFILE ="downloadFile";
53
	final String OPERATION_DOWNLOADFILE ="downloadFile";
54
	final String OPERATION_ENCODEFILE= "encodeFile";
54
	final String OPERATION_UPLOADFILE ="uploadFile";
55
	final String OPERATION_UPLOADFILE ="uploadFile";
55
	final String OPERATION_COPY ="copy";
56
	final String OPERATION_COPY ="copy";
56
	final String OPERATION_COPYFILE ="copyFile";
57
	final String OPERATION_COPYFILE ="copyFile";
57
	final String OPERATION_LOADRESOURCE = "loadResource";
58
	final String OPERATION_LOADRESOURCE = "loadResource";
Line 88... Line 89...
88
	@WebMethod(operationName = OPERATION_DOWNLOADFILE)
89
	@WebMethod(operationName = OPERATION_DOWNLOADFILE)
89
	public abstract AttachmentType downloadFile(
90
	public abstract AttachmentType downloadFile(
90
			@WebParam(name = FileResource.XML_NAME) FileResource res) throws XServicesFault;
91
			@WebParam(name = FileResource.XML_NAME) FileResource res) throws XServicesFault;
Line 91... Line 92...
91
	
92
	
-
 
93
	/**
-
 
94
	 * @param res
-
 
95
	 * @return Encodes a file
-
 
96
	 * @throws XServicesFault 
-
 
97
	 */
-
 
98
	@WSDLDocumentation(XServicesDocumentation.SERVICE_OPERATION_ENCODEFILE)
-
 
99
	@WebMethod(operationName = OPERATION_ENCODEFILE)
-
 
100
	public abstract byte[] encodeFile(
-
 
101
			@WebParam(name = FileResource.XML_NAME) FileResource res) throws XServicesFault;
-
 
102
	
92
	/**
103
	/**
93
	 * @param file
104
	 * @param file
94
	 * @return The file name of the file that has been uploaded.
105
	 * @return The file name of the file that has been uploaded.
95
	 * @throws XServicesFault 
106
	 * @throws XServicesFault 
96
	 */
107
	 */