public class ObjectFactory
extends java.lang.Object
Constructor and Description |
---|
ObjectFactory() |
Modifier and Type | Method and Description |
---|---|
protected CockpitDesign |
createCockpitDesign(com.uc4.util.XMLDocument doc)
Internal use, creates a CockpitDesign object.
|
protected DocuContainer |
createDocuContainer(com.uc4.util.XMLDocument doc)
Internal use, creates a new docu container
|
static JobPlanTask |
createExternalWorkflowTask(UC4ObjectName name,
UC4ObjectName externalParent)
Creates a new external Workflow task.
|
protected ObjectAuthorizations |
createObjectAuthorizations(com.uc4.util.XMLDocument doc)
Internal use, creates a ObjectAuthorizations object
|
protected TimeZoneAttributes |
createTimeZoneAttributes(com.uc4.util.XMLDocument doc)
Internal use, creates a TimeZoneAttributes object.
|
static JobPlanTask |
createWorkflowTask(UC4ObjectName name,
java.lang.String objectType)
Creates a new Workflow task.
|
protected void |
incModCnt(UC4Object obj)
Internal use to increment the modification count of an UC4Object.
|
protected java.util.List<PromptElement> |
loadPromptElements(org.w3c.dom.Element promptElementRoot,
boolean isExecutionMode)
Internal use, load promptElements
|
protected void |
saveObjectAuthorizations(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element element,
ObjectAuthorizations authorizations)
Internal use to save the ObjectAuthorizations as SetObjectPropertiesRequest.
|
protected void |
setModCnt(UC4Object obj,
java.lang.String modCount)
Internal use to set the modification count of an UC4Object.
|
protected UC4Object |
updateUC4Object(UC4Object obj,
java.lang.String idnr,
java.lang.String name,
java.lang.String modcnt)
Internal use, update idnr, name and modcnt of an UC4Object.
|
public static JobPlanTask createWorkflowTask(UC4ObjectName name, java.lang.String objectType)
name
- Name of the taskobjectType
- Object typepublic static JobPlanTask createExternalWorkflowTask(UC4ObjectName name, UC4ObjectName externalParent)
name
- Name of the taskexternalParent
- Name of the parentprotected java.util.List<PromptElement> loadPromptElements(org.w3c.dom.Element promptElementRoot, boolean isExecutionMode)
element
- DOM elementisExecutionMode
- Execution Modeprotected UC4Object updateUC4Object(UC4Object obj, java.lang.String idnr, java.lang.String name, java.lang.String modcnt)
object
- idnr
- name
- modcnt
- protected ObjectAuthorizations createObjectAuthorizations(com.uc4.util.XMLDocument doc)
doc
- XMLDocumentprotected void saveObjectAuthorizations(com.uc4.util.XMLDocument doc, org.w3c.dom.Element element, ObjectAuthorizations authorizations)
doc
- element
- authorizations
- protected void incModCnt(UC4Object obj)
obj
- UC4Objectprotected void setModCnt(UC4Object obj, java.lang.String modCount)
obj
- UC4ObjectmodCount
- Modification countprotected CockpitDesign createCockpitDesign(com.uc4.util.XMLDocument doc)
doc
- XMLDocmuentprotected DocuContainer createDocuContainer(com.uc4.util.XMLDocument doc)
doc
- XMLDocumentprotected TimeZoneAttributes createTimeZoneAttributes(com.uc4.util.XMLDocument doc)
doc
- XMLDocument