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.intReturns the modification count of the object.getName()Returns the name of the object.intReturns the client where the object is located.getType()Returns the type of the object, for example JOBP, VARA or SCRI.abstract booleanReturnstrueif this Object can be executed.booleanReturnstrueif 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, Element request, ConnectionAttributes sessionInfo, boolean override) Fills the XML document with the values from the object.voidvalidate()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()Returnstrueif 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 anInvalidObjectExceptionis 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()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.
-