public class DetachedContentRuntimeRepositoryManager extends AbstractRuntimeRepositoryManager
DetachedContentRuntimeRepositoryManager manages the access to the
DetachedContentRuntimeRepository. To get a runtime repository that provides the actual
product data you have to call getActualRuntimeRepository().
To create a new DetachedContentRuntimeRepositoryManager use the internal DetachedContentRuntimeRepositoryManager.Builder.
DetachedContentRuntimeRepository| Modifier and Type | Class and Description |
|---|---|
static class |
DetachedContentRuntimeRepositoryManager.Builder |
| Modifier and Type | Method and Description |
|---|---|
protected IRuntimeRepository |
createNewRuntimeRepository()
Creates a new repository.
|
IDetachedContentRuntimeRepository |
getActualRuntimeRepository()
Deprecated.
since 3.9.0: The method name was a false translation from German. The correct
method is called
getCurrentRuntimeRepository() |
IDetachedContentRuntimeRepository |
getCurrentRuntimeRepository()
Call a modification check on the product data provider.
|
protected boolean |
isRepositoryUpToDate(IRuntimeRepository actualRuntimeRepository)
This method checks whether the
IRuntimeRepository is up to date or not. |
addDirectlyReferencedManager, getAllReferencedRepositoryManagers, getDirectlyReferencedRepositoryManagers@Deprecated public IDetachedContentRuntimeRepository getActualRuntimeRepository()
getCurrentRuntimeRepository()IRuntimeRepository. If there are no changes
this method simply returns the existing one.getActualRuntimeRepository in interface IRuntimeRepositoryManagergetActualRuntimeRepository in class AbstractRuntimeRepositoryManagerpublic IDetachedContentRuntimeRepository getCurrentRuntimeRepository()
AbstractRuntimeRepositoryManagerIRuntimeRepository. 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 IRuntimeRepositoryManagergetCurrentRuntimeRepository in class AbstractRuntimeRepositoryManagerprotected boolean isRepositoryUpToDate(IRuntimeRepository actualRuntimeRepository)
AbstractRuntimeRepositoryManagerIRuntimeRepository is up to date or not. If this
method returns false, a new repository have to be createdisRepositoryUpToDate in class AbstractRuntimeRepositoryManageractualRuntimeRepository - The actual runtime repository that have to be checkedprotected IRuntimeRepository createNewRuntimeRepository()
AbstractRuntimeRepositoryManagercreateNewRuntimeRepository in class AbstractRuntimeRepositoryManagerIRuntimeRepositoryCopyright © 2017. All rights reserved.