Interface MediaLocationHashService
-
- All Known Implementing Classes:
DefaultMediaLocationHashService
public interface MediaLocationHashServiceThis interface allows to generate hashes for folders and locations of media as well to verify them.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringcreateHashForLocation(java.lang.String folderQualifier, java.lang.String location)Creates new hash for location and folderQualifier.voidverifyHashForLocation(java.lang.String hash, java.lang.String folderQualifier, java.lang.String location)Verifies hash against providedfolderQualifierand Medialocation.
-
-
-
Method Detail
-
verifyHashForLocation
void verifyHashForLocation(java.lang.String hash, java.lang.String folderQualifier, java.lang.String location)Verifies hash against providedfolderQualifierand Medialocation.- Parameters:
hash- hash to verify (possibly used in request)folderQualifier- the folder qualifierlocation- the location
-
createHashForLocation
java.lang.String createHashForLocation(java.lang.String folderQualifier, java.lang.String location)Creates new hash for location and folderQualifier.- Parameters:
folderQualifier- the folder qualifierlocation- the Media location- Returns:
- created hash string
-
-