Package com.uc4.communication.requests
Class ModifyProcessFlowMonitor
- java.lang.Object
- 
- com.uc4.communication.requests.XMLRequest
- 
- com.uc4.communication.requests.ModifyProcessFlowMonitor
 
 
- 
 public class ModifyProcessFlowMonitor extends XMLRequest Adds a task or changes an existing task in a ProcessFlow monitor which is opened for modification. After this request has been executed an updated ProcessFlow monitor can be retrieved using the methodgetMonitor().
- 
- 
Constructor SummaryConstructors Constructor Description ModifyProcessFlowMonitor(JobPlanMonitor monitor, JobPlanTask add)Adds a task to a ProcessFlow.ModifyProcessFlowMonitor(JobPlanMonitor monitor, JobPlanMonitor.Task mod)Modifies an existing task in the ProcessFlow monitor.ModifyProcessFlowMonitor(JobPlanMonitor monitor, JobPlanMonitor.Task mod, JobPlanMonitor.Task dep)Removes a dependency of a task in the ProcessFlow monitor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)Creates the XML Document for the request.JobPlanMonitorgetMonitor()Returns an updated ProcessFlow monitor after this request has been executed.protected java.lang.StringgetSrc()Returns the request source.protected voidhandleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)Sub classes extract the values from the XML document and provide public getter methods.- 
Methods inherited from class com.uc4.communication.requests.XMLRequestassertClientZero, assertServerVersion, checkClient, checkID, checkLnr, checkNull, checkSelStatisticsPrivilege, checkSystemOverviewPrivilege, checkUC4ObjectEmptyName, checkUC4ObjectName, createNATFor, createNATRequest, emptyAttributes, getAllMessageBoxes, getMessageBox, getRequestID, handleResponse, ignoreMessageBox, isAllowedInClientZero, send, setMessageBox, showQuarantineNotification
 
- 
 
- 
- 
- 
Constructor Detail- 
ModifyProcessFlowMonitorpublic ModifyProcessFlowMonitor(JobPlanMonitor monitor, JobPlanTask add) Adds a task to a ProcessFlow. The added task has no successor or predecessor. The dependencies must be set in a second step using the other constructor of this class.- Parameters:
- monitor- ProcessFlow monitor
- add- Task which should be added.
 
 - 
ModifyProcessFlowMonitorpublic ModifyProcessFlowMonitor(JobPlanMonitor monitor, JobPlanMonitor.Task mod) Modifies an existing task in the ProcessFlow monitor.- Parameters:
- monitor- ProcessFlow monitor
- mod- Modified task
 
 - 
ModifyProcessFlowMonitorpublic ModifyProcessFlowMonitor(JobPlanMonitor monitor, JobPlanMonitor.Task mod, JobPlanMonitor.Task dep) Removes a dependency of a task in the ProcessFlow monitor.- Parameters:
- monitor- ProcessFlow monitor
- mod- Modified task
- dep- Dependency to remove
 
 
- 
 - 
Method Detail- 
getSrcprotected java.lang.String getSrc() Description copied from class:XMLRequestReturns the request source. This method is used internally.- Specified by:
- getSrcin class- XMLRequest
- Returns:
- Source
 
 - 
createRequestprotected void createRequest(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo)Description copied from class:XMLRequestCreates the XML Document for the request. This method is used internally.- Specified by:
- createRequestin class- XMLRequest
- Parameters:
- doc- Document, used to create new Elements
- request- Request Element - classes append information to this request element
- sessionInfo- Information about the session
 
 - 
handleContentprotected void handleContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)Description copied from class:XMLRequestSub classes extract the values from the XML document and provide public getter methods.- Overrides:
- handleContentin class- XMLRequest
- Parameters:
- doc- XML Document
- session- Info about the user session
 
 - 
getMonitorpublic JobPlanMonitor getMonitor() Returns an updated ProcessFlow monitor after this request has been executed. In case of an error or if this request has not been set the return value isnull.- Returns:
- ProcessFlow monitor if successfully executed, otherwise null
 
 
- 
 
-