Package org.dspace.checker
Class ChecksumResultServiceImpl
java.lang.Object
org.dspace.checker.ChecksumResultServiceImpl
- All Implemented Interfaces:
ChecksumResultService
Service implementation for the ChecksumResult object.
This class is responsible for all business logic calls for the ChecksumResult object and is autowired by spring.
This class should never be accessed directly.
- Author:
- kevinvandevelde at atmire.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a list of all the possible result codes.findByCode(Context context, ChecksumResultCode code) Get the result description for the given result code
-
Constructor Details
-
ChecksumResultServiceImpl
protected ChecksumResultServiceImpl()
-
-
Method Details
-
findByCode
Get the result description for the given result code- Specified by:
findByCodein interfaceChecksumResultService- Parameters:
context- Contextcode- to get the description for.- Returns:
- the found description.
- Throws:
SQLException- if database error
-
findAll
Get a list of all the possible result codes.- Specified by:
findAllin interfaceChecksumResultService- Parameters:
context- Context- Returns:
- a list of all the result codes
- Throws:
SQLException- if database error
-