Interface InvalidModelHandler


  • public interface InvalidModelHandler
    Fixes invalid model. All fixes must be done in transaction.
    • Method Detail

      • handleInvalidElements

        InvalidModelHandler.Result handleInvalidElements​(java.util.Collection<ModelValidationResult> elements)
        Fixes given validation problems.
        Parameters:
        elements -
        Returns:
        result of fixing. If fixing was done by modifying model Result.FIXED should be return. If undo must be done Result.ROLLBACK_TRANSACTION must be return, in case of failure Result.UNABLE_TO_FIX must be return.