public abstract class AbstractRuntimeRepositoryManager extends Object implements IRuntimeRepositoryManager
AbstractRuntimeRepositoryManager manages the referenced
IRuntimeRepositoryManager. It delegates the up to date check and the creation of new
repositories to the subclass.| Constructor and Description |
|---|
AbstractRuntimeRepositoryManager()
Creates a new
AbstractRuntimeRepositoryManager |
| Modifier and Type | Method and Description |
|---|---|
void |
addDirectlyReferencedManager(IRuntimeRepositoryManager manager)
Use this method to add a referenced
IRuntimeRepositoryManager. |
protected abstract IRuntimeRepository |
createNewRuntimeRepository()
Creates a new repository.
|
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.
|
protected abstract boolean |
isRepositoryUpToDate(IRuntimeRepository currentRuntimeRepository)
This method checks whether the
IRuntimeRepository is up to date or not. |
public AbstractRuntimeRepositoryManager()
AbstractRuntimeRepositoryManager@Deprecated public IRuntimeRepository getActualRuntimeRepository()
getCurrentRuntimeRepository()IRuntimeRepository. If there are no changes
this method simply returns the existing one.getActualRuntimeRepository in interface IRuntimeRepositoryManagerpublic 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.
getCurrentRuntimeRepository in interface IRuntimeRepositoryManagerprotected abstract boolean isRepositoryUpToDate(IRuntimeRepository currentRuntimeRepository)
IRuntimeRepository is up to date or not. If this
method returns false, a new repository have to be createdcurrentRuntimeRepository - The actual runtime repository that have to be checkedprotected abstract IRuntimeRepository createNewRuntimeRepository()
IRuntimeRepositorypublic final void addDirectlyReferencedManager(IRuntimeRepositoryManager manager)
IRuntimeRepositoryManagerIRuntimeRepositoryManager. The
IRuntimeRepository returned by IRuntimeRepositoryManager.getCurrentRuntimeRepository() asks all
references managers for their repositories and adding the references.addDirectlyReferencedManager in interface IRuntimeRepositoryManagermanager - The manager to connect with this managerpublic List<IRuntimeRepositoryManager> getDirectlyReferencedRepositoryManagers()
IRuntimeRepositoryManagergetDirectlyReferencedRepositoryManagers in interface IRuntimeRepositoryManagerpublic List<IRuntimeRepositoryManager> getAllReferencedRepositoryManagers()
IRuntimeRepositoryManagergetAllReferencedRepositoryManagers in interface IRuntimeRepositoryManagerIRuntimeRepositoryManager that are referenced directly or
indirectlyCopyright © 2016. All rights reserved.