public interface StoreElementAgent
Example:
SpecialistsBroker.requireSpecialist(StoreElementAgent.TYPE)
Modifier and Type | Field and Description |
---|---|
static SpecialistType<StoreElementAgent> |
TYPE
The specialized agent's type to be used for requesting the agent from a
SpecialistsBroker . |
Modifier and Type | Method and Description |
---|---|
Referenceable |
loadReference(String reference,
boolean release)
Load a reference with the given reference descriptor.
|
IDProvider |
loadStoreElement(String uid,
IDProvider.UidType uidType,
boolean release)
Load a media object with the given
uid and uidType . |
static final SpecialistType<StoreElementAgent> TYPE
SpecialistsBroker
.@Nullable IDProvider loadStoreElement(@NotNull String uid, @NotNull IDProvider.UidType uidType, boolean release) throws de.espirit.firstspirit.store.access.AccessDeniedException
uid
and uidType
.uid
- The uid of the requested object.uidType
- The type of the requested object.release
- Indicator for loading objects being released, true
, or current, false
.null
, if the object is not available.de.espirit.firstspirit.store.access.AccessDeniedException
- If access to the requested element has been denied.@Nullable Referenceable loadReference(@NotNull String reference, boolean release)
reference
- The reference descriptor of the requested object.release
- Indicator for loading objects being released, true
, or current, false
.null
, if the object is not available.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500