Subversion Repositories XServices

Rev

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

Rev 54 Rev 63
Line 1... Line 1...
1
package net.brutex.xservices.ws;
1
package net.brutex.xservices.ws;
Line -... Line 2...
-
 
2
 
-
 
3
import java.util.List;
2
 
4
 
3
import javax.activation.DataHandler;
5
import javax.activation.DataHandler;
4
import javax.jws.WebMethod;
6
import javax.jws.WebMethod;
5
import javax.jws.WebParam;
7
import javax.jws.WebParam;
Line 6... Line 8...
6
import javax.jws.WebService;
8
import javax.jws.WebService;
7
 
9
 
8
import net.brutex.xservices.types.ArchiveResource;
10
import net.brutex.xservices.types.ArchiveResource;
9
import net.brutex.xservices.types.AttachmentType;
11
import net.brutex.xservices.types.AttachmentType;
-
 
12
import net.brutex.xservices.types.FileResource;
10
import net.brutex.xservices.types.FileResource;
13
import net.brutex.xservices.types.FileSetResource;
11
import net.brutex.xservices.types.FileSetResource;
14
import net.brutex.xservices.types.ReplacePattern;
12
import net.brutex.xservices.types.ReturnCode;
15
import net.brutex.xservices.types.ReturnCode;
13
import net.brutex.xservices.util.BrutexNamespaces;
16
import net.brutex.xservices.util.BrutexNamespaces;
Line 64... Line 67...
64
 
67
 
65
	@WebMethod(operationName = "changeMode")
68
	@WebMethod(operationName = "changeMode")
66
	public abstract ReturnCode changeMode(
69
	public abstract ReturnCode changeMode(
67
			@WebParam(name = "fileset") FileSetResource res,
70
			@WebParam(name = "fileset") FileSetResource res,
68
			@WebParam(name = "permissions") String perm);
71
			@WebParam(name = "permissions") String perm);
-
 
72
	
-
 
73
	@WebMethod(operationName = "replaceInFile")
-
 
74
	public abstract ReturnCode replaceInFile(
-
 
75
			@WebParam(name = "file") FileResource res,
-
 
76
			@WebParam(name = "search") String search,
-
 
77
			@WebParam(name = "replace") String replace);
-
 
78
	
-
 
79
	@WebMethod(operationName = "replaceInFile2")
-
 
80
	public abstract ReturnCode replaceInFile2(
-
 
81
			@WebParam(name = "file") FileResource res,
-
 
82
			@WebParam(name = "patternList") List<ReplacePattern> patternList);
-
 
83
	
-
 
84
	@WebMethod(operationName = "replaceInFileRegEx")
-
 
85
	public abstract ReturnCode replaceInFileRegEx(
-
 
86
			@WebParam(name = "file") FileResource res,
-
 
87
			@WebParam(name = "search") String search,
-
 
88
			@WebParam(name = "replace") String replace,
69
 
89
			@WebParam(name = "flags") String flags);
70
}
90
}