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 ofFixityService- Author:
- dbernstein, whikloj
-
-
Field Summary
-
Fields inherited from class org.fcrepo.kernel.impl.services.AbstractService
containmentIndex, fedoraPropsConfig, membershipService, referenceService, searchIndex, userTypesCache
-
-
Constructor Summary
Constructors Constructor Description FixityServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.fcrepo.kernel.api.RdfStreamcheckFixity(org.fcrepo.kernel.api.models.Binary binary)Collection<URI>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, lockArchivalGroupResourceFromParent, recordEvent, updateReferences
-
-
-
-
Constructor Detail
-
FixityServiceImpl
public FixityServiceImpl()
-
-
Method Detail
-
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
-
-