Interface RichPageContext
- All Known Subinterfaces:
RichPageParametersContext
,RichPageRenderingContext
,RichPageWidgetActionContext
,RichPageWidgetCommonContext
,RichPageWidgetContext
,RichPageWidgetDependenciesContext
,RichPageWidgetRenderingContext
public interface RichPageContext
- Since:
- 3.9.1
-
Method Summary
Modifier and TypeMethodDescriptionReturns the reference in which the page is displayed.Returns the scope in which the page is displayed.Returns a set of selected Work Item references, if you are on a view that supports it.Shortcut forsharedContext()
.SharedContext.localization()
Shortcut fortransaction()
.ReadOnlyTransaction.context()
-
Method Details
-
transaction
-
localization
Shortcut forsharedContext()
.SharedContext.localization()
-
getDisplayedScope
Returns the scope in which the page is displayed.- Since:
- 3.10.1
-
getDisplayedReference
Returns the reference in which the page is displayed.Or a one that is set by
RichPageWidgetRenderer.displayedReference(ModelObjectReference)
It is
null
if unknown.- Since:
- 3.23.4
-
getSelectedWorkItems
Returns a set of selected Work Item references, if you are on a view that supports it. e.g. tracker table/tree (more items) and document (1 item selection only).Or a one that is set by
RichPageWidgetRenderer.selectedWorkItems(StrictCollection)
.It is an empty collection if unknown.
- Since:
- 3.23.4
-