Package com.uc4.api.objects
Class UC4Object
- java.lang.Object
-
- com.uc4.api.objects.UC4Object
-
- Direct Known Subclasses:
AgentAssignment,Calendar,Client,Cockpit,CodeTable,ConsoleEvent,Dashboard,DatabaseConnection,DatabaseEvent,Documentation,FileEvent,FileTransfer,Group,Host,HostGroup,Include,Job,JobPlan,Login,Notification,OutputFilter,Period,PromptSet,PSRemoteTaskManager,Queue,RAConnection,RASolution,RuleEvent,SAPConnection,SAPQueueManager,Schedule,Script,Server,ServiceLevelObjective,Storage,Stylesheet,Sync,TimeEvent,TimeZone,User,UserGroup,Variable,WorkflowIF,WorkflowLoop,XRequest
public abstract class UC4Object extends java.lang.ObjectThis is the base class of all the Automation Engine objects.
-
-
Constructor Summary
Constructors Constructor Description UC4Object()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DocuContainerdocu()This method provides access to the text and structured documentation of an object.java.lang.StringgetAccess()Returns if this object is opened read only.java.lang.StringgetIdnr()Returns the ID of the object.intgetModCount()Returns the modification count of the object.java.lang.StringgetName()Returns the name of the object.java.lang.StringgetType()Returns the type of the object, for example JOBP, VARA or SCRI.abstract booleanisExecutable()Returnstrueif this Object can be executed.booleanisOldVersion()Returnstrueif the opened object is actually an older version of an object.voidload(com.uc4.util.XMLDocument doc, ConnectionAttributes session)Fills the object from a XML document.voidstore(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo, boolean override)Fills the XML document with the values from the object.voidvalidate()Validates the object.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of the object.- Returns:
- name
-
getIdnr
public java.lang.String getIdnr()
Returns the ID of the object.- Returns:
- ID
-
getType
public java.lang.String getType()
Returns the type of the object, for example JOBP, VARA or SCRI.- Returns:
- type
-
docu
public DocuContainer docu()
This method provides access to the text and structured documentation of an object.- Returns:
- Documentation
-
getAccess
public java.lang.String getAccess()
Returns if this object is opened read only.- Returns:
- String containing the access field
-
getModCount
public int getModCount()
Returns the modification count of the object.- Returns:
- modification count
-
isExecutable
public abstract boolean isExecutable()
Returnstrueif this Object can be executed.- Returns:
- true if the Object can be executed, false if not.
-
validate
public void validate() throws java.io.InvalidObjectExceptionValidates the object. If the object is not valid anInvalidObjectExceptionis thrown.- Throws:
java.io.InvalidObjectException- If the object is not valid
-
load
public void load(com.uc4.util.XMLDocument doc, ConnectionAttributes session)Fills the object from a XML document.- Parameters:
doc- XML Documentsession- Session information
-
store
public void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request, ConnectionAttributes sessionInfo, boolean override)Fills the XML document with the values from the object.- Parameters:
doc- XML documentrequest- Request elementsessionInfo- Information about the current sessionoverride- Override existing object
-
isOldVersion
public boolean isOldVersion()
Returnstrueif the opened object is actually an older version of an object.- Returns:
- true if the opened object is actually an older version of an object.
-
-