|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRuntimeRepositoryManager
The IRuntimeRepositoryManager is able to provide a IRuntimeRepository. The
manager is used in scenarios where product data could change over time. In this case, the
repository would throw exceptions because product data is out-dated. By calling the method
getActualRuntimeRepository() the client gets a new IRuntimeRepository that is
able to work with the actual data.
If you use a set of referenced repositories you have to connect your
IRuntimeRepositoryManagers instead of the repositories. That enables the manager to set
all the necessary references after creating a new repository.
| Method Summary | |
|---|---|
void |
addDirectlyReferencedManager(IRuntimeRepositoryManager manager)
Use this method to add a referenced IRuntimeRepositoryManager. |
IRuntimeRepository |
getActualRuntimeRepository()
Deprecated. since 3.9.0: The method name was a false translation from German. The correct method is called getCurrentRuntimeRepository() |
List<IRuntimeRepositoryManager> |
getAllReferencedRepositoryManagers()
Collect all referenced manager. |
IRuntimeRepository |
getCurrentRuntimeRepository()
Call a modification check on the product data provider. |
List<IRuntimeRepositoryManager> |
getDirectlyReferencedRepositoryManagers()
Get the list of direct references managers. |
| Method Detail |
|---|
@Deprecated IRuntimeRepository getActualRuntimeRepository()
getCurrentRuntimeRepository()
IRuntimeRepository. If there are no changes
this method simply returns the existing one.
IRuntimeRepository getCurrentRuntimeRepository()
IRuntimeRepository. If there are no changes
this method simply returns the existing one. The current runtime repository can be
null.
Every direct referenced manger will be asked for it current repository. If any direct
referenced manager returns null as its current repository, this direct
referenced repository will be ignored.
void addDirectlyReferencedManager(IRuntimeRepositoryManager manager)
IRuntimeRepositoryManager. The
IRuntimeRepository returned by getCurrentRuntimeRepository() asks all
references managers for their repositories and adding the references.
manager - The manager to connect with this managerList<IRuntimeRepositoryManager> getDirectlyReferencedRepositoryManagers()
List<IRuntimeRepositoryManager> getAllReferencedRepositoryManagers()
IRuntimeRepositoryManager that are referenced directly or
indirectly
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||