fr.opensagres.xdocreport.remoting.resources.services.client.jaxws
Class JAXWSResourcesServiceClient
java.lang.Object
fr.opensagres.xdocreport.remoting.resources.services.client.jaxws.JAXWSResourcesServiceClient
- All Implemented Interfaces:
- JAXWSResourcesService, ResourcesService
public class JAXWSResourcesServiceClient
- extends Object
- implements JAXWSResourcesService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXWSResourcesServiceClient
public JAXWSResourcesServiceClient(String baseAddress,
String user,
String password,
Long connectionTimeout,
Boolean allowChunking)
getName
public String getName()
- Description copied from interface:
ResourcesService
- Returns the repository name.
- Specified by:
getName
in interface JAXWSResourcesService
- Specified by:
getName
in interface ResourcesService
- Returns:
getRoot
public Resource getRoot()
- Description copied from interface:
ResourcesService
- Returns the root resource.
- Specified by:
getRoot
in interface JAXWSResourcesService
- Specified by:
getRoot
in interface ResourcesService
- Returns:
getRootWithFilter
public Resource getRootWithFilter(Filter filter)
throws ResourcesException
- Specified by:
getRootWithFilter
in interface JAXWSResourcesService
- Specified by:
getRootWithFilter
in interface ResourcesService
- Throws:
ResourcesException
downloadMultiple
public List<BinaryData> downloadMultiple(List<String> resourceIds)
throws ResourcesException
- Specified by:
downloadMultiple
in interface JAXWSResourcesService
- Specified by:
downloadMultiple
in interface ResourcesService
- Throws:
ResourcesException
download
public BinaryData download(String resourceId)
throws ResourcesException
- Description copied from interface:
ResourcesService
- Download the content of the given unique resource id.
- Specified by:
download
in interface JAXWSResourcesService
- Specified by:
download
in interface ResourcesService
- Returns:
- the byte array of the content of the given resourcePath.
- Throws:
ResourcesException
upload
public void upload(BinaryData data)
throws ResourcesException
- Specified by:
upload
in interface JAXWSResourcesService
- Specified by:
upload
in interface ResourcesService
- Throws:
ResourcesException
Copyright © 2013. All rights reserved.