|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.openeai.OpenEaiObject
|
+--org.openeai.afa.ScheduledCommandImpl
This is the parent class of all ScheduledCommands. These commands are Java components that are used to execute specific business logic associated to a given Schedule. It provides convenience methods for its decendants.
Schedule,
ScheduledCommand| Field Summary |
| Fields inherited from class org.openeai.OpenEaiObject |
logger |
| Constructor Summary | |
ScheduledCommandImpl(CommandConfig cConfig)
Constructor |
|
| Method Summary | |
protected Error |
buildError(java.lang.String errType,
java.lang.String errNumber,
java.lang.String errDescription)
Builds a single Error object that can be added to the ArrayList of errors (or for any other reason) to pass to the publishSyncError method. |
AppConfig |
getAppConfig()
Get AppConfig associated to this command. |
protected org.jdom.Element |
getControlArea(org.jdom.Element root)
This method looks at the document and returns the appropriate ControlArea. |
protected boolean |
getInboundXmlValidation()
Get inbound xml validation. |
protected boolean |
getOutboundXmlValidation()
Get outbound xml validation. |
PubSubProducer |
getSyncErrorPublisher()
Get SyncErrorPublisher associated to this command. |
protected java.lang.String |
getSyncErrorSyncPrimedDocumentUri()
Returns the SyncErrorSync primed document that will be used if this ScheduledCommand needs to publish a Sync-Error-Sync messages if errors occur during the execution of the command. |
protected void |
publishSyncError(java.lang.String action,
java.util.List errors)
This method is used to publish a Sync-Error-Sync message when/if the ScheduledCommand has any errors during processing (during the 'execute' method). |
protected void |
publishSyncError(java.lang.String action,
java.util.List errors,
java.lang.Throwable e)
This method is used to publish a Sync-Error-Sync message when/if the ScheduledCommand has any errors during processing (during the 'execute' method). |
protected void |
setAppConfig(AppConfig aConfig)
Set AppConfig associated to this command. |
protected void |
setInboundXmlValidation(boolean validate)
Set inbound xml validation. |
protected void |
setOutboundXmlValidation(boolean validate)
Set outbound xml validation. |
protected void |
setSyncErrorSyncPrimedDocumentUri(java.lang.String uri)
Sets the SyncErrorSync primed document that will be used if this ScheduledCommand needs to publish a Sync-Error-Sync messages if errors occur during the execution of the command. |
| Methods inherited from class org.openeai.OpenEaiObject |
addLog4jProperty, getAppName, getDebug, getFromAddr, getLog4jProperties, getMailHost, getMailService, getProperties, getToAddr, initializeLog4j, initializeLog4j, initializeLog4j, setAppName, setDebug, setFromAddr, setMailHost, setMailService, setProperties, setToAddr |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ScheduledCommandImpl(CommandConfig cConfig)
throws java.lang.InstantiationException
| Method Detail |
protected void setInboundXmlValidation(boolean validate)
protected boolean getInboundXmlValidation()
protected void setOutboundXmlValidation(boolean validate)
protected boolean getOutboundXmlValidation()
public final PubSubProducer getSyncErrorPublisher()
protected void setAppConfig(AppConfig aConfig)
public final AppConfig getAppConfig()
protected java.lang.String getSyncErrorSyncPrimedDocumentUri()
protected void setSyncErrorSyncPrimedDocumentUri(java.lang.String uri)
protected void publishSyncError(java.lang.String action,
java.util.List errors,
java.lang.Throwable e)
protected void publishSyncError(java.lang.String action,
java.util.List errors)
protected Error buildError(java.lang.String errType,
java.lang.String errNumber,
java.lang.String errDescription)
protected org.jdom.Element getControlArea(org.jdom.Element root)
root - org.jdom.Element the root element of the document
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||