summaryrefslogtreecommitdiffstats
path: root/store/layered_store_supplier.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-09-15 17:35:55 +0100
committerChristopher Speller <crspeller@gmail.com>2017-09-15 09:35:55 -0700
commit8195c80aa12136838ff4491fac989e0b946382b1 (patch)
treeda24729af5acbd3349c75923d346cfa7aa9ad95c /store/layered_store_supplier.go
parent2628022275ef64fde95545abe4634b4bd7177844 (diff)
downloadchat-8195c80aa12136838ff4491fac989e0b946382b1.tar.gz
chat-8195c80aa12136838ff4491fac989e0b946382b1.tar.bz2
chat-8195c80aa12136838ff4491fac989e0b946382b1.zip
PLT-7639: Batch delete methods for data retention. (#7444)
Diffstat (limited to 'store/layered_store_supplier.go')
-rw-r--r--store/layered_store_supplier.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/layered_store_supplier.go b/store/layered_store_supplier.go
index 35668c717..841b75a32 100644
--- a/store/layered_store_supplier.go
+++ b/store/layered_store_supplier.go
@@ -30,4 +30,5 @@ type LayeredStoreSupplier interface {
ReactionDelete(ctx context.Context, reaction *model.Reaction, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
ReactionGetForPost(ctx context.Context, postId string, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
ReactionDeleteAllWithEmojiName(ctx context.Context, emojiName string, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
+ ReactionPermanentDeleteBatch(ctx context.Context, endTime int64, limit int64, hints ...LayeredStoreHint) *LayeredStoreSupplierResult
}