public interface IGraphQLQuery
String getOperationName()
ObjectDataSenderBuilder getQueryObject()
String returnQuery()
String getObjectName()
ObjectDataSenderBuilder.getObjectName()
void setObjectName(String objectName)
ObjectDataSenderBuilder.setObjectName(String)
objectName
- the objectName property from queryObject propertyboolean isHasItems()
ObjectDataSenderBuilder.isHasItems()
ObjectDataSenderBuilder setHasItems(boolean hasItems)
ObjectDataSenderBuilder.setHasItems(boolean)
hasItems
- whether queryObject includes an items level in returned JSONList<String> getFieldsList()
ObjectDataSenderBuilder.getFieldsList()
void setFieldsList(List<String> fieldsList)
ObjectDataSenderBuilder.setFieldsList(List)
fieldsList
- List of String fields in the queryObject of this QueryObjectDataSenderBuilder addField(String field)
ObjectDataSenderBuilder.addField(String)
field
- String field to add to the queryObject of this QueryObjectDataSenderBuilder addField(WWFieldsAttributesInterface field)
ObjectDataSenderBuilder.addField(WWFieldsAttributesInterface)
field
- WWFIeldAttributesInterface field to add to the queryObject of this QueryObjectDataSenderBuilder removeField(String field)
ObjectDataSenderBuilder.removeField(String)
field
- String field to remove from the queryObject of this QueryObjectDataSenderBuilder removeField(WWFieldsAttributesInterface field)
ObjectDataSenderBuilder.removeField(WWFieldsAttributesInterface)
field
- WWFieldsAttributesInterface field to remove from the queryObject of this QueryMap<String,Object> getAttributesList()
ObjectDataSenderBuilder setAttributesList(Map<String,Object> attributesList)
ObjectDataSenderBuilder.setAttributesList(Map)
attributesList
- Map of attributes used to filter the queryObject of this QueryObjectDataSenderBuilder addAttribute(String key, Object value)
ObjectDataSenderBuilder.addAttribute(String, Object)
key
- String, attribute name to filter the queryObject of this Queryvalue
- Object, value to filter the queryObject of this QueryObjectDataSenderBuilder addAttribute(WWFieldsAttributesInterface enumName, Object value) throws WWException
ObjectDataSenderBuilder.addAttribute(WWFieldsAttributesInterface, Object)
enumName
- enum, from which label property will give attribute name to filter the queryObject of this Queryvalue
- Object, value to filter the queryObject of this QueryWWException
- containing an error message, if the value is a different data type to what the enum expectsObjectDataSenderBuilder removeAttribute(String key)
ObjectDataSenderBuilder.removeAttribute(String)
key
- String, attribute name to filter the queryObject of this QueryObjectDataSenderBuilder removeAttribute(WWFieldsAttributesInterface enumName)
ObjectDataSenderBuilder.removeAttribute(WWFieldsAttributesInterface)
enumName
- enum, from which label property will give attribute name to filter the queryObject of this QueryList<IDataSenderBuilder> getChildren()
ObjectDataSenderBuilder.getChildren()
ObjectDataSenderBuilder setChildren(List<IDataSenderBuilder> children)
ObjectDataSenderBuilder.setChildren(List)
children
- List of DataSenderBuilders corresponding to the children of the queryObject of this QueryObjectDataSenderBuilder addChild(IDataSenderBuilder child)
ObjectDataSenderBuilder.addChild(IDataSenderBuilder)
child
- DataSenderBuilder for the child to be added to the queryObject of this QueryObjectDataSenderBuilder removeChild(IDataSenderBuilder child)
ObjectDataSenderBuilder.removeChild(IDataSenderBuilder)
child
- DataSenderBuilder for the child to be removed from the queryObject of this QueryObjectDataSenderBuilder addPageInfo()
ObjectDataSenderBuilder.addPageInfo()
ObjectDataSenderBuilder addPageInfo(ObjectDataSenderBuilder pageInfoCustom)
ObjectDataSenderBuilder.addPageInfo(ObjectDataSenderBuilder)
pageInfoCustom
- ObjectDataSenderBuilder containing the custom pageInfo fields to return from the queryObject of this QueryObjectDataSenderBuilder removePageInfo()
ObjectDataSenderBuilder.removePageInfo()
Copyright © 2018 OpenNTF. All rights reserved.