|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotFinalAPI public interface QueryChangeCommand
A command controlling changes to a query without knowledge of the query internal structure, type or dependencies.
All "setters" return 'this' to facilitate method chaining. Can be created usingTopologyQueryFactory.createQueryChangeCommand(String)
.
QueryManagementService.modifyQuery(QueryChangeCommand)
Method Summary | |
---|---|
QueryChangeCommand |
attachToBundles(java.util.Collection<java.lang.String> bundles)
Attaches bundles to the query, adding them to the query's existing bundles, if any. |
QueryChangeCommand |
attachToBundles(java.lang.String... bundles)
Attaches bundles to the query, adding them to the query's existing bundles, if any. |
java.util.Set<java.lang.String> |
bundlesToAttachTo()
Returns the bundles the command will attach to the query. |
java.util.Set<java.lang.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(java.util.Collection<java.lang.String> bundles)
Detachs the bundles from the query. |
QueryChangeCommand |
detachFromBundles(java.lang.String... bundles)
Detachs the bundles from the query. |
QueryDefinitionFirstLoadStrategy |
firstLoadStrategyToChangeTo()
Returns the previously set first load strategy, or null if none was set. |
java.lang.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. |
Method Detail |
---|
java.lang.String queryName()
QueryChangeCommand changeRecalcPriorityTo(QueryDefinitionRecalcPriority recalcPriority)
QueryDefinitionRecalcPriority recalcPriorityToChangeTo()
QueryChangeCommand changeFirstLoadStrategyTo(QueryDefinitionFirstLoadStrategy firstLoadStrategy)
QueryDefinitionFirstLoadStrategy firstLoadStrategyToChangeTo()
QueryChangeCommand setInternalDataStoreOnly()
boolean shouldSetInternalDataStoreOnly()
setInternalDataStoreOnly()
was called.
QueryChangeCommand attachToBundles(java.util.Collection<java.lang.String> bundles)
QueryChangeCommand attachToBundles(java.lang.String... bundles)
java.util.Set<java.lang.String> bundlesToAttachTo()
QueryChangeCommand detachFromBundles(java.util.Collection<java.lang.String> bundles)
QueryChangeCommand detachFromBundles(java.lang.String... bundles)
java.util.Set<java.lang.String> bundlesToDetachFrom()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |