All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.adorsys.ledgers.middleware.api.service.MiddlewareCleanupService Maven / Gradle / Ivy

There is a newer version: 4.17
Show newest version
package de.adorsys.ledgers.middleware.api.service;

import de.adorsys.ledgers.middleware.api.domain.um.UserRoleTO;

public interface MiddlewareCleanupService {

    /**
     * Remove all transactions for deposit account
     *
     * @param userId    id of the user
     * @param userRole  role of user initiating operation
     * @param accountId the account id
     */
    void deleteTransactions(String userId, UserRoleTO userRole, String accountId);

    void deleteAccount(String userId, UserRoleTO userRole, String accountId);

    void deleteUser(String userId, UserRoleTO userRole, String userToDeleteId);

    /**
     * @param userId   id of user initiating operation
     * @param role     role of user initiating operation
     * @param branchId branch to remove
     */
    void removeBranch(String userId, UserRoleTO role, String branchId);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy