@NotFinalAPI public interface View
ViewWithFoldingDefinition
), 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.Modifier and Type | Method and Description |
---|---|
String |
description()
Deprecated.
use viewDefinition().description();
|
FoldingDefinition |
foldingDefinition()
Deprecated.
use viewDefinition().asViewWithFoldingDefinition().foldingDefinition(). Check view type!
|
String |
getDescription()
Deprecated.
use viewDefinition().description();
|
String |
getName()
Deprecated.
use name();
|
String |
getQueryName()
Deprecated.
use viewDefinition().asViewWithFoldingDefinition().queryName(). Check view type!
|
String |
name()
Returns the name of the view.
|
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.
|
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 FoldingDefinition foldingDefinition() throws ViewDoesNotExistException
ViewDoesNotExistException
@Deprecated String getDescription()
@Deprecated String description() throws ViewDoesNotExistException
ViewDoesNotExistException
@Deprecated String getQueryName()
@Deprecated String queryName() throws ViewDoesNotExistException
ViewDoesNotExistException
@Deprecated String getName()
Documentation Feedback
Copyright 2011 - 2018 Micro Focus or one of its affiliates.