Subversion Repositories XServices

Rev

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

Rev 46 Rev 54
Line 1... Line 1...
1
package net.brutex.xservices.ws;
1
package net.brutex.xservices.ws;
Line -... Line 2...
-
 
2
 
2
 
3
import javax.activation.DataHandler;
3
import javax.jws.WebMethod;
4
import javax.jws.WebMethod;
4
import javax.jws.WebParam;
5
import javax.jws.WebParam;
Line 5... Line 6...
5
import javax.jws.WebService;
6
import javax.jws.WebService;
-
 
7
 
6
 
8
import net.brutex.xservices.types.ArchiveResource;
7
import net.brutex.xservices.types.ArchiveResource;
9
import net.brutex.xservices.types.AttachmentType;
8
import net.brutex.xservices.types.FileResource;
10
import net.brutex.xservices.types.FileResource;
9
import net.brutex.xservices.types.FileSetResource;
11
import net.brutex.xservices.types.FileSetResource;
10
import net.brutex.xservices.types.ReturnCode;
12
import net.brutex.xservices.types.ReturnCode;
Line 15... Line 17...
15
	@WebMethod(operationName = "basename")
17
	@WebMethod(operationName = "basename")
16
	public abstract ReturnCode basename(
18
	public abstract ReturnCode basename(
17
			@WebParam(name = "file") String filename,
19
			@WebParam(name = "file") String filename,
18
			@WebParam(name = "suffix") String suffix);
20
			@WebParam(name = "suffix") String suffix);
Line -... Line 21...
-
 
21
 
-
 
22
	@WebMethod(operationName = "downloadFile")
-
 
23
	public abstract AttachmentType downloadFile(
-
 
24
			@WebParam(name = "file") FileResource res);
-
 
25
	
-
 
26
	@WebMethod(operationName = "uploadFile")
-
 
27
	public abstract String uploadFile(
-
 
28
			@WebParam(name = "file") AttachmentType file);
19
 
29
			
20
	@WebMethod(operationName = "copy")
30
	@WebMethod(operationName = "copy")
21
	public abstract ReturnCode copy(
31
	public abstract ReturnCode copy(
22
			@WebParam(name = "fileset") FileSetResource src,
32
			@WebParam(name = "fileset") FileSetResource src,
23
			@WebParam(name = "todir") String todir,
33
			@WebParam(name = "todir") String todir,