public class SpaceUpdateGraphQLMutation extends BaseGraphQLMutation
Modifier and Type | Class and Description |
---|---|
static class |
SpaceUpdateGraphQLMutation.UpdateSpaceFields |
static class |
SpaceUpdateGraphQLMutation.UpdateSpaceMemberOperation |
Modifier and Type | Field and Description |
---|---|
static String |
MEMBER_IDS_CHANGED_FIELD |
Constructor and Description |
---|
SpaceUpdateGraphQLMutation()
Creates a createSpace mutation with empty InputDataSenderBuilder and ObjectDataSenderBuilder objects for the mutation
|
SpaceUpdateGraphQLMutation(InputDataSenderBuilder input)
Creates a createSpace query with pre-populated InputDataSenderBuilder objects
|
SpaceUpdateGraphQLMutation(InputDataSenderBuilder input,
IDataSenderBuilder... returnObject)
Creates a createSpace query with pre-populated InputDataSenderBuilder and ObjectDataSenderBuilder objects
|
SpaceUpdateGraphQLMutation(InputDataSenderBuilder input,
IDataSenderBuilder returnObject)
Creates a createSpace query with pre-populated InputDataSenderBuilder and ObjectDataSenderBuilder objects
|
Modifier and Type | Method and Description |
---|---|
static SpaceUpdateGraphQLMutation |
buildUpdateSpaceMutationChangeMembers(String id,
List<String> members,
SpaceUpdateGraphQLMutation.UpdateSpaceMemberOperation addOrRemove)
Easy method to create a basic CreateSpace mutation ObjectDataSenderBuilder for a list of members
|
static SpaceUpdateGraphQLMutation |
buildUpdateSpaceMutationChangeTitle(String id,
String title)
Easy method to creaate a basic UpdateSpace mutation ObjectDataSenderBuilder for a new Space title
|
static SpaceUpdateGraphQLMutation |
buildUpdateSpaceMutationChangeTitleAndMembers(String id,
String title,
List<String> members,
SpaceUpdateGraphQLMutation.UpdateSpaceMemberOperation addOrRemove)
Easy method to create a basic CreateSpace mutation ObjectDataSenderBuilder for a new Space title and list of members
|
addInputField, addInputField, addReturnChild, addReturnField, addReturnField, addReturnObject, getFirstReturnObject, getInputFieldsMap, getInputObject, getOperationName, getReturnChildren, getReturnFieldsList, getReturnObjectName, getReturnObjects, hashCode, removeInputField, removeInputField, removeReturnChild, removeReturnField, removeReturnField, removeReturnObject, returnQuery, setInputFieldsMap, setReturnChildren, setReturnFieldsList, setReturnObjectName
public static final String MEMBER_IDS_CHANGED_FIELD
public SpaceUpdateGraphQLMutation()
public SpaceUpdateGraphQLMutation(InputDataSenderBuilder input)
input
- InputDataSenderBuilder containing the query space creation criteriapublic SpaceUpdateGraphQLMutation(InputDataSenderBuilder input, IDataSenderBuilder returnObject)
input
- InputDataSenderBuilder containing the space creation criteriareturnObject
- ObjectDataSenderBuilder containing the query settingspublic SpaceUpdateGraphQLMutation(InputDataSenderBuilder input, IDataSenderBuilder... returnObject)
input
- InputDataSenderBuilder containing the space creation criteriareturnObject
- ObjectDataSenderBuilders containing the query settingspublic static SpaceUpdateGraphQLMutation buildUpdateSpaceMutationChangeTitle(String id, String title) throws WWException
id
- String id for the Space to updatetitle
- String new title for the SpaceWWException
- if title is missingpublic static SpaceUpdateGraphQLMutation buildUpdateSpaceMutationChangeTitleAndMembers(String id, String title, List<String> members, SpaceUpdateGraphQLMutation.UpdateSpaceMemberOperation addOrRemove) throws WWException
id
- String id for the Space to updatetitle
- String title of the newly-created Spacemembers
- List of member IDs to add / remove as membersaddOrRemove
- UpdateSpaceMemberOperation enum whether members should be added to the Space or removedWWException
- if title or members are missingpublic static SpaceUpdateGraphQLMutation buildUpdateSpaceMutationChangeMembers(String id, List<String> members, SpaceUpdateGraphQLMutation.UpdateSpaceMemberOperation addOrRemove) throws WWException
id
- String id for the Space to updatemembers
- List of member IDs to add / remove as membersaddOrRemove
- UpdateSpaceMemberOperation whether members should be added to the Space or removedWWException
- if title or members are missingCopyright © 2018 OpenNTF. All rights reserved.