Skip to content

Commit

Permalink
refactor: change addMember to addOrUpdateMember
Browse files Browse the repository at this point in the history
  • Loading branch information
brasseld committed Nov 21, 2015
1 parent 2f138b3 commit 98b0635
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public interface ApiRepository extends CrudRepository<Api, String>{
*/
Set<Api> findByApplication(String application) throws TechnicalException;

void addMember(String api, String username, MembershipType membershipType) throws TechnicalException;
void saveMember(String api, String username, MembershipType membershipType) throws TechnicalException;

void deleteMember(String api, String username) throws TechnicalException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public interface ApplicationRepository extends CrudRepository<Application, Strin
*/
int countByUser(String userName, MembershipType membershipType) throws TechnicalException;

void addMember(String application, String username, MembershipType membershipType) throws TechnicalException;
void saveMember(String application, String username, MembershipType membershipType) throws TechnicalException;

void deleteMember(String application, String username) throws TechnicalException;

Expand Down

0 comments on commit 98b0635

Please sign in to comment.