Package org.compiere.model
Interface AdempiereProcessor
-
- All Known Implementing Classes:
MAcctProcessor,MAlertProcessor,MIMPProcessor,MLdapProcessor,MRequestProcessor,MScheduler,MWorkflowProcessor
public interface AdempiereProcessorProcessor Interface- Version:
- $Id: AdempiereProcessor.java,v 1.2 2006/07/30 00:51:03 jjanke Exp $
- Author:
- Jorg Janke
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAD_Client_ID()Get ClientStringgetCronPattern()Get the cron patternPropertiesgetCtx()Get ContextTimestampgetDateLastRun()Get the date Last runTimestampgetDateNextRun(boolean requery)Get the date Next runStringgetDescription()Get DescriptionintgetFrequency()Get the frequencyStringgetFrequencyType()Get the frequency typeAdempiereProcessorLog[]getLogs()Get Processor LogsStringgetName()Get NameStringgetScheduleType()Get the schedule typeStringgetServerID()Get Unique IDbooleansave()SavevoidsaveEx()Save throwing exceptionvoidsetDateLastRun(Timestamp dateLastRun)Set Date Last RunvoidsetDateNextRun(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
-
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 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
-
saveEx
void saveEx() throws AdempiereExceptionSave throwing exception- Throws:
AdempiereException- See Also:
save()
-
getLogs
AdempiereProcessorLog[] getLogs()
Get Processor Logs- Returns:
- logs
-
-