Package 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getAD_Client_ID()
Get ClientString
getCronPattern()
Get the cron patternProperties
getCtx()
Get ContextTimestamp
getDateLastRun()
Get the date Last runTimestamp
getDateNextRun(boolean requery)
Get the date Next runString
getDescription()
Get Descriptionint
getFrequency()
Get the frequencyString
getFrequencyType()
Get the frequency typeAdempiereProcessorLog[]
getLogs()
Get Processor LogsString
getName()
Get NameString
getScheduleType()
Get the schedule typeString
getServerID()
Get Unique IDboolean
save()
Savevoid
saveEx()
Save throwing exceptionvoid
setDateLastRun(Timestamp dateLastRun)
Set Date Last Runvoid
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
-
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 AdempiereException
Save throwing exception- Throws:
AdempiereException
- See Also:
save()
-
getLogs
AdempiereProcessorLog[] getLogs()
Get Processor Logs- Returns:
- logs
-
-