JournalArchive class Journal

This class is for showing archived services at date state.atDate.

It is stubbed and read only version of Journal class.

Inheritance
Implementers

Constructors

JournalArchive({required Ref<Object?> ref, required String apiKey, required AppState state})

Properties

aData DateTime?
At what date is journal, if null - load all values.
finalinherited
aDate DateTime?
read-only
added List<ServiceOfJournal>
read-onlyinherited
all List<ServiceOfJournal>
read-onlyinherited
apiKey String
read / writeinherited
finished List<ServiceOfJournal>
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
hive Box<ServiceOfJournal>
read-onlyoverride
hiveRepository HiveRepository
read-onlyinherited
httpInterface JournalHttpInterface
read-onlyoverride
journalHiveName String
read-onlyoverride
outDated List<ServiceOfJournal>
read-onlyinherited
ref Ref<Object?>
finalinherited
rejected List<ServiceOfJournal>
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
servicesForSync List<ServiceOfJournal>
read-onlyinherited
servicesOf HiveRepositoryProvider
read-onlyoverride
state AppState
finalinherited
today DateTime
read-onlyinherited
worker Worker
read-onlyinherited
workerDepId int
read-onlyinherited

Methods

archiveOldServices() Future<void>
This method of base class is stubbed.
override
commitAll([JournalHttpInterface? httpClient, List<ServiceOfJournal>? forSync]) Future<void>
This method of base class is stubbed.
override
delete({ServiceOfJournal? serv, String? uuid}) Future<bool>
This method of base class is stubbed.
override
exportToFile(DateTime start, DateTime end) Future<void>
inherited
getUuidOfLastService({required int servId, required int contractId}) String?
Helper, only used in ClientService, it delete last ServiceOfJournal.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post(ServiceOfJournal se) Future<bool>
This method of base class is stubbed.
override
toString() String
A string representation of this object.
inherited
updateBasedOnNewPlanDate() Future<void>
This method of base class is stubbed.
override

Operators

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