public class PeopleGraphQLQuery extends BaseGraphQLQuery
Modifier and Type | Class and Description |
---|---|
static class |
PeopleGraphQLQuery.PeopleAttributes |
Constructor and Description |
---|
PeopleGraphQLQuery()
Creates a People query with a blank ObjectDataSenderBuilder query object
|
PeopleGraphQLQuery(ObjectDataSenderBuilder query)
Creates a People query with a pre-populated ObjectDataSenderBuilder query object
|
PeopleGraphQLQuery(String operationName,
ObjectDataSenderBuilder query)
Creates a People query with a passed operation name and pre-populated ObjectDataSenderBuilder query object
|
Modifier and Type | Method and Description |
---|---|
static PeopleGraphQLQuery |
buildPersonQueryById(List<String> personId)
Builds a People query based on a List of IDs of person entries
|
static PeopleGraphQLQuery |
buildPersonQueryByName(String personName)
Builds a People query based on a word in a person's name
|
addAttribute, addAttribute, addChild, addField, addField, addPageInfo, addPageInfo, getAttributesList, getChildren, getFieldsList, getObjectName, getOperationName, getQueryObject, hashCode, isHasItems, removeAttribute, removeAttribute, removeChild, removeField, removeField, removePageInfo, returnQuery, setAttributesList, setChildren, setFieldsList, setHasItems, setObjectName
public PeopleGraphQLQuery()
public PeopleGraphQLQuery(ObjectDataSenderBuilder query)
query
- ObjectDataSenderBuilder containing query optionspublic PeopleGraphQLQuery(String operationName, ObjectDataSenderBuilder query)
operationName
- String operation name, e.g. METHODquery
- ObjectDataSenderBuilder containing the query settingspublic static PeopleGraphQLQuery buildPersonQueryById(List<String> personId) throws WWException
personId
- List of String person IDsWWException
- containing an error message, if the request was unsuccessfulpublic static PeopleGraphQLQuery buildPersonQueryByName(String personName) throws WWException
personName
- String, part of a person's nameWWException
- containing an error message, if the request was unsuccessfulCopyright © 2018 OpenNTF. All rights reserved.