Subversion Repositories XServices

Compare Revisions

Ignore whitespace Rev 54 → Rev 63

/xservices/trunk/src/java/net/brutex/xservices/ws/FileService.java/FileService.java
1,5 → 1,7
package net.brutex.xservices.ws;
 
import java.util.List;
 
import javax.activation.DataHandler;
import javax.jws.WebMethod;
import javax.jws.WebParam;
9,6 → 11,7
import net.brutex.xservices.types.AttachmentType;
import net.brutex.xservices.types.FileResource;
import net.brutex.xservices.types.FileSetResource;
import net.brutex.xservices.types.ReplacePattern;
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.util.BrutexNamespaces;
@WebService(targetNamespace = BrutexNamespaces.WS_XSERVICES)
66,5 → 69,22
public abstract ReturnCode changeMode(
@WebParam(name = "fileset") FileSetResource res,
@WebParam(name = "permissions") String perm);
 
@WebMethod(operationName = "replaceInFile")
public abstract ReturnCode replaceInFile(
@WebParam(name = "file") FileResource res,
@WebParam(name = "search") String search,
@WebParam(name = "replace") String replace);
@WebMethod(operationName = "replaceInFile2")
public abstract ReturnCode replaceInFile2(
@WebParam(name = "file") FileResource res,
@WebParam(name = "patternList") List<ReplacePattern> patternList);
@WebMethod(operationName = "replaceInFileRegEx")
public abstract ReturnCode replaceInFileRegEx(
@WebParam(name = "file") FileResource res,
@WebParam(name = "search") String search,
@WebParam(name = "replace") String replace,
@WebParam(name = "flags") String flags);
}