org.dspace.checker
Class ChecksumResultDAO

java.lang.Object
  extended by org.dspace.checker.DAOSupport
      extended by org.dspace.checker.ChecksumResultDAO

public final class ChecksumResultDAO
extends DAOSupport

Database Access for the checksum results information.

Author:
Jim Downing, Grace Carpenter, Nathan Sarr

Constructor Summary
ChecksumResultDAO()
          Default constructor
 
Method Summary
 String getChecksumCheckStr(String code)
          Get the result description for the given result code
 List listAllCodes()
          Get a list of all the possible result codes.
 
Methods inherited from class org.dspace.checker.DAOSupport
cleanup, cleanup, cleanup, cleanup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChecksumResultDAO

public ChecksumResultDAO()
Default constructor

Method Detail

getChecksumCheckStr

public String getChecksumCheckStr(String code)
Get the result description for the given result code

Parameters:
code - to get the description for.
Returns:
the found description.

listAllCodes

public List listAllCodes()
Get a list of all the possible result codes.

Returns:
a list of all the result codes


Copyright © 2010 DuraSpace. All Rights Reserved.