Interface DbIntegrityValidator
- All Known Implementing Classes:
DefaultDbIntegrityValidatorImpl
public interface DbIntegrityValidator
Defines the operations to validate a database.
- Author:
- joseross
-
Method Summary
Modifier and TypeMethodDescriptionvoid
store
(Connection connection) Generates the validator value for a new database.void
validate
(Connection connection) Checks the validation value for an existing database.
-
Method Details
-
store
Generates the validator value for a new database.- Parameters:
connection
- connection to the database- Throws:
SQLException
- if there is any connection error
-
validate
Checks the validation value for an existing database.- Parameters:
connection
- connection to the database- Throws:
EntitlementException
- if the validation failsSQLException
- if there is any connection error
-