Package org.fcrepo.kernel.impl.services
Class VersionServiceImpl
- java.lang.Object
-
- org.fcrepo.kernel.impl.services.AbstractService
-
- org.fcrepo.kernel.impl.services.VersionServiceImpl
-
- All Implemented Interfaces:
VersionService
@Component public class VersionServiceImpl extends AbstractService implements VersionService
Implementation ofVersionService
- Author:
- dbernstein
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.services.AbstractService
containmentIndex, fedoraPropsConfig, membershipService, referenceService, searchIndex, userTypesCache
-
Fields inherited from interface org.fcrepo.kernel.api.services.VersionService
MEMENTO_LABEL_FORMATTER, MEMENTO_RFC_1123_FORMATTER
-
-
Constructor Summary
Constructors Constructor Description VersionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createVersion(Transaction transaction, FedoraId fedoraId, String userPrincipal)
Explicitly creates a version for the resource at the path provided.-
Methods inherited from class org.fcrepo.kernel.impl.services.AbstractService
checkAclLinkHeader, determineInteractionModel, ensureValidACLAuthorization, ensureValidDirectContainer, lockArchivalGroupResource, lockParent, recordEvent, updateReferences
-
-
-
-
Constructor Detail
-
VersionServiceImpl
public VersionServiceImpl()
-
-
Method Detail
-
createVersion
public void createVersion(Transaction transaction, FedoraId fedoraId, String userPrincipal)
Description copied from interface:VersionService
Explicitly creates a version for the resource at the path provided.- Specified by:
createVersion
in interfaceVersionService
- Parameters:
transaction
- the transaction in which the resource residesfedoraId
- the internal resource iduserPrincipal
- the user principal
-
-