Interface AdempiereProcessor

All Known Implementing Classes:
MAcctProcessor, MAlertProcessor, MIMPProcessor, MLdapProcessor, MRequestProcessor, MScheduler, MWorkflowProcessor

public interface AdempiereProcessor
Background Processor Interface
Version:
$Id: AdempiereProcessor.java,v 1.2 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke
  • Method Details

    • getAD_Client_ID

      int getAD_Client_ID()
      Get Client
      Returns:
      AD_Client_ID
    • getName

      String getName()
      Get Name
      Returns:
      Name
    • getDescription

      String getDescription()
      Get Description
      Returns:
      Description
    • getCtx

      Properties getCtx()
      Get Context
      Returns:
      context
    • getFrequencyType

      String getFrequencyType()
      Get the frequency type
      Returns:
      frequency type
    • getScheduleType

      String getScheduleType()
      Get the schedule type
      Returns:
      schedule type
    • getCronPattern

      String getCronPattern()
      Get the cron pattern
      Returns:
      cron pattern
    • getFrequency

      int getFrequency()
      Get the frequency
      Returns:
      frequency
    • getServerID

      String getServerID()
      Get Unique ID
      Returns:
      Unique ID
    • getDateNextRun

      Timestamp getDateNextRun(boolean requery)
      Get next run date
      Parameters:
      requery - requery database
      Returns:
      date next run
    • setDateNextRun

      void setDateNextRun(Timestamp dateNextWork)
      Set Next Run Date
      Parameters:
      dateNextWork - next work
    • getDateLastRun

      Timestamp getDateLastRun()
      Get Last run date
      Returns:
      date lext run
    • setDateLastRun

      void setDateLastRun(Timestamp dateLastRun)
      Set Last Run Date
      Parameters:
      dateLastRun - last run
    • save

      boolean save()
      Save
      Returns:
      true if saved
    • saveEx

      void saveEx() throws AdempiereException
      Save throwing exception
      Throws:
      AdempiereException
      See Also:
    • getLogs

      Get Processor Logs
      Returns:
      logs