Interface ICreationActionResult

All Known Implementing Classes:
CreationActionResult

public interface ICreationActionResult
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addError(com.persequor.extension.frontend.IString error)
    Add an error during creation/storing of the model, used if the input data is not valid.
    boolean
    Get whether any errors occurred during creation/storing of the model.
  • Method Details

    • hasErrors

      boolean hasErrors()
      Get whether any errors occurred during creation/storing of the model.
      Returns:
      - true if errors occurred, false otherwise.
    • addError

      void addError(com.persequor.extension.frontend.IString error)
      Add an error during creation/storing of the model, used if the input data is not valid. Setting an error will prohibit the creation/saving of the model.
      Parameters:
      error - - the error message to add.