public class GetEntities extends Object
addFields(String...)
method should be used. @see here for more information| Modifier and Type | Field and Description |
|---|---|
protected OctaneRequest |
octaneRequest |
| Constructor and Description |
|---|
GetEntities(OctaneHttpClient octaneHttpClient,
String urlDomain) |
| Modifier and Type | Method and Description |
|---|---|
GetEntities |
addFields(String... fields)
Add Fields parameters
|
GetEntities |
addOrderBy(String orderBy,
boolean asc)
Add OrderBy parameters
|
GetEntities |
addPath(String path)
Append a new path element, for special cases
|
OctaneCollection<EntityModel> |
execute()
1.
|
OctaneCollection<EntityModel> |
execute(APIMode apiMode)
1.
|
GetEntities |
limit(int limit)
Add Limit parameter
|
GetEntities |
offset(int offset)
Add offset parameter
|
GetEntities |
query(Query query) |
protected final OctaneRequest octaneRequest
public GetEntities(OctaneHttpClient octaneHttpClient, String urlDomain)
public OctaneCollection<EntityModel> execute()
public OctaneCollection<EntityModel> execute(APIMode apiMode)
public GetEntities addFields(String... fields)
fields - An array of fields that will be part of the HTTP Requestpublic GetEntities limit(int limit)
limit - The entity limitpublic GetEntities offset(int offset)
offset - The entity limit offsetpublic GetEntities addOrderBy(String orderBy, boolean asc)
orderBy - The string which determines how the entities should be orderedasc - - true=ascending/false=descendingpublic GetEntities query(Query query)
query - The query to usepublic GetEntities addPath(String path)
path - The new path section to be addedCopyright © 2021 Micro Focus. All rights reserved.