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
This is the base class of all the Automation Engine objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondocu()
This method provides access to the text and structured documentation of an object.Returns if this object is opened read only.getIdnr()
Returns the ID of the object.int
Returns the modification count of the object.getName()
Returns the name of the object.int
Returns the client where the object is located.getType()
Returns the type of the object, for example JOBP, VARA or SCRI.abstract boolean
Returnstrue
if this Object can be executed.boolean
Returnstrue
if the opened object is actually an older version of an object.void
load
(com.uc4.util.XMLDocument doc, ConnectionAttributes session) Fills the object from a XML document.void
store
(com.uc4.util.XMLDocument doc, Element request, ConnectionAttributes sessionInfo, boolean override) Fills the XML document with the values from the object.void
validate()
Validates the object.
-
Constructor Details
-
UC4Object
public UC4Object()
-
-
Method Details
-
getName
Returns the name of the object.- Returns:
- name
-
getIdnr
Returns the ID of the object.- Returns:
- ID
-
getObjectClient
public int getObjectClient()Returns the client where the object is located.- Returns:
- client
-
getType
Returns the type of the object, for example JOBP, VARA or SCRI.- Returns:
- type
-
docu
This method provides access to the text and structured documentation of an object.- Returns:
- Documentation
-
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()Returnstrue
if this Object can be executed.- Returns:
- true if the Object can be executed, false if not.
-
validate
Validates the object. If the object is not valid anInvalidObjectException
is thrown.- Throws:
InvalidObjectException
- If the object is not valid
-
load
Fills the object from a XML document.- Parameters:
doc
- XML Documentsession
- Session information
-
store
public void store(com.uc4.util.XMLDocument doc, 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()Returnstrue
if 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.
-