public interface Query
TopologyQueryFactory.createNamedQuery(String)
, the first call to
either getDefinition, queryType, queryVersion, or queryReferenceDefinition will result in a server call to fetch
the query information.
Saving non existing query in a specific folder path is available via com.hp.ucmdb.api.folders.FoldersManagementSubService#saveInFolder(ResourceType, java.util.ListModifier and Type | Method and Description |
---|---|
QueryDefinition |
getDefinition()
Returns a client-side representation of the definition of the query on the server.
|
String |
getName()
The name of the query.
|
QueryReferenceDefinition |
queryReferenceDefinition()
Returns the reference definition of this query, if any exists, or null if the query is
"regular" (definition based).
|
QueryType |
queryType()
The query type.
|
QueryVersion |
queryVersion()
Returns the version of this query as it was saved on the server.
|
ExecutableQuery |
toExecutable()
Transforms this object into a query that can be run with
TopologyQueryService.executeQuery(ExecutableQuery) |
String getName()
QueryDefinition getDefinition()
TopologyQueryService.executeQuery(QueryDefinition)
. The methods of theExecutableQuery
interface are sufficient for most such modifications.
TopologyQueryService.executeQuery(QueryDefinition)
in order for the modifications to take effect.
ExecutableQuery toExecutable()
TopologyQueryService.executeQuery(ExecutableQuery)
@NotFinalAPI QueryType queryType()
@NotFinalAPI QueryReferenceDefinition queryReferenceDefinition()
queryType()
,
QueryType
@NotFinalAPI QueryVersion queryVersion()
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.