Package com.orchestranetworks.rest.util
Interface URIBuilderForBuiltin
public interface URIBuilderForBuiltin
This class provides useful methods to generate URI to EBX® built-in REST services.
- Since:
- 5.9.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Returns an absolute baseURIthat includes category and version.buildForDataset(Adaptation aDataset) Returns an absoluteURIfor a specified dataset with empty query parameters.buildForDataset(Adaptation aDataset, Map<String, String> parameters) Returns an absoluteURIto a specified dataset with the provided query parameters.buildForDataset(HomeKey aDataspaceKey, AdaptationName aDatasetName) Returns an absoluteURIto a specified dataset in a specified dataspace with empty query parameters.buildForDataset(HomeKey aDataspaceKey, AdaptationName aDatasetName, Map<String, String> parameters) Returns an absoluteURIto a specified dataset in a specified dataspace including the provided query parameters.buildForNode(Adaptation aRecordOrDataset, Path aNodePath) Returns an absoluteURIto a specified record field or dataset node without query parameters.buildForNode(Adaptation aRecordOrDataset, Path aNodePath, Map<String, String> parameters) Returns an absoluteURIto a specified record field or dataset node with query parameters.buildForNode(HomeKey aDataspaceKey, AdaptationName aDatasetName, Path aNodePath) Returns an absoluteURIto a specified dataset node without query parameters.buildForNode(HomeKey aDataspaceKey, AdaptationName aDatasetName, Path aNodePath, Map<String, String> parameters) Returns an absoluteURIto a specified dataset node with query parameters.buildForRecord(Adaptation aRecord) Returns an absoluteURIto a specified record without query parameters.buildForRecord(Adaptation aRecord, Map<String, String> parameters) Returns an absoluteURIto a specified record with query parameters.buildForTableFirstPage(Adaptation aRecord, SchemaNode aTableOrAssociationNode, int aPageSize, Map<String, String> parameters) Returns an absoluteURIto access the first table page with query parameters.buildForTableLastPage(Adaptation aRecord, SchemaNode aTableOrAssociationNode, int aPageSize, Map<String, String> parameters) Returns an absoluteURIto access the last table page with query parameters.buildForTableNextPage(Adaptation aRecord, SchemaNode aTableOrAssociationNode, String aPageRecordFilter, int aPageSize, Map<String, String> parameters) Returns an absoluteURIto access the next table page with query parameters.buildForTablePreviousPage(Adaptation aRecord, SchemaNode aTableOrAssociationNode, String aPageRecordFilter, int aPageSize, Map<String, String> parameters) Returns an absoluteURIto access the previous table page with query parameters.
-
Method Details
-
build
URI build()Returns an absolute baseURIthat includes category and version.- See Also:
-
buildForDataset
Returns an absoluteURIfor a specified dataset with empty query parameters.- See Also:
-
buildForDataset
Returns an absoluteURIto a specified dataset with the provided query parameters.- Parameters:
aDataset- the datasetparameters- the query parameters- See Also:
-
buildForDataset
Returns an absoluteURIto a specified dataset in a specified dataspace with empty query parameters. -
buildForDataset
URI buildForDataset(HomeKey aDataspaceKey, AdaptationName aDatasetName, Map<String, String> parameters) Returns an absoluteURIto a specified dataset in a specified dataspace including the provided query parameters.- Parameters:
aDataspaceKey- the dataspace keyaDatasetName- the dataset nameparameters- the query parameters- See Also:
-
buildForNode
Returns an absoluteURIto a specified record field or dataset node without query parameters.- See Also:
-
buildForNode
Returns an absoluteURIto a specified record field or dataset node with query parameters.- Parameters:
aRecordOrDataset- the record or datasetaNodePath- the path nodeparameters- the query parameters- See Also:
-
buildForNode
Returns an absoluteURIto a specified dataset node without query parameters. -
buildForNode
URI buildForNode(HomeKey aDataspaceKey, AdaptationName aDatasetName, Path aNodePath, Map<String, String> parameters) Returns an absoluteURIto a specified dataset node with query parameters.- Parameters:
aDataspaceKey- the dataspace keyaDatasetName- the dataset nameaNodePath- the path nodeparameters- the query parameters- See Also:
-
buildForRecord
Returns an absoluteURIto a specified record without query parameters.- See Also:
-
buildForRecord
Returns an absoluteURIto a specified record with query parameters.- Parameters:
aRecord- the recordparameters- the query parameters- See Also:
-
buildForTableFirstPage
URI buildForTableFirstPage(Adaptation aRecord, SchemaNode aTableOrAssociationNode, int aPageSize, Map<String, String> parameters) Returns an absoluteURIto access the first table page with query parameters.- Parameters:
aRecord- the recordaTableOrAssociationNode- the table or association nodeaPageSize- the table page sizeparameters- the query parameters- See Also:
-
buildForTablePreviousPage
URI buildForTablePreviousPage(Adaptation aRecord, SchemaNode aTableOrAssociationNode, String aPageRecordFilter, int aPageSize, Map<String, String> parameters) Returns an absoluteURIto access the previous table page with query parameters.- Parameters:
aRecord- the recordaTableOrAssociationNode- the table or association nodeaPageRecordFilter- the page record filteraPageSize- the table page sizeparameters- the query parameters- See Also:
-
buildForTableNextPage
URI buildForTableNextPage(Adaptation aRecord, SchemaNode aTableOrAssociationNode, String aPageRecordFilter, int aPageSize, Map<String, String> parameters) Returns an absoluteURIto access the next table page with query parameters.- Parameters:
aRecord- the recordaTableOrAssociationNode- the table or association nodeaPageRecordFilter- the page record filteraPageSize- the table page sizeparameters- the query parameters- See Also:
-
buildForTableLastPage
URI buildForTableLastPage(Adaptation aRecord, SchemaNode aTableOrAssociationNode, int aPageSize, Map<String, String> parameters) Returns an absoluteURIto access the last table page with query parameters.- Parameters:
aRecord- the recordaTableOrAssociationNode- the table or association nodeaPageSize- the table page sizeparameters- the query parameters- See Also:
-