Package de.espirit.firstspirit.agency
Interface StoreAgent
public interface StoreAgent
Definition for an agent offering access to FirstSpirit's stores.
Example:
SpecialistsBroker.requireSpecialist(StoreAgent.TYPE)
- Since:
- 4.2.405
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SpecialistType<StoreAgent>
The specialized agent's technical type to be used for requesting the agent from aSpecialistsBroker
. -
Method Summary
Modifier and TypeMethodDescription@NotNull Store
getStore
(Store.Type type) Get the store of the requested type on elements in current state.@NotNull Store
getStore
(Store.Type type, boolean release) Get the store of the requested type.
-
Field Details
-
TYPE
The specialized agent's technical type to be used for requesting the agent from aSpecialistsBroker
.- Since:
- 4.2.405
-
-
Method Details
-
getStore
Get the store of the requested type on elements in current state.- Parameters:
type
- The store's type.- Returns:
- The requested store.
- Since:
- 4.2.405
-
getStore
Get the store of the requested type. Ifrelease
istrue
, returns a store on elements in release state, otherwise, returns a store on elements in current state.- Parameters:
type
- The store's type.release
- Indicates the desired release state.- Returns:
- The requested store.
- Since:
- 4.2.405
-