Package com.axemble.vdoc.sdk.agent.base
Class BaseAgent
java.lang.Object
com.axemble.vdoc.sdk.agent.base.BaseAgent
Deprecated.
This base class provides direct access to the SDK API.
 It allows creating agents which can be scheduled through the Agent administration user interface.
 The following methods are available:
 - getWorkflowModule() : the module to manipulate the workflow system;
- Version:
- 1.0, 15/04/2008
- Author:
- vlygeros
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract voidexecute()Deprecated.protected final IAgentgetAgent()Deprecated.Allows to retrieve the current agent.protected final ElementDeprecated.Allows to retrieve the configuration of the current agent.protected final IDirectoryModuleDeprecated.Gets the directory module object.protected final DateDeprecated.protected final IPortalModuleDeprecated.Gets the portal module object.protected final IProjectModuleDeprecated.Gets the project module object.protected final IReportDeprecated.protected final IWorkflowModuleDeprecated.Gets the workflow module object.protected final voidprintDebug(String message) Deprecated.Print debug message into the agent administration report tabprotected final voidprintError(String message) Deprecated.Print error message into the agent administration report tabprotected final voidDeprecated.Print information message into the report page of the agent administration tabprotected final voidDeprecated.Print an empty line into the agent administration report tabprotected final voidDeprecated.Print a separator into the agent administration report tabprotected final voidprintSuccess(String message) Deprecated.use printInfo method insteadprotected final voidprintWarning(String message) Deprecated.Print warning message into the agent administration report tabfinal voidrunAgent(com.axemble.vdp.utils.ReportCollector reportCollector, com.axemble.vdoc.agent.domain.Agent agent) Deprecated.
- 
Field Details- 
LOGGERDeprecated.
 
- 
- 
Constructor Details- 
BaseAgentpublic BaseAgent()Deprecated.
 
- 
- 
Method Details- 
runAgentpublic final void runAgent(com.axemble.vdp.utils.ReportCollector reportCollector, com.axemble.vdoc.agent.domain.Agent agent) Deprecated.
- 
executeprotected abstract void execute()Deprecated.
- 
getPortalModuleDeprecated.Gets the portal module object.- Returns:
- A IPortalModuleobject.
 
- 
getDirectoryModuleDeprecated.Gets the directory module object.- Returns:
- A IDirectoryModuleobject.
 
- 
getProjectModuleDeprecated.Gets the project module object.- Returns:
- A IProjectModuleobject.
 
- 
getWorkflowModuleDeprecated.Gets the workflow module object.- Returns:
- A IWorkflowModuleobject.
 
- 
getConfigurationDeprecated.Allows to retrieve the configuration of the current agent.- Returns:
- The org.w3c.dom.Element of the current agent.
 
- 
getAgentDeprecated.Allows to retrieve the current agent.- Returns:
- An IAgentobject.
 
- 
printInfoDeprecated.Print information message into the report page of the agent administration tab- Parameters:
- message- The message to print
 
- 
printErrorDeprecated.Print error message into the agent administration report tab- Parameters:
- message- The message to print
 
- 
printWarningDeprecated.Print warning message into the agent administration report tab- Parameters:
- message- The message to print
 
- 
printSuccessDeprecated.use printInfo method insteadPrint success message into the agent administration report tab- Parameters:
- message- The message to print
 
- 
printSeparatorprotected final void printSeparator()Deprecated.Print a separator into the agent administration report tab
- 
printLineprotected final void printLine()Deprecated.Print an empty line into the agent administration report tab
- 
printDebugDeprecated.Print debug message into the agent administration report tab- Parameters:
- message- The message to print
 
- 
getReportDeprecated.- Returns:
- this agent report collector
 
- 
getLastRunDateDeprecated.- Returns:
- last time this agent was executed
 
 
- 
IAgentProcessingorIStoppableAgentProcessing