public class XDocReportResourceService extends AbstractResourceService implements fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
session
Constructor and Description |
---|
XDocReportResourceService(CoreSession session) |
Modifier and Type | Method and Description |
---|---|
List<fr.opensagres.xdocreport.remoting.resources.domain.BinaryData> |
download(List<String> resourcePaths) |
fr.opensagres.xdocreport.remoting.resources.domain.BinaryData |
download(String resourcePath) |
fr.opensagres.xdocreport.remoting.resources.domain.LargeBinaryData |
downloadLarge(String resourcePath) |
List<fr.opensagres.xdocreport.remoting.resources.domain.BinaryData> |
downloadMultiple(List<String> arg0) |
String |
getFieldDefinition(String type) |
String |
getName() |
fr.opensagres.xdocreport.remoting.resources.domain.Resource |
getRoot() |
fr.opensagres.xdocreport.remoting.resources.domain.Resource |
getRootWithFilter(fr.opensagres.xdocreport.remoting.resources.domain.Filter filter) |
String |
listModels() |
void |
upload(fr.opensagres.xdocreport.remoting.resources.domain.BinaryData dataIn) |
void |
uploadLarge(fr.opensagres.xdocreport.remoting.resources.domain.LargeBinaryData dataIn) |
getCoreSession, getTemplates
disptachAdapter, isAdapter
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
protected static final org.apache.commons.logging.Log log
public XDocReportResourceService(CoreSession session)
public List<fr.opensagres.xdocreport.remoting.resources.domain.BinaryData> download(List<String> resourcePaths)
public String getName()
getName
in interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
getName
in interface fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
getName
in interface Resource
getName
in class AbstractResource<ResourceTypeImpl>
public fr.opensagres.xdocreport.remoting.resources.domain.Resource getRoot()
getRoot
in interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
getRoot
in interface fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
public String listModels() throws IOException
IOException
public String getFieldDefinition(String type)
public void upload(fr.opensagres.xdocreport.remoting.resources.domain.BinaryData dataIn)
upload
in interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
upload
in interface fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
public List<fr.opensagres.xdocreport.remoting.resources.domain.BinaryData> downloadMultiple(List<String> arg0) throws fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
downloadMultiple
in interface fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
public fr.opensagres.xdocreport.remoting.resources.domain.Resource getRootWithFilter(fr.opensagres.xdocreport.remoting.resources.domain.Filter filter) throws fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
getRootWithFilter
in interface fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
public fr.opensagres.xdocreport.remoting.resources.domain.LargeBinaryData downloadLarge(String resourcePath) throws fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
downloadLarge
in interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
public fr.opensagres.xdocreport.remoting.resources.domain.BinaryData download(String resourcePath)
download
in interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
download
in interface fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
public void uploadLarge(fr.opensagres.xdocreport.remoting.resources.domain.LargeBinaryData dataIn) throws fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
uploadLarge
in interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
Copyright © 2017 Nuxeo. All rights reserved.