Interface URIBuilderForBuiltin.ForTable<T extends URIBuilderForBuiltin<T>>
- All Superinterfaces:
URIBuilderForBuiltin<T>
- All Known Subinterfaces:
URIBuilderForBuiltin.ForDataAndHistory
- Enclosing interface:
- URIBuilderForBuiltin<T extends URIBuilderForBuiltin<T>>
URI to a table.- Since:
- 6.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orchestranetworks.rest.util.URIBuilderForBuiltin
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>> -
Method Summary
Modifier and TypeMethodDescriptionbuildForTable(Adaptation aRecordOrDataset, SchemaNode aTableOrAssociationNode) Returns an absoluteURIto a specified table.table(Adaptation aRecordOrDataset, SchemaNode aTableOrAssociationNode) Returns a configuredURIbuilder which can generate built-in REST servicesURIto a specified table.Methods inherited from interface com.orchestranetworks.rest.util.URIBuilderForBuiltin
build, extendedAction, firstPage, lastPage, nextPage, pageSize, previousPage, queryParams, queryParams
-
Method Details
-
buildForTable
Returns an absoluteURIto a specified table.If the provided
Adaptationis a record, then the specifiedSchemaNodemust correspond to an association node. If the providedAdaptationis a dataset, then the specifiedSchemaNodemust correspond to a table node.If query parameters must be added to the generated
URI, then theURIBuilderForBuiltin.queryParams(Map)orURIBuilderForBuiltin.queryParams(MultivaluedMap)method has to be invoked before this one.If pagination query parameters must be added to the generated
URI, then theURIBuilderForBuiltin.firstPage(),URIBuilderForBuiltin.lastPage(),URIBuilderForBuiltin.nextPage(String),URIBuilderForBuiltin.previousPage(String)orURIBuilderForBuiltin.pageSize(int)method has to be invoked before this one.If an extended action must be added to the generated
URI, then theURIBuilderForBuiltin.extendedAction(String)method has to be invoked before this one.- Parameters:
aRecordOrDataset- the record or the dataset.aTableOrAssociationNode- the table or association node- See Also:
-
table
Returns a configuredURIbuilder which can generate built-in REST servicesURIto a specified table.If the provided
Adaptationis a record, then the specifiedSchemaNodemust correspond to an association node. If the providedAdaptationis a dataset, then the specifiedSchemaNodemust correspond to a table node.Since a
URIbuilder is returned, it is still possible to manipulate the preconfigured URI afterward.To handle query parameters, the methods
URIBuilderForBuiltin.queryParams(Map),URIBuilderForBuiltin.queryParams(MultivaluedMap)orUriBuilder.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)orUriBuilder.queryParam(String, Object...)should be used.To handle extended actions, the methods
URIBuilderForBuiltin.extendedAction(String),UriBuilder.replacePath(String),UriBuilder.path(String)orUriBuilder.segment(String...)should be used.- Parameters:
aRecordOrDataset- the record or the dataset.aTableOrAssociationNode- the table or association node- See Also:
-