pda
androidJvm
app
/
net.artux.pda.repositories
/
SummaryRepository
Summary
Repository
@
Singleton
class
SummaryRepository
@
Inject
constructor
(
summaryCache
:
Cache
<
Summary
>
)
Members
Constructors
Summary
Repository
Link copied to clipboard
@
Inject
constructor
(
summaryCache
:
Cache
<
Summary
>
)
Properties
summary
Messages
Link copied to clipboard
var
summaryMessages
:
LinkedList
<
UserMessage
>
Functions
check
Link copied to clipboard
fun
check
(
message
:
UserMessage
)
clear
Link copied to clipboard
fun
clear
(
)
get
All
Link copied to clipboard
fun
getAll
(
)
:
List
<
Summary
>
get
Cached
Summary
Link copied to clipboard
fun
getCachedSummary
(
id
:
String
)
:
Result
<
Summary
>
put
Summary
Link copied to clipboard
fun
putSummary
(
id
:
String
,
summary
:
Summary
)
remove
Link copied to clipboard
fun
remove
(
id
:
String
)
update
Summary
Link copied to clipboard
fun
updateSummary
(
)