|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.faktorips.runtime.internal.AbstractRuntimeRepositoryManager
org.faktorips.runtime.productdataprovider.DetachedContentRuntimeRepositoryManager
public class DetachedContentRuntimeRepositoryManager
The 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| Nested Class Summary | |
|---|---|
static class |
DetachedContentRuntimeRepositoryManager.Builder
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.faktorips.runtime.internal.AbstractRuntimeRepositoryManager |
|---|
addDirectlyReferencedManager, getAllReferencedRepositoryManagers, getDirectlyReferencedRepositoryManagers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@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 created
isRepositoryUpToDate in class AbstractRuntimeRepositoryManageractualRuntimeRepository - The actual runtime repository that have to be checked
protected IRuntimeRepository createNewRuntimeRepository()
AbstractRuntimeRepositoryManager
createNewRuntimeRepository in class AbstractRuntimeRepositoryManagerIRuntimeRepository
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||