Package com.uc4.api.objects
Class Host
- java.lang.Object
-
- com.uc4.api.objects.UC4Object
-
- com.uc4.api.objects.Host
-
public class Host extends UC4Object
An instance of this class represents a single HOST object.
-
-
Constructor Summary
Constructors Constructor Description Host()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostAttributesattributes()Authorizationsauthorizations()Returns the authorization data of this object.java.lang.StringgetSolutionDisplayText()Returns the display name of the RA Agent.java.lang.StringgetSolutionName()Returns the technical name of the RA solution.Headerheader()Returns the header data of this object.booleanisExecutable()Returnstrueif this Object can be executed.protected voidloadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)OCVPanelocvValues()This method provides access to the RA values of the agent panel.SAPAgentPanelsapConnectionPanel()Returns the SAP Agent Panel ornullif this HOST is not an SAP host.protected voidstoreContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)-
Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
-
-
-
-
Method Detail
-
loadContent
protected void loadContent(com.uc4.util.XMLDocument doc, ConnectionAttributes session)
-
getSolutionName
public java.lang.String getSolutionName()
Returns the technical name of the RA solution.- Returns:
- Solution name or null if this is not an RA Agent
-
getSolutionDisplayText
public java.lang.String getSolutionDisplayText()
Returns the display name of the RA Agent.- Returns:
- User friendly name of the RA Solution with lower case characters or null if this is not an RA Agent
-
storeContent
protected void storeContent(com.uc4.util.XMLDocument doc, org.w3c.dom.Element objectElement, ConnectionAttributes sessionInfo)
-
ocvValues
public OCVPanel ocvValues()
This method provides access to the RA values of the agent panel. If this Agent is not a RA Agent the return value isnull.- Returns:
- Values or
nullif this is not an RA Agent.
-
header
public Header header()
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
sapConnectionPanel
public SAPAgentPanel sapConnectionPanel()
Returns the SAP Agent Panel ornullif this HOST is not an SAP host. This returned object can be used to read an set SAP Connection Objects for this HOST.- Returns:
- SAP Agent Panel or null
-
authorizations
public Authorizations authorizations()
Returns the authorization data of this object. This is the information of the authorization tab in the dialog client. The authorizations can only be read and set in client 0. This method returnsnullif it's called in a client other than 0.- Returns:
- Authorizations object or null if the object is not in client 0.
-
attributes
public HostAttributes attributes()
- Returns:
- Attributes of this HOST object
-
isExecutable
public boolean isExecutable()
Description copied from class:UC4ObjectReturnstrueif this Object can be executed.- Specified by:
isExecutablein classUC4Object- Returns:
- true if the Object can be executed, false if not.
-
-