Interface PersistenceRoots
-
- All Superinterfaces:
PersistenceRootsView
- All Known Implementing Classes:
PersistenceRoots.Default
public interface PersistenceRoots extends PersistenceRootsView
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
PersistenceRoots.Default
-
Method Summary
Modifier and Type Method Description Object
customRoot()
String
customRootIdentifier()
Reference<Object>
defaultRoot()
String
defaultRootIdentifier()
XGettingTable<String,Object>
entries()
boolean
hasChanged()
default <C extends BiConsumer<String,Object>>
CiterateEntries(C iterator)
static PersistenceRoots
New(PersistenceRootResolver rootResolver)
void
reinitializeEntries(XGettingTable<String,Object> newEntries)
void
updateEntries(XGettingTable<String,Object> newEntries)
-
-
-
Method Detail
-
defaultRootIdentifier
String defaultRootIdentifier()
- Specified by:
defaultRootIdentifier
in interfacePersistenceRootsView
-
defaultRoot
Reference<Object> defaultRoot()
- Specified by:
defaultRoot
in interfacePersistenceRootsView
-
customRootIdentifier
String customRootIdentifier()
- Specified by:
customRootIdentifier
in interfacePersistenceRootsView
-
customRoot
Object customRoot()
- Specified by:
customRoot
in interfacePersistenceRootsView
-
entries
XGettingTable<String,Object> entries()
-
hasChanged
boolean hasChanged()
-
reinitializeEntries
void reinitializeEntries(XGettingTable<String,Object> newEntries)
-
updateEntries
void updateEntries(XGettingTable<String,Object> newEntries)
-
iterateEntries
default <C extends BiConsumer<String,Object>> C iterateEntries(C iterator)
- Specified by:
iterateEntries
in interfacePersistenceRootsView
-
New
static PersistenceRoots New(PersistenceRootResolver rootResolver)
-
-