Interface MiddlewareCleanupService
-
public interface MiddlewareCleanupService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteAccount(String userId, UserRoleTO userRole, String accountId)voiddeleteTransactions(String userId, UserRoleTO userRole, String accountId)Remove all transactions for deposit accountvoiddeleteUser(String userId, UserRoleTO userRole, String userToDeleteId)voidremoveBranch(String userId, UserRoleTO role, String branchId)
-
-
-
Method Detail
-
deleteTransactions
void deleteTransactions(String userId, UserRoleTO userRole, String accountId)
Remove all transactions for deposit account- Parameters:
userId- id of the useruserRole- role of user initiating operationaccountId- the account id
-
deleteAccount
void deleteAccount(String userId, UserRoleTO userRole, String accountId)
-
deleteUser
void deleteUser(String userId, UserRoleTO userRole, String userToDeleteId)
-
removeBranch
void removeBranch(String userId, UserRoleTO role, String branchId)
- Parameters:
userId- id of user initiating operationrole- role of user initiating operationbranchId- branch to remove
-
-