Package org.fcrepo.kernel.impl.services
Class FixityServiceImpl
java.lang.Object
org.fcrepo.kernel.impl.services.AbstractService
org.fcrepo.kernel.impl.services.FixityServiceImpl
- All Implemented Interfaces:
org.fcrepo.kernel.api.services.FixityService
@Component
public class FixityServiceImpl
extends AbstractService
implements org.fcrepo.kernel.api.services.FixityService
Implementation of
FixityService- Author:
- dbernstein, whikloj
-
Field Summary
Fields inherited from class org.fcrepo.kernel.impl.services.AbstractService
containmentIndex, fedoraPropsConfig, membershipService, referenceService, searchIndex, userTypesCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.fcrepo.kernel.api.RdfStreamcheckFixity(org.fcrepo.kernel.api.models.Binary binary) getFixity(org.fcrepo.kernel.api.models.Binary binary, Collection<String> algorithms) Methods inherited from class org.fcrepo.kernel.impl.services.AbstractService
checkAclLinkHeader, determineInteractionModel, ensureValidACLAuthorization, ensureValidDirectContainer, lockArchivalGroupResource, lockParent, recordEvent, updateReferences
-
Constructor Details
-
FixityServiceImpl
public FixityServiceImpl()
-
-
Method Details
-
getFixity
public Collection<URI> getFixity(org.fcrepo.kernel.api.models.Binary binary, Collection<String> algorithms) throws org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException - Specified by:
getFixityin interfaceorg.fcrepo.kernel.api.services.FixityService- Throws:
org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException
-
checkFixity
public org.fcrepo.kernel.api.RdfStream checkFixity(org.fcrepo.kernel.api.models.Binary binary) throws org.fcrepo.kernel.api.exception.InvalidChecksumException - Specified by:
checkFixityin interfaceorg.fcrepo.kernel.api.services.FixityService- Throws:
org.fcrepo.kernel.api.exception.InvalidChecksumException
-