Package com.soffid.iam.reconcile.service
Class ReconcileServiceBase
- java.lang.Object
-
- com.soffid.iam.reconcile.service.ReconcileServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.reconcile.service.ReconcileService
- Direct Known Subclasses:
ReconcileServiceImpl
public abstract class ReconcileServiceBase extends Object implements com.soffid.iam.reconcile.service.ReconcileService
Spring Service base class for
see com.soffid.iam.reconcile.service.ReconcileServicecom.soffid.iam.reconcile.service.ReconcileService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description ReconcileServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.reconcile.common.ReconcileAssignmentaddAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignmentInfo)com.soffid.iam.reconcile.common.ReconcileRoleaddRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)com.soffid.iam.reconcile.common.ReconcileAccountaddUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo)voidcreateReconcileTask(Long processId, String dispatcher)List<com.soffid.iam.reconcile.common.ReconcileAccount>findAllReconAccounts(Long processId)List<com.soffid.iam.reconcile.common.ReconcileAssignment>findAllReconAssignment(Long processId)List<com.soffid.iam.reconcile.common.ReconcileRole>findAllReconRole(Long processId)com.soffid.iam.reconcile.common.ReconcileAccountfindReconAccountById(Long accountId)com.soffid.iam.reconcile.common.ReconcileAssignmentfindReconAssignmentById(Long assignId)com.soffid.iam.reconcile.common.ReconcileRolefindReconRoleById(Long roleId)com.soffid.iam.service.AccountServicegetAccountService()Gets reference toaccountService.com.soffid.iam.service.ApplicationServicegetApplicationService()Gets reference toaplicacioService.com.soffid.iam.service.DispatcherServicegetDispatcherService()Gets reference todispatcherService.protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.ReconcileAccountAttributesEntityDaogetReconcileAccountAttributesEntityDao()Gets reference toreconcileAccountAttributesEntityDao.ReconcileAccountEntityDaogetReconcileAccountEntityDao()Gets reference toreconcileAccountEntityDao.ReconcileAssignmentEntityDaogetReconcileAssignmentEntityDao()Gets reference toreconcileAssignmentEntityDao.ReconcileRoleEntityDaogetReconcileRoleEntityDao()Gets reference toreconcileRoleEntityDao.TaskEntityDaogetTaskEntityDao()Gets reference totasqueEntityDao.UserEntityDaogetUserEntityDao()Gets reference tousuariEntityDao.com.soffid.iam.service.UserServicegetUserService()Gets reference tousuariService.protected abstract com.soffid.iam.reconcile.common.ReconcileAssignmenthandleAddAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignmentInfo)protected abstract com.soffid.iam.reconcile.common.ReconcileRolehandleAddRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)protected abstract com.soffid.iam.reconcile.common.ReconcileAccounthandleAddUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo)protected abstract voidhandleCreateReconcileTask(Long processId, String dispatcher)protected abstract List<com.soffid.iam.reconcile.common.ReconcileAccount>handleFindAllReconAccounts(Long processId)protected abstract List<com.soffid.iam.reconcile.common.ReconcileAssignment>handleFindAllReconAssignment(Long processId)protected abstract List<com.soffid.iam.reconcile.common.ReconcileRole>handleFindAllReconRole(Long processId)protected abstract com.soffid.iam.reconcile.common.ReconcileAccounthandleFindReconAccountById(Long accountId)protected abstract com.soffid.iam.reconcile.common.ReconcileAssignmenthandleFindReconAssignmentById(Long assignId)protected abstract com.soffid.iam.reconcile.common.ReconcileRolehandleFindReconRoleById(Long roleId)protected abstract booleanhandleIsPendingTasks(Long processId, Long taskId)protected abstract voidhandleReconcileAssignment(Long processId)protected abstract voidhandleReconcileData(Long processId)protected abstract voidhandleReconcileRoles(Long processId)protected abstract voidhandleReconcileUsers(Long processId)protected abstract voidhandleUpdateAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignInfo)protected abstract voidhandleUpdateRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)protected abstract voidhandleUpdateUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo)protected abstract voidhandleValidateReconcileAccount(com.soffid.iam.reconcile.common.ReconcileAccount accountinfo)protected abstract voidhandleValidateReconcileRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)booleanisPendingTasks(Long processId, Long taskId)voidreconcileAssignment(Long processId)voidreconcileData(Long processId)voidreconcileRoles(Long processId)voidreconcileUsers(Long processId)voidsetAccountService(com.soffid.iam.service.AccountService accountService)Sets reference toaccountService.voidsetApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)Sets reference toaplicacioService.voidsetDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)Sets reference todispatcherService.voidsetReconcileAccountAttributesEntityDao(ReconcileAccountAttributesEntityDao reconcileAccountAttributesEntityDao)Sets reference toreconcileAccountAttributesEntityDao.voidsetReconcileAccountEntityDao(ReconcileAccountEntityDao reconcileAccountEntityDao)Sets reference toreconcileAccountEntityDao.voidsetReconcileAssignmentEntityDao(ReconcileAssignmentEntityDao reconcileAssignmentEntityDao)Sets reference toreconcileAssignmentEntityDao.voidsetReconcileRoleEntityDao(ReconcileRoleEntityDao reconcileRoleEntityDao)Sets reference toreconcileRoleEntityDao.voidsetTaskEntityDao(TaskEntityDao tasqueEntityDao)Sets reference totasqueEntityDao.voidsetUserEntityDao(UserEntityDao usuariEntityDao)Sets reference tousuariEntityDao.voidsetUserService(com.soffid.iam.service.UserService usuariService)Sets reference tousuariService.voidupdateAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignInfo)voidupdateRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)voidupdateUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo)voidvalidateReconcileAccount(com.soffid.iam.reconcile.common.ReconcileAccount accountinfo)voidvalidateReconcileRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)
-
-
-
Method Detail
-
setAccountService
public void setAccountService(com.soffid.iam.service.AccountService accountService)
Sets reference toaccountService.
-
getAccountService
public com.soffid.iam.service.AccountService getAccountService()
Gets reference toaccountService.
-
setApplicationService
public void setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService.
-
getApplicationService
public com.soffid.iam.service.ApplicationService getApplicationService()
Gets reference toaplicacioService.
-
setDispatcherService
public void setDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)
Sets reference todispatcherService.
-
getDispatcherService
public com.soffid.iam.service.DispatcherService getDispatcherService()
Gets reference todispatcherService.
-
setReconcileAccountAttributesEntityDao
public void setReconcileAccountAttributesEntityDao(ReconcileAccountAttributesEntityDao reconcileAccountAttributesEntityDao)
Sets reference toreconcileAccountAttributesEntityDao.
-
getReconcileAccountAttributesEntityDao
public ReconcileAccountAttributesEntityDao getReconcileAccountAttributesEntityDao()
Gets reference toreconcileAccountAttributesEntityDao.
-
setReconcileAccountEntityDao
public void setReconcileAccountEntityDao(ReconcileAccountEntityDao reconcileAccountEntityDao)
Sets reference toreconcileAccountEntityDao.
-
getReconcileAccountEntityDao
public ReconcileAccountEntityDao getReconcileAccountEntityDao()
Gets reference toreconcileAccountEntityDao.
-
setReconcileAssignmentEntityDao
public void setReconcileAssignmentEntityDao(ReconcileAssignmentEntityDao reconcileAssignmentEntityDao)
Sets reference toreconcileAssignmentEntityDao.
-
getReconcileAssignmentEntityDao
public ReconcileAssignmentEntityDao getReconcileAssignmentEntityDao()
Gets reference toreconcileAssignmentEntityDao.
-
setReconcileRoleEntityDao
public void setReconcileRoleEntityDao(ReconcileRoleEntityDao reconcileRoleEntityDao)
Sets reference toreconcileRoleEntityDao.
-
getReconcileRoleEntityDao
public ReconcileRoleEntityDao getReconcileRoleEntityDao()
Gets reference toreconcileRoleEntityDao.
-
setTaskEntityDao
public void setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao.
-
getTaskEntityDao
public TaskEntityDao getTaskEntityDao()
Gets reference totasqueEntityDao.
-
setUserEntityDao
public void setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao.
-
getUserEntityDao
public UserEntityDao getUserEntityDao()
Gets reference tousuariEntityDao.
-
setUserService
public void setUserService(com.soffid.iam.service.UserService usuariService)
Sets reference tousuariService.
-
getUserService
public com.soffid.iam.service.UserService getUserService()
Gets reference tousuariService.
-
isPendingTasks
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean isPendingTasks(Long processId, Long taskId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
isPendingTasksin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleIsPendingTasks
protected abstract boolean handleIsPendingTasks(Long processId, Long taskId) throws Exception
- Throws:
Exception
-
addUser
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.reconcile.common.ReconcileAccount addUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
addUserin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleAddUser
protected abstract com.soffid.iam.reconcile.common.ReconcileAccount handleAddUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo) throws Exception- Throws:
Exception
-
findReconAccountById
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.reconcile.common.ReconcileAccount findReconAccountById(Long accountId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findReconAccountByIdin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindReconAccountById
protected abstract com.soffid.iam.reconcile.common.ReconcileAccount handleFindReconAccountById(Long accountId) throws Exception
- Throws:
Exception
-
addAssignment
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.reconcile.common.ReconcileAssignment addAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignmentInfo) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
addAssignmentin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleAddAssignment
protected abstract com.soffid.iam.reconcile.common.ReconcileAssignment handleAddAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignmentInfo) throws Exception- Throws:
Exception
-
findReconAssignmentById
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.reconcile.common.ReconcileAssignment findReconAssignmentById(Long assignId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findReconAssignmentByIdin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindReconAssignmentById
protected abstract com.soffid.iam.reconcile.common.ReconcileAssignment handleFindReconAssignmentById(Long assignId) throws Exception
- Throws:
Exception
-
addRole
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.reconcile.common.ReconcileRole addRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
addRolein interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleAddRole
protected abstract com.soffid.iam.reconcile.common.ReconcileRole handleAddRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo) throws Exception- Throws:
Exception
-
findReconRoleById
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.reconcile.common.ReconcileRole findReconRoleById(Long roleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findReconRoleByIdin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindReconRoleById
protected abstract com.soffid.iam.reconcile.common.ReconcileRole handleFindReconRoleById(Long roleId) throws Exception
- Throws:
Exception
-
findAllReconAccounts
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.reconcile.common.ReconcileAccount> findAllReconAccounts(Long processId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAllReconAccountsin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAllReconAccounts
protected abstract List<com.soffid.iam.reconcile.common.ReconcileAccount> handleFindAllReconAccounts(Long processId) throws Exception
- Throws:
Exception
-
findAllReconAssignment
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.reconcile.common.ReconcileAssignment> findAllReconAssignment(Long processId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAllReconAssignmentin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAllReconAssignment
protected abstract List<com.soffid.iam.reconcile.common.ReconcileAssignment> handleFindAllReconAssignment(Long processId) throws Exception
- Throws:
Exception
-
findAllReconRole
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.reconcile.common.ReconcileRole> findAllReconRole(Long processId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAllReconRolein interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAllReconRole
protected abstract List<com.soffid.iam.reconcile.common.ReconcileRole> handleFindAllReconRole(Long processId) throws Exception
- Throws:
Exception
-
createReconcileTask
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void createReconcileTask(Long processId, String dispatcher) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createReconcileTaskin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateReconcileTask
protected abstract void handleCreateReconcileTask(Long processId, String dispatcher) throws Exception
- Throws:
Exception
-
reconcileAssignment
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void reconcileAssignment(Long processId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
reconcileAssignmentin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleReconcileAssignment
protected abstract void handleReconcileAssignment(Long processId) throws Exception
- Throws:
Exception
-
reconcileData
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void reconcileData(Long processId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
reconcileDatain interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleReconcileData
protected abstract void handleReconcileData(Long processId) throws Exception
- Throws:
Exception
-
reconcileRoles
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void reconcileRoles(Long processId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
reconcileRolesin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleReconcileRoles
protected abstract void handleReconcileRoles(Long processId) throws Exception
- Throws:
Exception
-
reconcileUsers
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void reconcileUsers(Long processId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
reconcileUsersin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleReconcileUsers
protected abstract void handleReconcileUsers(Long processId) throws Exception
- Throws:
Exception
-
updateAssignment
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void updateAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignInfo) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updateAssignmentin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateAssignment
protected abstract void handleUpdateAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignInfo) throws Exception- Throws:
Exception
-
updateRole
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void updateRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updateRolein interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateRole
protected abstract void handleUpdateRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo) throws Exception- Throws:
Exception
-
updateUser
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void updateUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updateUserin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateUser
protected abstract void handleUpdateUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo) throws Exception- Throws:
Exception
-
validateReconcileAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void validateReconcileAccount(com.soffid.iam.reconcile.common.ReconcileAccount accountinfo) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
validateReconcileAccountin interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleValidateReconcileAccount
protected abstract void handleValidateReconcileAccount(com.soffid.iam.reconcile.common.ReconcileAccount accountinfo) throws Exception- Throws:
Exception
-
validateReconcileRole
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void validateReconcileRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
validateReconcileRolein interfacecom.soffid.iam.reconcile.service.ReconcileService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleValidateReconcileRole
protected abstract void handleValidateReconcileRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo) throws Exception- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-