D
- Type of data access is given to.public interface DataAccessSession<D>
Modifier and Type | Method and Description |
---|---|
DataSnippetProvider<D> |
createDataSnippetProvider()
Provides the renderer having means to produce representable information for displaying a data element.
|
DataStreamBuilder<D> |
createDataStreamBuilder()
Creates an aspectable builder for data streams.
|
<A> A |
getAspect(SessionAspectType<A> type)
Look up a specific aspect that may be supported by this plug-in.
|
List<D> |
getData(Collection<String> identifiers)
Bulk operation to get data objects by their identifiers.
|
D |
getData(String identifier)
Gets a data object by its identifier.
|
String |
getIdentifier(D object)
Provide a unique identifier for the given data object.
|
@Nullable <A> A getAspect(@NotNull SessionAspectType<A> type)
A
- The object type of the aspect.type
- The type of aspect.null
, if the aspect is not supported.@NotNull D getData(@NotNull String identifier) throws NoSuchElementException
identifier
- The identifier to look up.NoSuchElementException
- If there is no data object for the given identifier.@NotNull List<D> getData(@NotNull Collection<String> identifiers)
identifiers
- The identifiers to fetch data objects for.@NotNull String getIdentifier(@NotNull D object) throws NoSuchElementException
object
- The data object to provide an identifer for.NoSuchElementException
- If the given object could not be identified as eligible data object.@NotNull DataSnippetProvider<D> createDataSnippetProvider()
@NotNull DataStreamBuilder<D> createDataStreamBuilder()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210