PasswordsMongoDbPersistence class
Properties
-
client
↔ Db
-
The MongoDB connection object.
read / write, inherited
-
collection
↔ DbCollection
-
The MongoDb database object.
The MongoDb collection object.
read / write, inherited
-
collectionName
↔ String
-
The MongoDB colleciton object.
read / write, inherited
-
connection
↔ MongoDbConnection
-
The MongoDB connection component.
read / write, inherited
-
databaseName
↔ String
-
The MongoDB database name.
read / write, inherited
-
dependencyResolver
↔ DependencyResolver
-
The dependency resolver.
read / write, inherited
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
logger
↔ CompositeLogger
-
The logger.
read / write, inherited
-
maxPageSize
↔ int
-
read / write, inherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
clear(String correlationId)
→ Future
-
Clears component state. [...]
inherited
-
close(String correlationId)
→ Future
-
Closes component and frees used resources. [...]
inherited
-
configure(ConfigParams config)
→ void
-
Configures component by passing configuration parameters. [...]
inherited
-
convertFromPublic(dynamic item, {bool createUid: false})
→ Map<String, dynamic>
-
Convert object value from public to internal format. [...]
inherited
-
convertFromPublicPartial(Map<String, dynamic> item)
→ Map<String, dynamic>
-
Converts the given object from the public partial format. [...]
inherited
-
convertToPublic(Map<String, dynamic> item)
→ dynamic
-
Converts object value from internal to public format. [...]
inherited
-
create(String correlationId, UserPasswordV1 item)
→ Future<UserPasswordV1>
-
Creates a data item. [...]
inherited
-
deleteByFilterEx(String correlationId, Map<String, dynamic> filter)
→ Future
-
Deletes data items that match to a given filter. [...]
inherited
-
deleteById(String correlationId, String id)
→ Future<UserPasswordV1>
-
Deleted a data item by it's unique id. [...]
inherited
-
deleteByIds(String correlationId, List<String> ids)
→ Future
-
Deletes multiple data items by their unique ids. [...]
inherited
-
ensureIndex(dynamic keys, {String key, bool unique: false, bool sparse: false, bool background: false, bool dropDups: false, Map<String, dynamic> partialFilterExpression, String name})
→ void
-
Adds index definition to create it on opening [...]
inherited
-
getCountByFilterEx(String correlationId, Map<String, dynamic> filter)
→ Future<int>
-
Gets a count of data items retrieved by a given filter. [...]
inherited
-
getListByFilterEx(String correlationId, Map<String, dynamic> filter, Map<String, dynamic> sort)
→ Future<List<UserPasswordV1>>
-
Gets a list of data items retrieved by a given filter and sorted according to sort parameters. [...]
inherited
-
getListByIds(String correlationId, List<String> ids)
→ Future<List<UserPasswordV1>>
-
Gets a list of data items retrieved by given unique ids. [...]
inherited
-
getOneById(String correlationId, String id)
→ Future<UserPasswordV1>
-
Gets a data item by its unique id. [...]
inherited
-
getOneRandom(String correlationId, Map<String, dynamic> filter)
→ Future<UserPasswordV1>
-
Gets a random item from items that match to a given filter. [...]
inherited
-
getPageByFilterEx(String correlationId, Map<String, dynamic> filter, PagingParams paging, Map<String, dynamic> sort)
→ Future<DataPage<UserPasswordV1>>
-
Gets a page of data items retrieved by a given filter and sorted according to sort parameters. [...]
inherited
-
isOpen()
→ bool
-
Checks if the component is opened. [...]
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
open(String correlationId)
→ Future
-
Opens the component. [...]
inherited
-
set(String correlationId, UserPasswordV1 item)
→ Future<UserPasswordV1>
-
Sets a data item. If the data item exists it updates it,
otherwise it create a new data item. [...]
inherited
-
setReferences(IReferences references)
→ void
-
Sets references to dependent components. [...]
inherited
-
toString()
→ String
-
Returns a string representation of this object.
inherited
-
unsetReferences()
→ void
-
Unsets (clears) previously set references to dependent components.
inherited
-
update(String correlationId, UserPasswordV1 item)
→ Future<UserPasswordV1>
-
Updates a data item. [...]
inherited
-
updatePartially(String correlationId, String id, AnyValueMap data)
→ Future<UserPasswordV1>
-
Updates only few selected fields in a data item. [...]
inherited
Operators
-
operator ==(dynamic other)
→ bool
-
The equality operator. [...]
inherited