Package com.boomi.connector.testutil
Class SimpleQueryRequest
- java.lang.Object
-
- com.boomi.connector.testutil.SimpleQueryRequest
-
- All Implemented Interfaces:
OperationRequest
,QueryRequest
public class SimpleQueryRequest extends Object implements QueryRequest
SimpleOperationRequest
for testingOperationType.QUERY
operations.
-
-
Constructor Summary
Constructors Constructor Description SimpleQueryRequest(FilterData filter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExecutionId()
Get the id for the current process execution.FilterData
getFilter()
Returns the tracked query filter describing the objects to be retrieved.String
getProcessId()
Retrieves the current process id.String
getTopLevelExecutionId()
Get the top level execution id for the current executionString
getTopLevelProcessId()
Retrieves the top level process id-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.boomi.connector.api.OperationRequest
getExecutionId, getProcessId, getTopLevelExecutionId, getTopLevelProcessId
-
-
-
-
Constructor Detail
-
SimpleQueryRequest
public SimpleQueryRequest(FilterData filter)
-
-
Method Detail
-
getFilter
public FilterData getFilter()
Description copied from interface:QueryRequest
Returns the tracked query filter describing the objects to be retrieved. The actual QueryFilter may benull
(generally in start shapes), which indicates that all objects of the relevant type should be retrieved.- Specified by:
getFilter
in interfaceQueryRequest
-
getProcessId
public String getProcessId()
Description copied from interface:OperationRequest
Retrieves the current process id. This may be a sub-execution and differ fromOperationRequest.getTopLevelProcessId()
- Specified by:
getProcessId
in interfaceOperationRequest
- Returns:
- the current process component id
-
getTopLevelProcessId
public String getTopLevelProcessId()
Description copied from interface:OperationRequest
Retrieves the top level process id- Specified by:
getTopLevelProcessId
in interfaceOperationRequest
- Returns:
- the top level process component id
-
getExecutionId
public String getExecutionId()
Description copied from interface:OperationRequest
Get the id for the current process execution. This may be a sub-execution and differ fromOperationRequest.getTopLevelExecutionId()
- Specified by:
getExecutionId
in interfaceOperationRequest
- Returns:
- the execution id
-
getTopLevelExecutionId
public String getTopLevelExecutionId()
Description copied from interface:OperationRequest
Get the top level execution id for the current execution- Specified by:
getTopLevelExecutionId
in interfaceOperationRequest
- Returns:
- the top level execution id
-
-