Interface LandedCostProcessCheck


  • public interface LandedCostProcessCheck
    Define needed checks for Landed Cost process. Note that classes implementing this interface should be annotated as @ApplicationScoped.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void doCheck​(LandedCost landedCost, org.codehaus.jettison.json.JSONObject message)
      This method executes the needed checks to the landed cost when the process starts.
    • Method Detail

      • doCheck

        void doCheck​(LandedCost landedCost,
                     org.codehaus.jettison.json.JSONObject message)
              throws OBException
        This method executes the needed checks to the landed cost when the process starts.
        Parameters:
        landedCost - the Landed Cost being processed.
        message - a JSONObject with the message that is returned to the user.
        Throws:
        OBException - when any check fails ant the process is required to stop.