public interface DataExchangeServiceContext
Modifier and Type | Method and Description |
---|---|
com.onwbp.adaptation.Adaptation |
getAdaptation()
Returns the current dataset or the currently selected record.
|
com.onwbp.adaptation.Request |
getCurrentRequestOnSelectedOccurrences()
Returns the request of the currently selected records.
|
com.onwbp.adaptation.Request |
getRequest()
Returns the request corresponding to the current table view, including
the filters and sort criteria set on the view.
|
com.orchestranetworks.service.Session |
getSession()
Returns the current session context.
|
com.orchestranetworks.schema.SchemaNode |
getTableNode()
Returns the currently selected table node.
|
List<com.orchestranetworks.schema.SchemaNode> |
getViewedSchemaNodes()
Returns the nodes (or "columns" from a user perspective) currently
displayed by the tabular view.
|
boolean |
isCalledOnHierarchyNode()
Returns
true if the current service is called from the
contextual menu of a hierarchy node. |
boolean |
isCalledOnHome()
Returns
true if the current service is called from a data
space or snapshot menu. |
boolean |
isCalledOnInstance()
Returns
true if the current service is called from a data
set menu. |
boolean |
isCalledOnOccurrencePage()
Returns
true if the current service is called from a record
page. |
boolean |
isCalledOnTable()
Returns
true if the current service is called on the whole
table view. |
boolean |
isCalledOnTableSelection()
Returns
true if the current service is called on the
selected records of the view. |
com.onwbp.adaptation.Adaptation getAdaptation()
com.orchestranetworks.schema.SchemaNode getTableNode()
com.onwbp.adaptation.Request getRequest()
com.onwbp.adaptation.Request getCurrentRequestOnSelectedOccurrences()
null
if this service is called outside the context of a
table. If no records are selected, the returned request will have an
empty result.List<com.orchestranetworks.schema.SchemaNode> getViewedSchemaNodes()
boolean isCalledOnHierarchyNode()
true
if the current service is called from the
contextual menu of a hierarchy node.boolean isCalledOnHome()
true
if the current service is called from a data
space or snapshot menu.boolean isCalledOnInstance()
true
if the current service is called from a data
set menu.boolean isCalledOnOccurrencePage()
true
if the current service is called from a record
page.boolean isCalledOnTable()
true
if the current service is called on the whole
table view.boolean isCalledOnTableSelection()
true
if the current service is called on the
selected records of the view.com.orchestranetworks.service.Session getSession()