public static interface URIBuilderForBuiltin.ForTable<T extends URIBuilderForBuiltin<T>> extends URIBuilderForBuiltin<T>
URI
to a table.URIBuilderForBuiltin.ForDataAndHistory, URIBuilderForBuiltin.ForDataset<T extends URIBuilderForBuiltin<T>>, URIBuilderForBuiltin.ForDataspace<T extends URIBuilderForBuiltin<T>>, URIBuilderForBuiltin.ForNode<T extends URIBuilderForBuiltin<T>>, URIBuilderForBuiltin.ForRecord<T extends URIBuilderForBuiltin<T>>, URIBuilderForBuiltin.ForTable<T extends URIBuilderForBuiltin<T>>
Modifier and Type | Method and Description |
---|---|
URI |
buildForTable(Adaptation aRecordOrDataset,
SchemaNode aTableOrAssociationNode)
Returns an absolute
URI to a specified table. |
UriBuilder |
table(Adaptation aRecordOrDataset,
SchemaNode aTableOrAssociationNode)
Returns a configured
URI builder which can
generate built-in REST services URI to a specified table. |
build, extendedAction, firstPage, lastPage, nextPage, pageSize, previousPage, queryParams, queryParams
URI buildForTable(Adaptation aRecordOrDataset, SchemaNode aTableOrAssociationNode)
URI
to a specified table.
If the provided Adaptation
is a record, then the specified
SchemaNode
must correspond to an association node.
If the provided Adaptation
is a dataset, then the specified
SchemaNode
must correspond to a table node.
If query parameters must be added to the generated URI
, then the
URIBuilderForBuiltin.queryParams(Map)
or URIBuilderForBuiltin.queryParams(MultivaluedMap)
method
has to be invoked before this one.
If pagination query parameters must be added to the generated URI
, then the
URIBuilderForBuiltin.firstPage()
, URIBuilderForBuiltin.lastPage()
, URIBuilderForBuiltin.nextPage(String)
,
URIBuilderForBuiltin.previousPage(String)
or URIBuilderForBuiltin.pageSize(int)
method
has to be invoked before this one.
If an extended action must be added to the generated URI
, then the
URIBuilderForBuiltin.extendedAction(String)
method has to be invoked before this one.
aRecordOrDataset
- the record or the dataset.aTableOrAssociationNode
- the table or association nodeUriBuilder table(Adaptation aRecordOrDataset, SchemaNode aTableOrAssociationNode)
URI
builder which can
generate built-in REST services URI
to a specified table.
If the provided Adaptation
is a record, then the specified
SchemaNode
must correspond to an association node.
If the provided Adaptation
is a dataset, then the specified
SchemaNode
must correspond to a table node.
Since a URI
builder is returned, it is still possible to
manipulate the preconfigured URI afterward.
To handle query parameters, the methods URIBuilderForBuiltin.queryParams(Map)
,
URIBuilderForBuiltin.queryParams(MultivaluedMap)
or UriBuilder.queryParam(String, Object...)
should be used.
To handle pagination query parameters, the methods @link #firstPage()},
URIBuilderForBuiltin.lastPage()
, URIBuilderForBuiltin.nextPage(String)
, URIBuilderForBuiltin.previousPage(String)
,
URIBuilderForBuiltin.pageSize(int)
or UriBuilder.queryParam(String, Object...)
should be used.
To handle extended actions, the methods URIBuilderForBuiltin.extendedAction(String)
,
UriBuilder.replacePath(String)
, UriBuilder.path(String)
or
UriBuilder.segment(String...)
should be used.
aRecordOrDataset
- the record or the dataset.aTableOrAssociationNode
- the table or association node