EntityRepositoryProvider class
- Implemented types
-
- Mixed in types
-
- Implementers
- Available Extensions
Methods
-
allRepositories({Map<Type, EntityRepository<Object>>? allRepositories, Set<EntityRepositoryProvider>? traversedProviders})
→ Map<Type, EntityRepository<Object>>
-
-
checkInitialized()
→ void
-
Checks if this instance is initialized.
inherited
-
checkNotClosed()
→ void
-
inherited
-
close()
→ bool
-
-
doInitialization({Initializable? parent})
→ FutureOr<InitializationResult>
-
Initialize this instance if is not initialized yet.
inherited
-
ensureInitialized({Initializable? parent})
→ FutureOr<InitializationResult>
-
Ensures that this instance is initialized.
inherited
-
ensureInitializedAsync({Initializable? parent})
→ FutureOr<InitializationResult>
-
Ensures that this instance is initialized. If is not
initialized yet it will force an asynchronous initialization
and return a Future.
inherited
-
executeInitialized<R>(ExecuteInitializedCallback<R> callback, {Initializable? parent})
→ FutureOr<R>
-
Executes the
callback
ensuring that this instances was fully initialized.
inherited
-
getEntityByID<O>(dynamic id, {Type? type, bool sync = false, EntityResolutionRules? resolutionRules})
→ FutureOr<O?>
-
override
-
getEntityRepository<O extends Object>({O? obj, Type? type, String? name})
→ EntityRepository<O>?
-
-
getEntityRepositoryByType<O extends Object>(Type type)
→ EntityRepository<O>?
-
-
getEntityRepositoryByTypeInfo<O extends Object>(TypeInfo typeInfo)
→ EntityRepository<O>?
-
-
initialize()
→ FutureOr<InitializationResult>
-
Initialization implementation. Do not call it directly, use doInitialization.
override
-
initializeDependencies()
→ FutureOr<List<Initializable>>
-
Return a
List
of Initializable instances that need to be initialized
BEFORE initialize this instance.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyKnownEntityRepositoryProvider(EntityRepositoryProvider provider)
→ void
-
-
registerEntityRepository<O extends Object>(EntityRepository<O> entityRepository)
→ void
-
-
toString()
→ String
-
A string representation of this object.
override