@NotFinalAPI public interface QueryChangeCommand
TopologyQueryFactory.createQueryChangeCommand(String)
.QueryManagementService.modifyQuery(QueryChangeCommand)
Modifier and Type | Method and Description |
---|---|
QueryChangeCommand |
attachToBundles(Collection<String> bundles)
Attaches bundles to the query, adding them to the query's existing bundles, if any.
|
QueryChangeCommand |
attachToBundles(String... bundles)
Attaches bundles to the query, adding them to the query's existing bundles, if any.
|
Set<String> |
bundlesToAttachTo()
Returns the bundles the command will attach to the query.
|
Set<String> |
bundlesToDetachFrom()
Returns the bundles the command should detach from the query.
|
QueryChangeCommand |
changeFirstLoadStrategyTo(QueryDefinitionFirstLoadStrategy firstLoadStrategy)
Changes the first load strategy of the query to the given value.
|
QueryChangeCommand |
changeRecalcPriorityTo(QueryDefinitionRecalcPriority recalcPriority)
Changes the recalculation priority of the query to the given value.
|
QueryChangeCommand |
detachFromBundles(Collection<String> bundles)
Detachs the bundles from the query.
|
QueryChangeCommand |
detachFromBundles(String... bundles)
Detachs the bundles from the query.
|
QueryDefinitionFirstLoadStrategy |
firstLoadStrategyToChangeTo()
Returns the previously set first load strategy, or null if none was set.
|
String |
queryName()
The name of the query the command affects.
|
QueryDefinitionRecalcPriority |
recalcPriorityToChangeTo()
Returns the previously set recalculation prioirty, or null if none was set.
|
QueryChangeCommand |
setInternalDataStoreOnly()
Changes all the data store settings for all elements in the query definition to
"internal".
|
boolean |
shouldSetInternalDataStoreOnly()
Returns true if
setInternalDataStoreOnly() was called. |
String queryName()
QueryChangeCommand changeRecalcPriorityTo(QueryDefinitionRecalcPriority recalcPriority)
QueryDefinitionRecalcPriority recalcPriorityToChangeTo()
QueryChangeCommand changeFirstLoadStrategyTo(QueryDefinitionFirstLoadStrategy firstLoadStrategy)
QueryDefinitionFirstLoadStrategy firstLoadStrategyToChangeTo()
QueryChangeCommand setInternalDataStoreOnly()
boolean shouldSetInternalDataStoreOnly()
setInternalDataStoreOnly()
was called.QueryChangeCommand attachToBundles(Collection<String> bundles)
QueryChangeCommand attachToBundles(String... bundles)
Set<String> bundlesToAttachTo()
QueryChangeCommand detachFromBundles(Collection<String> bundles)
QueryChangeCommand detachFromBundles(String... bundles)
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.