java.lang.Object
de.hybris.platform.sap.sapordermgmtbol.transaction.salesdocument.backend.util.BackendCallResult

public class BackendCallResult extends Object
Stores the result of a call to the backend. Is evaluated in backend layer implementations e.g. SalesDocumentERP, SalesDocumentCRM
  • Constructor Details

    • BackendCallResult

      public BackendCallResult(BackendCallResult.Result result)
      Stores the result of the back end call.
      Parameters:
      result - the enum value for the success or failure
    • BackendCallResult

      public BackendCallResult()
      The standard constructor will initialize to 'success'!
  • Method Details

    • getResult

      public BackendCallResult.Result getResult()
      Returns:
      result the enum value for the success or failure
    • isFailure

      public boolean isFailure()
      Returns:
      true if the get back end call was failure