|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NotFinalAPI public interface View
Represents a view defined on the uCMDB server or a new view to be executed or saved on the uCMDB server.
A view is a hierarchical presentation of a query result (Topology). This presentation omits all Relations and orders the CIs in a tree-like structure, which might or might not be a spanning tree over the topology. This structure may be defined in various ways - direct definition (usingViewWithFoldingDefinition
), definition by reference
(using SingleViewReferenceDefinition
) or definition by multiple building blocks
(PerspectiveBasedViewReferenceDefinition
).
The view may be executed using the ViewService
to get a the hierarchical presentation as a
ViewResult
object.
Note: If the view was created using ViewFactory.createView(String)
, the first call to
either viewDefinition or viewVersion will result in a server call to fetch the view information.
Method Summary | |
---|---|
java.lang.String |
description()
Deprecated. use viewDefinition().description(); |
com.hp.ucmdb.api.view.foldingdefinition.FoldingDefinition |
foldingDefinition()
Deprecated. use viewDefinition().asViewWithFoldingDefinition().foldingDefinition(). Check view type! |
java.lang.String |
getDescription()
Deprecated. use viewDefinition().description(); |
java.lang.String |
getName()
Deprecated. use name(); |
java.lang.String |
getQueryName()
Deprecated. use viewDefinition().asViewWithFoldingDefinition().queryName(). Check view type! |
java.lang.String |
name()
Returns the name of the view. |
java.lang.String |
queryName()
Deprecated. use viewDefinition().asViewWithFoldingDefinition().queryName(). Check view type! |
ViewDefinition |
viewDefinition()
Returns a client-side representation of the definition of the view on the server. |
ViewVersion |
viewVersion()
Returns the version of this view as it was saved on the server. |
Method Detail |
---|
java.lang.String name()
ViewDefinition viewDefinition() throws ViewDoesNotExistException
ViewDoesNotExistException
- if the View object was created using ViewFactory.createView(String)
and a view by the given name does exist on the server.@NotFinalAPI ViewVersion viewVersion()
ViewDefinition.toView()
) but not saved
have a default version that is lower than all other versions.
@Deprecated com.hp.ucmdb.api.view.foldingdefinition.FoldingDefinition foldingDefinition() throws ViewDoesNotExistException
ViewDoesNotExistException
@Deprecated java.lang.String getDescription()
@Deprecated java.lang.String description() throws ViewDoesNotExistException
ViewDoesNotExistException
@Deprecated java.lang.String getQueryName()
@Deprecated java.lang.String queryName() throws ViewDoesNotExistException
ViewDoesNotExistException
@Deprecated java.lang.String getName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |