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.ReconcileAssignment
addAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignmentInfo)
com.soffid.iam.reconcile.common.ReconcileRole
addRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)
com.soffid.iam.reconcile.common.ReconcileAccount
addUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo)
void
createReconcileTask(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.ReconcileAccount
findReconAccountById(Long accountId)
com.soffid.iam.reconcile.common.ReconcileAssignment
findReconAssignmentById(Long assignId)
com.soffid.iam.reconcile.common.ReconcileRole
findReconRoleById(Long roleId)
com.soffid.iam.service.AccountService
getAccountService()
Gets reference toaccountService
.com.soffid.iam.service.ApplicationService
getApplicationService()
Gets reference toaplicacioService
.com.soffid.iam.service.DispatcherService
getDispatcherService()
Gets reference todispatcherService
.protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.ReconcileAccountAttributesEntityDao
getReconcileAccountAttributesEntityDao()
Gets reference toreconcileAccountAttributesEntityDao
.ReconcileAccountEntityDao
getReconcileAccountEntityDao()
Gets reference toreconcileAccountEntityDao
.ReconcileAssignmentEntityDao
getReconcileAssignmentEntityDao()
Gets reference toreconcileAssignmentEntityDao
.ReconcileRoleEntityDao
getReconcileRoleEntityDao()
Gets reference toreconcileRoleEntityDao
.TaskEntityDao
getTaskEntityDao()
Gets reference totasqueEntityDao
.UserEntityDao
getUserEntityDao()
Gets reference tousuariEntityDao
.com.soffid.iam.service.UserService
getUserService()
Gets reference tousuariService
.protected abstract com.soffid.iam.reconcile.common.ReconcileAssignment
handleAddAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignmentInfo)
protected abstract com.soffid.iam.reconcile.common.ReconcileRole
handleAddRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)
protected abstract com.soffid.iam.reconcile.common.ReconcileAccount
handleAddUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo)
protected abstract void
handleCreateReconcileTask(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.ReconcileAccount
handleFindReconAccountById(Long accountId)
protected abstract com.soffid.iam.reconcile.common.ReconcileAssignment
handleFindReconAssignmentById(Long assignId)
protected abstract com.soffid.iam.reconcile.common.ReconcileRole
handleFindReconRoleById(Long roleId)
protected abstract boolean
handleIsPendingTasks(Long processId, Long taskId)
protected abstract void
handleReconcileAssignment(Long processId)
protected abstract void
handleReconcileData(Long processId)
protected abstract void
handleReconcileRoles(Long processId)
protected abstract void
handleReconcileUsers(Long processId)
protected abstract void
handleUpdateAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignInfo)
protected abstract void
handleUpdateRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)
protected abstract void
handleUpdateUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo)
protected abstract void
handleValidateReconcileAccount(com.soffid.iam.reconcile.common.ReconcileAccount accountinfo)
protected abstract void
handleValidateReconcileRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)
boolean
isPendingTasks(Long processId, Long taskId)
void
reconcileAssignment(Long processId)
void
reconcileData(Long processId)
void
reconcileRoles(Long processId)
void
reconcileUsers(Long processId)
void
setAccountService(com.soffid.iam.service.AccountService accountService)
Sets reference toaccountService
.void
setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService
.void
setDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)
Sets reference todispatcherService
.void
setReconcileAccountAttributesEntityDao(ReconcileAccountAttributesEntityDao reconcileAccountAttributesEntityDao)
Sets reference toreconcileAccountAttributesEntityDao
.void
setReconcileAccountEntityDao(ReconcileAccountEntityDao reconcileAccountEntityDao)
Sets reference toreconcileAccountEntityDao
.void
setReconcileAssignmentEntityDao(ReconcileAssignmentEntityDao reconcileAssignmentEntityDao)
Sets reference toreconcileAssignmentEntityDao
.void
setReconcileRoleEntityDao(ReconcileRoleEntityDao reconcileRoleEntityDao)
Sets reference toreconcileRoleEntityDao
.void
setTaskEntityDao(TaskEntityDao tasqueEntityDao)
Sets reference totasqueEntityDao
.void
setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.void
setUserService(com.soffid.iam.service.UserService usuariService)
Sets reference tousuariService
.void
updateAssignment(com.soffid.iam.reconcile.common.ReconcileAssignment assignInfo)
void
updateRole(com.soffid.iam.reconcile.common.ReconcileRole roleInfo)
void
updateUser(com.soffid.iam.reconcile.common.ReconcileAccount userInfo)
void
validateReconcileAccount(com.soffid.iam.reconcile.common.ReconcileAccount accountinfo)
void
validateReconcileRole(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:
isPendingTasks
in 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:
addUser
in 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:
findReconAccountById
in 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:
addAssignment
in 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:
findReconAssignmentById
in 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:
addRole
in 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:
findReconRoleById
in 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:
findAllReconAccounts
in 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:
findAllReconAssignment
in 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:
findAllReconRole
in 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:
createReconcileTask
in 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:
reconcileAssignment
in 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:
reconcileData
in 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:
reconcileRoles
in 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:
reconcileUsers
in 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:
updateAssignment
in 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:
updateRole
in 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:
updateUser
in 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:
validateReconcileAccount
in 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:
validateReconcileRole
in 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 currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-