From b6c7231a7f7db860059c3af803a5ddf04aa2cb9e Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Wed, 15 Oct 2014 16:57:23 +0200 Subject: some cleanup and documentation of *Operation classes --- .../sufficientlysecure/keychain/operations/DeleteOperation.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/DeleteOperation.java') diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/DeleteOperation.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/DeleteOperation.java index 00d50aa9b..124dd1aaf 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/DeleteOperation.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/operations/DeleteOperation.java @@ -12,6 +12,14 @@ import org.sufficientlysecure.keychain.provider.ProviderHelper; import org.sufficientlysecure.keychain.service.ContactSyncAdapterService; import org.sufficientlysecure.keychain.ui.util.KeyFormattingUtils; +/** An operation which implements a high level keyring delete operation. + * + * This operation takes a list of masterKeyIds as input, deleting all + * corresponding public keyrings from the database. Secret keys can + * be deleted as well, but only explicitly and individually, not as + * a list. + * + */ public class DeleteOperation extends BaseOperation { public DeleteOperation(Context context, ProviderHelper providerHelper, Progressable progressable) { -- cgit v1.2.3