CrudServiceMethods<TEntity extends Object> mixin

Superclass Constraints
  1. @Deprecated('''This class is being discontinued. The purpose is to refocus this package on the single task of hosting gRPC services instead of including classes to help implement the actual services, especcially classes that are related to data persistency. ''')

Properties

call → ServiceCall
finalinherited
hashCode int
The hash code for this object.
no setterinherited
mapMapper → MapMapper<TEntity>
finalinherited
permissions → EntityPermissions
finalinherited
principal Principal
finalinherited
repository → Repository<TEntity>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validator → Validator
finalinherited

Methods

create(TEntity entity, {RepositoryTransaction? transaction}) Future<TEntity>
deleteByKeyValue(String keyValue, {RepositoryTransaction? transaction}) Future<TEntity>
findPage<TPageItem>(SearchCriteria criteria, {required TPageItem mapper(Map<String, dynamic> map)}) Future<PagedSearchResult<TPageItem>>
inherited
findToEntityList([SearchCriteria criteria = const SearchCriteria()]) Future<List<TEntity>>
inherited
findToEntityPage(SearchCriteria criteria, {TEntity mapper(Map<String, dynamic> map)?}) Future<PagedSearchResult<TEntity>>
inherited
findToEntityStream([SearchCriteria criteria = const SearchCriteria()]) Future<Stream<TEntity>>
inherited
findToStream([SearchCriteria criteria = const SearchCriteria()]) Future<Stream<Map<String, dynamic>>>
inherited
getByKeyValue(String keyValue, {RepositoryTransaction? transaction}) Future<TEntity>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
throwNotFound() → void
inherited
throwOnError(ErrorList errors) → void
inherited
throwUnauthorized() → void
inherited
toString() String
A string representation of this object.
inherited
update(TEntity entity, {RepositoryTransaction? transaction}) Future<TEntity>

Operators

operator ==(Object other) bool
The equality operator.
inherited