Class RequestProcessor

java.lang.Object
org.compiere.server.AdempiereServer
org.compiere.server.RequestProcessor
All Implemented Interfaces:
Runnable

public class RequestProcessor extends AdempiereServer
Request Processor
Version:
$Id: RequestProcessor.java,v 1.3 2006/07/30 00:53:33 jjanke Exp $
Author:
Jorg Janke
  • Field Details

  • Constructor Details

    • RequestProcessor

      public RequestProcessor(MRequestProcessor model)
      RequestProcessor
      Parameters:
      model - model
  • Method Details

    • doWork

      protected void doWork()
      Do the actual Work
      Specified by:
      doWork in class AdempiereServer
    • processRequests

      protected void processRequests()
      Process requests. Scheduled - are they due?
    • sendEmail

      protected boolean sendEmail(MRequest request, String AD_Message)
      Send Alert EMail
      Parameters:
      request - request
      AD_Message - message
      Returns:
      true if sent
    • escalate

      protected boolean escalate(MRequest request)
      Escalate
      Parameters:
      request - request
      Returns:
      true if saved
    • processStatus

      protected void processStatus()
      Process Request Status
    • processECR

      protected void processECR()
      Create ECR
    • processEMail

      protected void processEMail()
      Create Reauest / Updates from EMail
    • findSalesRep

      protected void findSalesRep()
      Allocate Sales Rep
    • findSalesRep

      protected int findSalesRep(MRequest request)
      Find SalesRep/User based on Request Type and Question.
      Parameters:
      request - request
      Returns:
      SalesRep_ID user
    • getServerInfo

      public String getServerInfo()
      Get Server Info
      Specified by:
      getServerInfo in class AdempiereServer
      Returns:
      info