Skip to content
This repository has been archived by the owner on Jul 29, 2021. It is now read-only.

Commit

Permalink
fix(api): delete memberships and notifications on delete
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGeraud committed Dec 27, 2019
1 parent 890a8e3 commit d3985fd
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ public interface MembershipRepository {
Membership update(Membership membership) throws TechnicalException;
void delete(Membership membership) throws TechnicalException;

/**
* delete all members of a reference
* @param referenceType
* @param referenceId
* @throws TechnicalException
*/
void deleteMembers(MembershipReferenceType referenceType, String referenceId) throws TechnicalException;

/**
* find membership by id.
* the MembershipId is a combination of username, reference type and referenceId
Expand Down

0 comments on commit d3985fd

Please sign in to comment.