public interface ReferenceConstructionAgent
store elements, data sets, and
external URLs.ReferenceTransformationAgent,
ReferenceHolder| Modifier and Type | Field and Description |
|---|---|
static SpecialistType<ReferenceConstructionAgent> |
TYPE
Agent providing means to create reference holding containers for
store elements, data sets, and external URLs. |
| Modifier and Type | Method and Description |
|---|---|
IDProviderReferenceHolder |
create(IDProvider element,
String remoteConfigName)
Create an element referencing container from a given id providing store element.
|
ExternalReferenceHolder |
create(String resource,
String category)
Create an external referencing container from a given resource (e.g. an URL) and category.
|
static final SpecialistType<ReferenceConstructionAgent> TYPE
store elements, data sets, and external URLs.@NotNull IDProviderReferenceHolder create(@NotNull IDProvider element, @Nullable String remoteConfigName) throws IllegalArgumentException
Note: If the given element is of type Dataset, it must originate from a content source.
This is met if the dataset is returned by a SelectStoreElementOperation.
element - The store element.remoteConfigName - Name of the remote configuration.IllegalArgumentException - If a the given element and/or remote information do not satisfy the requirements for building a reference container.@NotNull ExternalReferenceHolder create(@NotNull String resource, @Nullable String category)
resource - an external resource.category - The category of the identifier - if null the default category "url" is used.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500