SessionAnnotationService class

Service that manages temporary annotations (session only)

Constructors

SessionAnnotationService()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

addAnnotation(String reportId, SessionAnnotation annotation) → void
Adds a temporary annotation
clearAllAnnotations() → void
Clears all annotations (end of session)
clearAnnotations(String reportId) → void
Deletes all temporary annotations of a report
deleteAnnotation(String reportId, String annotationId) → void
Deletes a temporary annotation
generateId() → String
Generates a unique annotation ID
getAnnotationCount(String reportId) → int
Counts the annotations of a report
getAnnotations(String reportId) → List<SessionAnnotation>
Returns all temporary annotations of a report
getAnnotationsForElement(String reportId, String elementId) → List<SessionAnnotation>
Returns the annotations of a specific element
getAnnotationsForPage(String reportId, int pageIndex) → List<SessionAnnotation>
Returns the annotations of a specific page