Class WorkflowGraphQuery
- java.lang.Object
-
- com.shopify.graphql.support.AbstractQuery<WorkflowGraphQuery>
-
- org.topbraidlive.client.java.graphql.platform.WorkflowGraphQuery
-
public class WorkflowGraphQuery extends AbstractQuery<WorkflowGraphQuery>
A graph managed by a TopBraid workflow and working copy that is based on a master graph but may contain additional changes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classWorkflowGraphQuery.CreationTimeStampArgumentsstatic interfaceWorkflowGraphQuery.CreationTimeStampArgumentsDefinitionclassWorkflowGraphQuery.CreatorArgumentsstatic interfaceWorkflowGraphQuery.CreatorArgumentsDefinitionclassWorkflowGraphQuery.DescriptionArgumentsstatic interfaceWorkflowGraphQuery.DescriptionArgumentsDefinitionclassWorkflowGraphQuery.IdArgumentsstatic interfaceWorkflowGraphQuery.IdArgumentsDefinitionclassWorkflowGraphQuery.MasterGraphArgumentsstatic interfaceWorkflowGraphQuery.MasterGraphArgumentsDefinition
-
Field Summary
-
Fields inherited from class com.shopify.graphql.support.AbstractQuery
_queryBuilder, ALIAS_SUFFIX_SEPARATOR, CUSTOM_FIELD_LABEL
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowGraphQueryaddFragmentReference(Fragment<WorkflowGraphQuery> fragment)Adds aWorkflowGraphQueryfragment reference at the current position of the query.static Fragment<WorkflowGraphQuery>createFragment(String name, WorkflowGraphQueryDefinition queryDef)Creates a GraphQL "named" fragment with the specified query type definition.WorkflowGraphQuerycreationTimeStamp()The time stamp that this graph was created (if known).WorkflowGraphQuerycreationTimeStamp(WorkflowGraphQuery.CreationTimeStampArgumentsDefinition argsDef)The time stamp that this graph was created (if known).WorkflowGraphQuerycreator(UserQueryDefinition queryDef)The user who created this graph (if known).WorkflowGraphQuerycreator(WorkflowGraphQuery.CreatorArgumentsDefinition argsDef, UserQueryDefinition queryDef)The user who created this graph (if known).WorkflowGraphQuerydescription()A human-readable description of the graph (in the user's preferred language).WorkflowGraphQuerydescription(WorkflowGraphQuery.DescriptionArgumentsDefinition argsDef)A human-readable description of the graph (in the user's preferred language).WorkflowGraphQueryid()The id of the working copy.WorkflowGraphQueryid(WorkflowGraphQuery.IdArgumentsDefinition argsDef)The id of the working copy.WorkflowGraphQuerylabel()A human-readable display label.WorkflowGraphQuerymasterGraph(MasterGraphQueryDefinition queryDef)The master graph that this is based on.WorkflowGraphQuerymasterGraph(WorkflowGraphQuery.MasterGraphArgumentsDefinition argsDef, MasterGraphQueryDefinition queryDef)The master graph that this is based on.WorkflowGraphQueryResults(_ValidationResultQueryDefinition queryDef)The (validation) results for the surrounding object, e.g.WorkflowGraphQuerytype(_ResourceQueryDefinition queryDef)The types of this WorkflowGraphWorkflowGraphQueryuri()The URI of the resource.-
Methods inherited from class com.shopify.graphql.support.AbstractQuery
addCustomObjectField, addCustomSimpleField, appendQuotedString, startField, startInlineFragment, withAlias
-
-
-
-
Method Detail
-
Results
public WorkflowGraphQuery Results(_ValidationResultQueryDefinition queryDef)
The (validation) results for the surrounding object, e.g. current constraint violations.
-
creationTimeStamp
public WorkflowGraphQuery creationTimeStamp()
The time stamp that this graph was created (if known).
-
creationTimeStamp
public WorkflowGraphQuery creationTimeStamp(WorkflowGraphQuery.CreationTimeStampArgumentsDefinition argsDef)
The time stamp that this graph was created (if known).
-
creator
public WorkflowGraphQuery creator(UserQueryDefinition queryDef)
The user who created this graph (if known).
-
creator
public WorkflowGraphQuery creator(WorkflowGraphQuery.CreatorArgumentsDefinition argsDef, UserQueryDefinition queryDef)
The user who created this graph (if known).
-
description
public WorkflowGraphQuery description()
A human-readable description of the graph (in the user's preferred language).
-
description
public WorkflowGraphQuery description(WorkflowGraphQuery.DescriptionArgumentsDefinition argsDef)
A human-readable description of the graph (in the user's preferred language).
-
id
public WorkflowGraphQuery id()
The id of the working copy.
-
id
public WorkflowGraphQuery id(WorkflowGraphQuery.IdArgumentsDefinition argsDef)
The id of the working copy.
-
label
public WorkflowGraphQuery label()
A human-readable display label.
-
masterGraph
public WorkflowGraphQuery masterGraph(MasterGraphQueryDefinition queryDef)
The master graph that this is based on.
-
masterGraph
public WorkflowGraphQuery masterGraph(WorkflowGraphQuery.MasterGraphArgumentsDefinition argsDef, MasterGraphQueryDefinition queryDef)
The master graph that this is based on.
-
type
public WorkflowGraphQuery type(_ResourceQueryDefinition queryDef)
The types of this WorkflowGraph
-
uri
public WorkflowGraphQuery uri()
The URI of the resource.
-
createFragment
public static Fragment<WorkflowGraphQuery> createFragment(String name, WorkflowGraphQueryDefinition queryDef)
Creates a GraphQL "named" fragment with the specified query type definition. The generics nature of fragments ensures that a fragment can only be used at the right place in the GraphQL request.- Parameters:
name- The name of the fragment, must be unique for a given GraphQL request.queryDef- The fragment definition.- Returns:
- The fragment of a given generics type.
-
addFragmentReference
public WorkflowGraphQuery addFragmentReference(Fragment<WorkflowGraphQuery> fragment)
Adds aWorkflowGraphQueryfragment reference at the current position of the query. For example for a fragment namedtest, calling this method will add the reference...testin the query. For GraphQL types implementing an interface, there will be some similar methods using the Query type of each implemented interface.- Parameters:
fragment- The fragment to reference.
-
-