|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface StoreAgent
Definition for an agent offering access to FirstSpirit's stores.
Example:
SpecialistsBroker.requireSpecialist(StoreAgent.TYPE)
| Field Summary | |
|---|---|
static SpecialistType<StoreAgent> |
TYPE
The specialized agent's technical type to be used for requesting the agent from a SpecialistsBroker. |
| Method Summary | |
|---|---|
Store |
getStore(Store.Type type)
Get the store of the requested type on elements in current state. |
Store |
getStore(Store.Type type,
boolean release)
Get the store of the requested type. |
| Field Detail |
|---|
static final SpecialistType<StoreAgent> TYPE
SpecialistsBroker.
| Method Detail |
|---|
@NotNull
Store getStore(@NotNull
Store.Type type)
type - The store's type.
@NotNull
Store getStore(@NotNull
Store.Type type,
boolean release)
release is true, returns a store on elements in release state,
otherwise, returns a store on elements in current state.
type - The store's type.release - Indicates the desired release state.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||