Package org.fcrepo.kernel.impl.services
Class CreateResourceServiceImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.services.AbstractService
-
- org.fcrepo.kernel.impl.services.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.
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.services.AbstractService
containmentIndex, fedoraPropsConfig, membershipService, referenceService, searchIndex, userTypesCache
-
-
Constructor Summary
Constructors Constructor Description CreateResourceServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidperform(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)voidperform(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)-
Methods inherited from class org.fcrepo.kernel.impl.services.AbstractService
checkAclLinkHeader, determineInteractionModel, ensureValidACLAuthorization, ensureValidDirectContainer, lockArchivalGroupResource, lockParent, recordEvent, updateReferences
-
-
-
-
Constructor Detail
-
CreateResourceServiceImpl
public CreateResourceServiceImpl()
-
-
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:
performin interfaceorg.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:
performin interfaceorg.fcrepo.kernel.api.services.CreateResourceService
-
-