Class DepositAccountCleanupRepositoryImpl
- java.lang.Object
-
- de.adorsys.ledgers.cleanup.repository.BaseCleanupRepository
-
- de.adorsys.ledgers.cleanup.repository.DepositAccountCleanupRepositoryImpl
-
- All Implemented Interfaces:
DepositAccountCleanupRepository
@Service public class DepositAccountCleanupRepositoryImpl extends BaseCleanupRepository implements DepositAccountCleanupRepository
-
-
Constructor Summary
Constructors Constructor Description DepositAccountCleanupRepositoryImpl(javax.persistence.EntityManager entityManager, org.springframework.core.io.ResourceLoader resourceLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteAccount(String accountId)voiddeleteBranch(String branchId)voiddeletePostings(String id)voiddeleteUser(String userId)voidrollBackBranch(String branch, LocalDateTime revertTimestamp)-
Methods inherited from class de.adorsys.ledgers.cleanup.repository.BaseCleanupRepository
executeUpdate
-
-
-
-
Method Detail
-
deleteBranch
public void deleteBranch(String branchId) throws CleanupModuleException
- Specified by:
deleteBranchin interfaceDepositAccountCleanupRepository- Throws:
CleanupModuleException
-
deleteUser
public void deleteUser(String userId) throws CleanupModuleException
- Specified by:
deleteUserin interfaceDepositAccountCleanupRepository- Throws:
CleanupModuleException
-
deleteAccount
public void deleteAccount(String accountId) throws CleanupModuleException
- Specified by:
deleteAccountin interfaceDepositAccountCleanupRepository- Throws:
CleanupModuleException
-
deletePostings
public void deletePostings(String id) throws CleanupModuleException
- Specified by:
deletePostingsin interfaceDepositAccountCleanupRepository- Throws:
CleanupModuleException
-
rollBackBranch
public void rollBackBranch(String branch, LocalDateTime revertTimestamp) throws CleanupModuleException
- Specified by:
rollBackBranchin interfaceDepositAccountCleanupRepository- Throws:
CleanupModuleException
-
-