Class XDocReportResourceService
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.template.xdocreport.jaxrs.AbstractResourceService
org.nuxeo.template.xdocreport.jaxrs.XDocReportResourceService
- All Implemented Interfaces:
fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
,fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
,Resource
,Adaptable
public class XDocReportResourceService
extends AbstractResourceService
implements fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
- Author:
- Tiry
-
Field Summary
Fields inherited from class org.nuxeo.template.xdocreport.jaxrs.AbstractResourceService
session
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfr.opensagres.xdocreport.remoting.resources.domain.BinaryData
List<fr.opensagres.xdocreport.remoting.resources.domain.BinaryData>
fr.opensagres.xdocreport.remoting.resources.domain.LargeBinaryData
downloadLarge
(String resourcePath) List<fr.opensagres.xdocreport.remoting.resources.domain.BinaryData>
downloadMultiple
(List<String> arg0) getFieldDefinition
(String type) 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) void
upload
(fr.opensagres.xdocreport.remoting.resources.domain.BinaryData dataIn) void
uploadLarge
(fr.opensagres.xdocreport.remoting.resources.domain.LargeBinaryData dataIn) Methods inherited from class org.nuxeo.template.xdocreport.jaxrs.AbstractResourceService
getCoreSession, getTemplates
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
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
-
Constructor Details
-
XDocReportResourceService
-
-
Method Details
-
download
-
getName
- Specified by:
getName
in interfacefr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
- Specified by:
getName
in interfaceResource
- Specified by:
getName
in interfacefr.opensagres.xdocreport.remoting.resources.services.ResourcesService
- Overrides:
getName
in classAbstractResource<ResourceTypeImpl>
-
getRoot
public fr.opensagres.xdocreport.remoting.resources.domain.Resource getRoot()- Specified by:
getRoot
in interfacefr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
- Specified by:
getRoot
in interfacefr.opensagres.xdocreport.remoting.resources.services.ResourcesService
-
listModels
- Throws:
IOException
-
getFieldDefinition
-
upload
public void upload(fr.opensagres.xdocreport.remoting.resources.domain.BinaryData dataIn) - Specified by:
upload
in interfacefr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
- Specified by:
upload
in interfacefr.opensagres.xdocreport.remoting.resources.services.ResourcesService
-
downloadMultiple
public List<fr.opensagres.xdocreport.remoting.resources.domain.BinaryData> downloadMultiple(List<String> arg0) throws fr.opensagres.xdocreport.remoting.resources.services.ResourcesException - Specified by:
downloadMultiple
in interfacefr.opensagres.xdocreport.remoting.resources.services.ResourcesService
- Throws:
fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
-
getRootWithFilter
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 - Specified by:
getRootWithFilter
in interfacefr.opensagres.xdocreport.remoting.resources.services.ResourcesService
- Throws:
fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
-
downloadLarge
public fr.opensagres.xdocreport.remoting.resources.domain.LargeBinaryData downloadLarge(String resourcePath) throws fr.opensagres.xdocreport.remoting.resources.services.ResourcesException - Specified by:
downloadLarge
in interfacefr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
- Throws:
fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
-
download
- Specified by:
download
in interfacefr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
- Specified by:
download
in interfacefr.opensagres.xdocreport.remoting.resources.services.ResourcesService
-
uploadLarge
public void uploadLarge(fr.opensagres.xdocreport.remoting.resources.domain.LargeBinaryData dataIn) throws fr.opensagres.xdocreport.remoting.resources.services.ResourcesException - Specified by:
uploadLarge
in interfacefr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
- Throws:
fr.opensagres.xdocreport.remoting.resources.services.ResourcesException
-