libquentier 0.8.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
quentier::synchronization::ISendStatus Class Referenceabstract

The ISendStatus interface represents the information about the attempt to send information either from user's own account or from some linked notebook to Evernote. More...

#include <ISendStatus.h>

Inheritance diagram for quentier::synchronization::ISendStatus:
Inheritance graph
[legend]
Collaboration diagram for quentier::synchronization::ISendStatus:
Collaboration graph
[legend]

Public Types

using QExceptionPtr = std::shared_ptr< QException >
 
using NoteWithException = std::pair< qevercloud::Note, QExceptionPtr >
 
using NotebookWithException = std::pair< qevercloud::Notebook, QExceptionPtr >
 
using SavedSearchWithException = std::pair< qevercloud::SavedSearch, QExceptionPtr >
 
using TagWithException = std::pair< qevercloud::Tag, QExceptionPtr >
 

Public Member Functions

virtual quint64 totalAttemptedToSendNotes () const =0
 
virtual quint64 totalAttemptedToSendNotebooks () const =0
 
virtual quint64 totalAttemptedToSendSavedSearches () const =0
 
virtual quint64 totalAttemptedToSendTags () const =0
 
virtual quint64 totalSuccessfullySentNotes () const =0
 
virtual QList< NoteWithException > failedToSendNotes () const =0
 
virtual quint64 totalSuccessfullySentNotebooks () const =0
 
virtual QList< NotebookWithException > failedToSendNotebooks () const =0
 
virtual quint64 totalSuccessfullySentSavedSearches () const =0
 
virtual QList< SavedSearchWithException > failedToSendSavedSearches () const =0
 
virtual quint64 totalSuccessfullySentTags () const =0
 
virtual QList< TagWithException > failedToSendTags () const =0
 
virtual StopSynchronizationError stopSynchronizationError () const =0
 
virtual bool needToRepeatIncrementalSync () const =0
 
- Public Member Functions inherited from quentier::Printable
virtual QTextStreamprint (QTextStream &strm) const =0
 
QString toString () const
 

Detailed Description

The ISendStatus interface represents the information about the attempt to send information either from user's own account or from some linked notebook to Evernote.

Member Function Documentation

◆ failedToSendNotebooks()

virtual QList< NotebookWithException > quentier::synchronization::ISendStatus::failedToSendNotebooks ( ) const
pure virtual
Returns
list with notebooks and exceptions representing failures to send these notebooks to Evernote

◆ failedToSendNotes()

virtual QList< NoteWithException > quentier::synchronization::ISendStatus::failedToSendNotes ( ) const
pure virtual
Returns
list with notes and exceptions representing failures to send these notes to Evernote

◆ failedToSendSavedSearches()

virtual QList< SavedSearchWithException > quentier::synchronization::ISendStatus::failedToSendSavedSearches ( ) const
pure virtual
Returns
list with saved searches and exceptions representing failures to send these saved searches to Evernote

◆ failedToSendTags()

virtual QList< TagWithException > quentier::synchronization::ISendStatus::failedToSendTags ( ) const
pure virtual
Returns
list with tags and exceptions representing failures to send these tags to Evernote

◆ needToRepeatIncrementalSync()

virtual bool quentier::synchronization::ISendStatus::needToRepeatIncrementalSync ( ) const
pure virtual

If during the send step of synchronization it was found out that Evernote service's state of account has been updated since the last download step, returns true meaning that incremental download step should be repeated. Otherwise returns false.

◆ stopSynchronizationError()

virtual StopSynchronizationError quentier::synchronization::ISendStatus::stopSynchronizationError ( ) const
pure virtual
Returns
error which might have occurred during sending the data to Evernote which has prevented further attempts to send anything to Evernote or std::monostate if no such error has occurred

◆ totalAttemptedToSendNotebooks()

virtual quint64 quentier::synchronization::ISendStatus::totalAttemptedToSendNotebooks ( ) const
pure virtual
Returns
total number of notebooks attempted to be sent to Evernote

◆ totalAttemptedToSendNotes()

virtual quint64 quentier::synchronization::ISendStatus::totalAttemptedToSendNotes ( ) const
pure virtual
Returns
total number of notes attempted to be sent to Evernote

◆ totalAttemptedToSendSavedSearches()

virtual quint64 quentier::synchronization::ISendStatus::totalAttemptedToSendSavedSearches ( ) const
pure virtual
Returns
total number of saved searches attempted to be sent to Evernote

◆ totalAttemptedToSendTags()

virtual quint64 quentier::synchronization::ISendStatus::totalAttemptedToSendTags ( ) const
pure virtual
Returns
total number of tags attempted to be sent to Evernote

◆ totalSuccessfullySentNotebooks()

virtual quint64 quentier::synchronization::ISendStatus::totalSuccessfullySentNotebooks ( ) const
pure virtual
Returns
number of notebooks which were successfully sent to Evernote

◆ totalSuccessfullySentNotes()

virtual quint64 quentier::synchronization::ISendStatus::totalSuccessfullySentNotes ( ) const
pure virtual
Returns
number of notes which were successfully sent to Evernote

◆ totalSuccessfullySentSavedSearches()

virtual quint64 quentier::synchronization::ISendStatus::totalSuccessfullySentSavedSearches ( ) const
pure virtual
Returns
number of saved searches which were successfully sent to Evernote

◆ totalSuccessfullySentTags()

virtual quint64 quentier::synchronization::ISendStatus::totalSuccessfullySentTags ( ) const
pure virtual
Returns
number of tags which were successfully sent to Evernote