Class DatabaseUsers.RoleFetcher
java.lang.Object
rife.database.DbRowProcessor
rife.authentication.credentialsmanagers.DatabaseUsers.RoleFetcher
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- DatabaseUsers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
processRow
(ResultSet resultSet) This method has to be implemented by each class that extends theDbRowProcessor
class.Methods inherited from class rife.database.DbRowProcessor
clone, wasSuccessful
-
Constructor Details
-
RoleFetcher
-
-
Method Details
-
processRow
Description copied from class:DbRowProcessor
This method has to be implemented by each class that extends theDbRowProcessor
class. It has to contain all the logic that should be executed for each row of a result set.- Specified by:
processRow
in classDbRowProcessor
- Parameters:
resultSet
- theResultSet
instance that was provided to theDbQueryManager
'sfetch
method.- Returns:
true
if the processing is considered successful; orfalse
if the processing is considered failed.Note: this return value is purely indicative and unless the user does checks with the
wasSuccessful()
method, it will have no influence on anything.- Throws:
SQLException
- when a database error occurs, it's thus not necessary to catch all the possibleSQLException
s inside this method. They'll be caught higher up and be transformed inDatabaseException
s.- See Also:
-