Class CreateResourceServiceImpl

  • All Implemented Interfaces:
    org.fcrepo.kernel.api.services.CreateResourceService

    @Component
    public class CreateResourceServiceImpl
    extends AbstractService
    implements org.fcrepo.kernel.api.services.CreateResourceService
    Create a RdfSource resource.
    Author:
    whikloj TODO: bbpennel has thoughts about moving this to HTTP layer.
    • Method Detail

      • perform

        public void perform​(org.fcrepo.kernel.api.Transaction tx,
                            String userPrincipal,
                            org.fcrepo.kernel.api.identifiers.FedoraId fedoraId,
                            String contentType,
                            String filename,
                            long contentSize,
                            List<String> linkHeaders,
                            Collection<URI> digest,
                            InputStream requestBody,
                            org.fcrepo.kernel.api.models.ExternalContent externalContent)
        Specified by:
        perform in interface org.fcrepo.kernel.api.services.CreateResourceService
      • perform

        public void perform​(org.fcrepo.kernel.api.Transaction tx,
                            String userPrincipal,
                            org.fcrepo.kernel.api.identifiers.FedoraId fedoraId,
                            List<String> linkHeaders,
                            org.apache.jena.rdf.model.Model model,
                            boolean isOverwrite)
        Specified by:
        perform in interface org.fcrepo.kernel.api.services.CreateResourceService