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 Modifier and Type Field Description protected static Log
log
-
Fields inherited from class org.nuxeo.template.xdocreport.jaxrs.AbstractResourceService
session
-
-
Constructor Summary
Constructors Constructor Description XDocReportResourceService(CoreSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description fr.opensagres.xdocreport.remoting.resources.domain.BinaryData
download(String resourcePath)
List<fr.opensagres.xdocreport.remoting.resources.domain.BinaryData>
download(List<String> resourcePaths)
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)
-
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
-
-
-
-
Field Detail
-
log
protected static final Log log
-
-
Constructor Detail
-
XDocReportResourceService
public XDocReportResourceService(CoreSession session)
-
-
Method Detail
-
download
public List<fr.opensagres.xdocreport.remoting.resources.domain.BinaryData> download(List<String> resourcePaths)
-
getName
public String 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
public String listModels() throws IOException
- Throws:
IOException
-
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
public fr.opensagres.xdocreport.remoting.resources.domain.BinaryData download(String resourcePath)
- 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
-
-