public interface TopologyQueryFactory
Modifier and Type | Method and Description |
---|---|
AttributeSortingRule |
createAttributeSortingOrderElement(String attributeName,
AttributeSortingOrderElementDirection direction)
Creates and returns a sorting rule.
|
ElementIdsForChangedCachedQueriesOptions |
createElementIdsForChangedCachedQueriesOptions()
|
IndirectLinkDescriptor |
createIndirectLinkDescriptor()
|
LinkConditionBuilder |
createLinkConditionBuilder(QueryDefinition queryDefinition)
Creates and returns a link condition builder, to be used for building complex link condition trees.
|
ModelEventsFilter |
createModelEventsFilter()
Creates a new filter for the model listener.
|
ModelListenerFilter |
createModelListenerFilter()
Deprecated.
replaced by
createModelEventsFilter() |
MultipleReferencesWithFunctionDefinition |
createMultipleReferencesWithFunctionDefinition(String name,
QueriesFunction queriesFunction,
Collection<String> baseQueriesNames)
Creates a new reference to a function over multiple queries.
|
Query |
createNamedQuery(String queryName)
Creates an abstraction object over a query stored in UCMDB.
|
PropertyConditionBuilder |
createPropertyConditionBuilder()
Creates and returns a property condition builder, to be used for building complex propery condition trees.
|
Query |
createQuery(QueryDefinition queryDefinition)
Creates an abstraction object over a query definition to be saved in a specific folder path.
|
Query |
createQuery(QueryReferenceDefinition queryReferenceDefinition)
Creates an abstraction object over a query reference definition to be saved in a specific folder path.
|
QueryChangeCommand |
createQueryChangeCommand(String queryName)
Creates a new command for query modification.
|
QueryDefinition |
createQueryDefinition(String queryName)
Creates a new query definition having the specified name.
|
QueryDefinition |
createQueryDefinition(String queryName,
QueryDefinition queryDefinition)
Creates a new query definition having the specified name by cloning an existing query definition.
|
QueriesExecutionBulk |
createQueryExecutionBulk()
Crates a query execution bulk for
TopologyQueryService.executeQueriesTree(com.hp.ucmdb.api.topology.QueriesExecutionBulk) . |
QueryManagementListenerFilter |
createQueryManagementListenerFilter()
Creates a new filter for the query management listener.
|
QueryNamesAndVersions |
createQueryNamesAndVersions()
|
QueryResultVersion |
createQueryResultVersion(String versionAsString)
Creates a query result vresion from the string produced by
QueryResultVersion.asString() for comparison purposes. |
QueryValidationBulk |
createQueryValidationBulk() |
QueryVersion |
createQueryVersion(String versionAsString)
Creates a query result vresion from the string produced by
QueryVersion.asString() for comparison purposes. |
SingleQueryReferenceDefinition |
createSingleQueryReferenceDefinition(String name,
String baseQueryName)
Creates a new reference to a single query.
|
void |
fillQueriesExecutionBulkWithPerspectiveApplication(QueriesExecutionBulk bulk,
String topLevelName,
List<Set<String>> perspectiveHierarchy,
String seedQueryName)
Fills the given QueriesExecutionBulk with queries that would have been created if a
"perspective application" would have been saved.
|
QueryDefinition createQueryDefinition(String queryName)
@NotFinalAPI QueryDefinition createQueryDefinition(String queryName, QueryDefinition queryDefinition)
@NotFinalAPI SingleQueryReferenceDefinition createSingleQueryReferenceDefinition(String name, String baseQueryName)
name
- the name of the definition.baseQueryName
- the query name this definition is based on.SingleQueryReferenceDefinition
@NotFinalAPI MultipleReferencesWithFunctionDefinition createMultipleReferencesWithFunctionDefinition(String name, QueriesFunction queriesFunction, Collection<String> baseQueriesNames)
name
- the name of the definition.queriesFunction
- the function to be used.baseQueriesNames
- the queries the function should be applied on.MultipleReferencesWithFunctionDefinition
Query createNamedQuery(String queryName)
TopologyQueryService.createQueryStub(java.lang.String)
.Query createQuery(QueryDefinition queryDefinition)
queryDefinition
- Query createQuery(QueryReferenceDefinition queryReferenceDefinition)
queryReferenceDefinition
- QueryResultVersion createQueryResultVersion(String versionAsString)
QueryResultVersion.asString()
for comparison purposes.QueryVersion createQueryVersion(String versionAsString)
QueryVersion.asString()
for comparison purposes.PropertyConditionBuilder createPropertyConditionBuilder()
LinkConditionBuilder createLinkConditionBuilder(QueryDefinition queryDefinition)
@NotFinalAPI AttributeSortingRule createAttributeSortingOrderElement(String attributeName, AttributeSortingOrderElementDirection direction)
attributeName
- the attribute name to sort by.direction
- the direction to sort.ModelEventsFilter createModelEventsFilter()
ModelListenerFilter createModelListenerFilter()
createModelEventsFilter()
QueryManagementListenerFilter createQueryManagementListenerFilter()
@NotFinalAPI IndirectLinkDescriptor createIndirectLinkDescriptor()
TopologyQueryService.retrieveIndirectLinkPaths(com.hp.ucmdb.api.topology.ExecutableQuery, java.util.Set<com.hp.ucmdb.api.topology.IndirectLinkDescriptor>)
.
See that method for description.@NotFinalAPI QueryChangeCommand createQueryChangeCommand(String queryName)
queryName
- the query that should be changed.@NotFinalAPI QueryValidationBulk createQueryValidationBulk()
@NotFinalAPI QueryNamesAndVersions createQueryNamesAndVersions()
TopologyQueryService.retrieveElementIdsForChangedCachedQueries(com.hp.ucmdb.api.topology.QueryNamesAndVersions, com.hp.ucmdb.api.topology.ElementIdsForChangedCachedQueriesOptions)
.
See that method for full description.@NotFinalAPI ElementIdsForChangedCachedQueriesOptions createElementIdsForChangedCachedQueriesOptions()
TopologyQueryService.retrieveElementIdsForChangedCachedQueries(com.hp.ucmdb.api.topology.QueryNamesAndVersions, com.hp.ucmdb.api.topology.ElementIdsForChangedCachedQueriesOptions)
.
See that method for full description.@NotFinalAPI QueriesExecutionBulk createQueryExecutionBulk()
TopologyQueryService.executeQueriesTree(com.hp.ucmdb.api.topology.QueriesExecutionBulk)
.
See that method for full description.void fillQueriesExecutionBulkWithPerspectiveApplication(QueriesExecutionBulk bulk, String topLevelName, List<Set<String>> perspectiveHierarchy, String seedQueryName)
QueryManagementService.savePerspectiveApplication(java.lang.String, java.util.List<java.util.Set<java.lang.String>>, java.lang.String, com.hp.ucmdb.api.topology.QueryDefinitionRecalcPriority, com.hp.ucmdb.api.topology.QueryDefinitionFirstLoadStrategy)
.bulk
- the query execution bulk. This may be created by createQueryExecutionBulk()
.topLevelName
- the top level query name. This can be used as a reference by queries added to the bulk later.perspectiveHierarchy
- the perspective hierarchy.seedQueryName
- the seed query name. A query with this name must exist in the UCMDB or in the bulk. Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.