Interface LCMatchingProcessCheck


  • public interface LCMatchingProcessCheck
    Define needed checks for Landed Cost Matching 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​(LandedCostCost lcCost, 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​(LandedCostCost lcCost,
                     org.codehaus.jettison.json.JSONObject message)
              throws OBException
        This method executes the needed checks to the landed cost when the process starts.
        Parameters:
        lcCost - 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.