Adempiere 3.5.2a

org.compiere.model
Interface AdempiereProcessor

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

public interface AdempiereProcessor

Processor Interface

Version:
$Id: AdempiereProcessor.java,v 1.2 2006/07/30 00:51:03 jjanke Exp $
Author:
Jorg Janke

Method Summary
 int getAD_Client_ID()
          Get Client
 Properties getCtx()
          Get Context
 Timestamp getDateLastRun()
          Get the date Last run
 Timestamp getDateNextRun(boolean requery)
          Get the date Next run
 String getDescription()
          Get Description
 int getFrequency()
          Get the frequency
 String getFrequencyType()
          Get the frequency type
 AdempiereProcessorLog[] getLogs()
          Get Processor Logs
 String getName()
          Get Name
 String getServerID()
          Get Unique ID
 boolean save()
          Save
 void setDateLastRun(Timestamp dateLastRun)
          Set Date Last Run
 void setDateNextRun(Timestamp dateNextWork)
          Set Date Next Run
 

Method Detail

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

getFrequency

int getFrequency()
Get the frequency

Returns:
frequency

getServerID

String getServerID()
Get Unique ID

Returns:
Unique ID

getDateNextRun

Timestamp getDateNextRun(boolean requery)
Get the date Next run

Parameters:
requery - requery database
Returns:
date next run

setDateNextRun

void setDateNextRun(Timestamp dateNextWork)
Set Date Next Run

Parameters:
dateNextWork - next work

getDateLastRun

Timestamp getDateLastRun()
Get the date Last run

Returns:
date lext run

setDateLastRun

void setDateLastRun(Timestamp dateLastRun)
Set Date Last Run

Parameters:
dateLastRun - last run

save

boolean save()
Save

Returns:
true if saved

getLogs

AdempiereProcessorLog[] getLogs()
Get Processor Logs

Returns:
logs

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.