Class 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 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 interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
        Specified by:
        getName in interface Resource
        Specified by:
        getName in interface fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
        Overrides:
        getName in class AbstractResource<ResourceTypeImpl>
      • getRoot

        public fr.opensagres.xdocreport.remoting.resources.domain.Resource getRoot()
        Specified by:
        getRoot in interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
        Specified by:
        getRoot in interface fr.opensagres.xdocreport.remoting.resources.services.ResourcesService
      • getFieldDefinition

        public String getFieldDefinition​(String type)
      • upload

        public void upload​(fr.opensagres.xdocreport.remoting.resources.domain.BinaryData dataIn)
        Specified by:
        upload in interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
        Specified by:
        upload in interface fr.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 interface fr.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 interface fr.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 interface fr.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 interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
        Specified by:
        download in interface fr.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 interface fr.opensagres.xdocreport.remoting.resources.services.jaxrs.JAXRSResourcesService
        Throws:
        fr.opensagres.xdocreport.remoting.resources.services.ResourcesException