Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
pullTopologyMapChunks
The pullTopologyMapChunks
method retrieves one of the chunks that contain the response to a method.
Each chunk contains a topologyMap
element that is part of the response. The first chunk is numbered 1
, so the retrieval loop counter iterates from 1 to <response object>.getChunkInfo().getNumberOfChunks()
.
For details, see ChunkInfo and Query the CMDB.
The client application must be able to handle the partial maps.
Parameter | Comment |
---|---|
cmdbContext | For details, see CmdbContextCmdbContext |
ChunkRequest | The number of the chunk to retrieve and the ChunkInfo that is returned by the query method. ChunkRequest . |
queryTypedProperties | A collection of sets of properties to retrieve for items of a specific CI type. |
Parameter | Comment |
---|---|
topologyMap | For details, see TopologyMapTopologyMap |
comments | For internal use only. |
Example of Handling Chunks:
GetCIsByType request =
new GetCIsByType(cmdbContext, typeName, customProperties); GetCIsByTypeResponse response =
ucmdbService.getCIsByType(request); ChunkRequest chunkRequest = new ChunkRequest(); chunkRequest.setChunkInfo(response.getChunkInfo()); for(int j=1; j<=response.getChunkInfo().getNumberOfChunks(); j++){ chunkRequest.setChunkNumber(j); PullTopologyMapChunks req =new PullTopologyMapChunks(cmdbContext,chunkRequest); PullTopologyMapChunksResponse res =
ucmdbService.pullTopologyMapChunks(req); for(int m=0 ;
m < res.getTopologyMap().getCINodes().sizeCINodeList();
m++) { CIs cis =
res.getTopologyMap().getCINodes().getCINode(m).getCIs(); for(int i=0 ; i < cis.sizeCIList() ; i++) { // your code to process the CIs } } }
GetCIsByType request =
new GetCIsByType(cmdbContext, typeName, customProperties); GetCIsByTypeResponse response =
ucmdbService.getCIsByType(request); ChunkRequest chunkRequest = new ChunkRequest(); chunkRequest.setChunkInfo(response.getChunkInfo()); for(int j=1 ; j <= response.getChunkInfo().getNumberOfChunks() ; j++) { chunkRequest.setChunkNumber(j); PullTopologyMapChunks req = new PullTopologyMapChunks(cmdbContext, chunkRequest); PullTopologyMapChunksResponse res =
ucmdbService.pullTopologyMapChunks(req); for(int m=0 ;
m < res.getTopologyMap().getCINodes().getCINodes().size();
m++) { CIs cis =
res.getTopologyMap().getCINodes().getCINodes().get(m).getCIs(); for(int i=0 ; i < cis.getCIs().size(); i++) { // your code to process the CIs } } }
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to cms-doc@microfocus.com.
Help Topic ID:
Product:
Topic Title:
Feedback: