Package com.hp.ucmdb.api.view
Interface ViewExecutionOptions
A container for view execution options and flags, this object may change view execution behavior at runtime.
This object can be created with
ViewFactory.createOptions()
.
Defaults for this object are:
- With
label
. - With
icon
. - Without
note
. - Without
query properties
. - Without
view properties
.
- Since:
- UCMDB 9.0
-
Method Summary
Modifier and TypeMethodDescriptionwithNote()
Adds the "note" functionality toViewResultTreeNode
s based on CIs.Removes the "icon function" functionality fromViewResultTreeNode
s based on CIs.Removes the "label" functionality fromViewResultTreeNode
s based on CIs.withQueryNodePagination
(ViewPagination pagination) Adds the query properties to the CIs and Relations in theViewResult.topology()
.withSyntheticNodePagination
(ViewPagination pagination) Adds the "View Properties" functionality toViewResultTreeNode
s.withViewSearch
(ViewSimpleSearch viewSimpleSearch)
-
Method Details
-
withoutLabel
ViewExecutionOptions withoutLabel()Removes the "label" functionality fromViewResultTreeNode
s based on CIs. Calls toViewResultTreeNode.label()
will yield a default "no label" String. The label may still work, on some ViewResultTreeNodes (or all) if the label property is brought by another option.- Returns:
- "this", for method chaining.
-
withoutIcon
ViewExecutionOptions withoutIcon()Removes the "icon function" functionality fromViewResultTreeNode
s based on CIs. Calls toViewResultTreeNode.iconName()
will yield the icon based on the CI class type and not on the "icon function" which may be defined on that type. The "icon function" may still work, on some ViewResultTreeNodes (or all) if the icon function property is brought by another option.- Returns:
- "this", for method chaining.
-
withNote
ViewExecutionOptions withNote()Adds the "note" functionality toViewResultTreeNode
s based on CIs. Calls toViewResultTreeNode.note()
return the note attached to the CI, or empty String if no note is available.- Returns:
- "this", for method chaining.
-
withQueryProperties
ViewExecutionOptions withQueryProperties()Adds the query properties to the CIs and Relations in theViewResult.topology()
.- Returns:
- "this", for method chaining.
-
withViewProperties
ViewExecutionOptions withViewProperties()Adds the "View Properties" functionality toViewResultTreeNode
s. Calls toViewResultTreeNode.viewProperties()
will yield the view properties for the node, as defined by the view attributes in the definition.- Returns:
- "this", for method chaining.
-
withQueryNodePagination
-
withSyntheticNodePagination
-
withViewSearch
-