Removed direct calls to DB's contact/identity methods.

This commit is contained in:
akwizgran
2016-02-08 11:44:57 +00:00
parent 623707af0f
commit 675ce4bfef
10 changed files with 76 additions and 39 deletions

View File

@@ -30,10 +30,10 @@ public interface ContactManager {
void removeContact(ContactId c) throws DbException;
interface AddContactHook {
void addingContact(ContactId c);
void addingContact(Contact c);
}
interface RemoveContactHook {
void removingContact(ContactId c);
void removingContact(Contact c);
}
}

View File

@@ -25,10 +25,10 @@ public interface IdentityManager {
void removeLocalAuthor(AuthorId a) throws DbException;
interface AddIdentityHook {
void addingIdentity(AuthorId a);
void addingIdentity(LocalAuthor a);
}
interface RemoveIdentityHook {
void removingIdentity(AuthorId a);
void removingIdentity(LocalAuthor a);
}
}