fr.opensagres.xdocreport.remoting.resources.services.jaxrs
Interface JAXRSResourcesService

All Superinterfaces:
ResourcesService
All Known Implementing Classes:
FileResourcesService, JAXRSResourcesServiceClient, JAXRSResourcesServiceImpl, WebAppResourcesServiceListener

public interface JAXRSResourcesService
extends ResourcesService


Method Summary
 BinaryData download(String resourceId)
          Download the content of the given unique resource id.
 LargeBinaryData downloadLarge(String resourceId)
           
 String getName()
          Returns the repository name.
 Resource getRoot()
          Returns the root resource.
 void upload(BinaryData data)
           
 void uploadLarge(LargeBinaryData data)
           
 
Methods inherited from interface fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
downloadMultiple, getRootWithFilter
 

Method Detail

getName

String getName()
Description copied from interface: ResourcesService
Returns the repository name.

Specified by:
getName in interface ResourcesService
Returns:

getRoot

Resource getRoot()
                 throws ResourcesException
Description copied from interface: ResourcesService
Returns the root resource.

Specified by:
getRoot in interface ResourcesService
Returns:
Throws:
ResourcesException

download

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 ResourcesService
Returns:
the byte array of the content of the given resourcePath.
Throws:
ResourcesException

upload

void upload(BinaryData data)
            throws ResourcesException
Specified by:
upload in interface ResourcesService
Throws:
ResourcesException

downloadLarge

LargeBinaryData downloadLarge(String resourceId)
                              throws ResourcesException
Throws:
ResourcesException

uploadLarge

void uploadLarge(LargeBinaryData data)
                 throws ResourcesException
Throws:
ResourcesException


Copyright © 2013. All rights reserved.