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
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

TYPE

static final SpecialistType<StoreAgent> TYPE
The specialized agent's technical type to be used for requesting the agent from a SpecialistsBroker.

Since:
4.2.405
Method Detail

getStore

@NotNull
Store getStore(@NotNull
                       Store.Type type)
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

@NotNull
Store getStore(@NotNull
                       Store.Type type,
                       boolean release)
Get the store of the requested type. If release is true, 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


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480