public interface GXIClientBaseObject extends GXIReadOnlyBaseObject
Modifier and Type | Method and Description |
---|---|
GXPathResponse |
executePath(GXPathRequest request)
Executes a path on the host, and returns the response of the path (screens, variables).
|
GXPathResponse |
executePath(String pathName)
Executes a path on the host, and returns the response of the path (screens, variables).
|
GXIProcedureResponse |
executeProcedure(GXIExtendedProcedureRequest request)
Use this method to execute Procedure Clients generated in the current ApplinX version
|
GXIProcedureResponse |
executeProcedure(GXIProcedureRequest request)
Deprecated.
Execute the Procedure client with the
GXIClientBaseObject.executeProcedure(GXIProcedureRequest, String, String) method,
or with the GXIClientBaseObject.executeProcedure(GXIExtendedProcedureRequest) method. |
GXIProcedureResponse |
executeProcedure(GXIProcedureRequest request,
String serviceName,
String methodName)
Use this method in order to execute Procedure Clients generated in ApplinX version 5.x, 8.0 and 8.1
|
GXBook[] |
getPrints()
Gets prints data represented as GXBook(s) print model
GXBook |
GXITable |
getTable()
Deprecated.
Replaced with
GXIClientBaseObject.getScreen().getTable() which returns a table associated with the current screen |
GXITable |
getTable(GXTableRequest request)
Deprecated.
Replaced with
GXIClientBaseObject.executeProcedure which returns structured data. Refer to the documentation for further details. |
GXITable |
getTable(String tableName)
Deprecated.
Replaced with
GXIClientBaseObject.executeProcedure which returns structured data. |
void |
navigateTo(GXNavigateRequest request)
Navigates from the current screen to the destination screen using a given map.
|
void |
refreshScreen()
Refreshes the current local screen that getScreen() returns with contents from the host.
|
void |
sendKeys(GXSendKeysRequest request)
A request that sets input fields, cursor position and sends a key to the
host.
|
void |
sendKeys(String key)
A request that sends a key to the host.
|
getApplicationConfig, getScreen, getScreen, getSeqScreenNumber, getSessionID, isReadOnly
void sendKeys(GXSendKeysRequest request) throws GXConnectionException, GXGeneralException
request
- the sendKeys request.GXConnectionException
- When connection problems occurred between
the client and ApplinX server or the ApplinX server and the host.GXGeneralException
- Other errors.void sendKeys(String key) throws GXConnectionException, GXGeneralException
key
- the host key to send.GXConnectionException
- When connection problems occurred between
the client and ApplinX server or the ApplinX server and the host.GXGeneralException
- Other errors.GXPathResponse executePath(GXPathRequest request) throws GXConnectionException, GXPathException, GXGeneralException
request
- the path request.GXConnectionException
- When connection problems occurred between
the client and ApplinX server or the ApplinX server and the host.GXPathException
- Errors in path execution.GXGeneralException
- Other errors.GXPathResponse executePath(String pathName) throws GXConnectionException, GXPathException, GXGeneralException
pathName
- the name of the path to be executed.GXConnectionException
- When connection problems occurred between
the client and ApplinX server or the ApplinX server and the host.GXPathException
- Errors in path execution.GXGeneralException
- Other errors.GXIProcedureResponse executeProcedure(GXIProcedureRequest request, String serviceName, String methodName) throws GXConnectionException, GXGeneralException
request
- the request object of the method. The class is a generated class of procedure client, e.g: <ProcedureName>RequestGXConnectionException
GXGeneralException
GXIProcedureResponse executeProcedure(GXIProcedureRequest request) throws GXConnectionException, GXGeneralException
GXIClientBaseObject.executeProcedure(GXIProcedureRequest, String, String)
method,
or with the GXIClientBaseObject.executeProcedure(GXIExtendedProcedureRequest)
method.request
- the request object of the method. The class is a generated class of procedure client, e.g: <ProcedureName>RequestGXConnectionException
GXGeneralException
GXIProcedureResponse executeProcedure(GXIExtendedProcedureRequest request) throws GXConnectionException, GXGeneralException
request
- the request object of the method. The class is a generated class of procedure client, e.g: <ProcedureName>RequestGXConnectionException
GXGeneralException
GXITable getTable(GXTableRequest request) throws GXConnectionException, GXGeneralException
GXIClientBaseObject.executeProcedure
which returns structured data. Refer to the documentation for further details.request
- the table request.GXConnectionException
- When connection problems occurred between
the client and ApplinX server or the ApplinX server and the host.GXGeneralException
- Other errors.GXITable getTable(String tableName) throws GXConnectionException, GXGeneralException
GXIClientBaseObject.executeProcedure
which returns structured data.tableName
- the table's name as defined in the ApplinX repository.GXConnectionException
- When connection problems occurred between
the client and ApplinX server or the ApplinX server and the host.GXGeneralException
- Other errors.GXITable getTable() throws GXConnectionException, GXGeneralException
GXIClientBaseObject.getScreen().getTable()
which returns a table associated with the current screenGXConnectionException
- When connection problems occurred between
the client and ApplinX server or the ApplinX server and the host.GXGeneralException
- Other errors.void navigateTo(GXNavigateRequest request) throws GXConnectionException, GXNavigateException, GXGeneralException
request
- the navigation request.GXConnectionException
- When connection problems occurred between
the client and ApplinX server or the ApplinX server and the host.GXNavigateException
- Errors in navigation process.GXGeneralException
- Other errors.void refreshScreen() throws GXConnectionException, GXGeneralException
GXConnectionException
- When connection problems occurred between
the client and ApplinX server or the ApplinX server and the host.GXGeneralException
- Other errors.GXIReadOnlyBaseObject.getScreen()
GXBook[] getPrints() throws GXConnectionException, GXGeneralException
GXBook
GXConnectionException
GXGeneralException
Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.