Package com.soffid.iam.service
Class EntryPointServiceBase
- java.lang.Object
-
- com.soffid.iam.service.EntryPointServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.service.EntryPointService
- Direct Known Subclasses:
EntryPointServiceImpl
public abstract class EntryPointServiceBase extends Object implements com.soffid.iam.service.EntryPointService
Spring Service base class for
see com.soffid.iam.service.EntryPointServicecom.soffid.iam.service.EntryPointService
, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description EntryPointServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
applicationAccessTreeHasAnyACL(String codiUsuari)
boolean
canAdmin(com.soffid.iam.api.AccessTree puntEntrada)
boolean
canExecute(com.soffid.iam.api.AccessTree puntEntrada)
boolean
canQuery(com.soffid.iam.api.AccessTree puntEntrada)
boolean
canView(com.soffid.iam.api.AccessTree puntEntrada)
boolean
copyApplicationAccess(com.soffid.iam.api.AccessTree puntEntradaCopiar, com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
boolean
copyApplicationAccessLink(com.soffid.iam.api.AccessTree puntEntradaCopiar, com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
com.soffid.iam.api.AccessTree
create(com.soffid.iam.api.AccessTree puntEntrada)
com.soffid.iam.api.AccessTreeAuthorization
createAuthorization(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeAuthorization autoritzacio)
com.soffid.iam.api.AccessTreeExecution
createExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio)
void
delete(com.soffid.iam.api.AccessTree puntEntrada)
void
deleteAuthorization(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeAuthorization autoritzacio)
void
deleteExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio)
List<com.soffid.iam.api.AccessTree>
findAccessTreeByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
com.soffid.iam.api.AsyncList<com.soffid.iam.api.AccessTree>
findAccessTreeByTextAndJsonQueryAsync(String text, String jsonQuery)
Collection<com.soffid.iam.api.AccessTree>
findApplicationAccessByFilter(String nomPUE, String codiPUE, String codiAplicacio, String codiRol, String codiGrup, String codiUsuari)
com.soffid.iam.api.AccessTree
findApplicationAccessById(long id)
Collection<com.soffid.iam.api.AccessTree>
findChildren(com.soffid.iam.api.AccessTree puntEntrada)
Collection<com.soffid.iam.api.AccessTree>
findMenuChildren(com.soffid.iam.api.AccessTree puntEntrada)
com.soffid.iam.api.AccessTree
findRoot()
AccountEntityDao
getAccountEntityDao()
Gets reference toaccountEntityDao
.com.soffid.iam.service.AccountService
getAccountService()
Gets reference toaccountService
.Collection<com.soffid.iam.api.Application>
getAllApplications(Boolean aplicacioBuida)
Collection<com.soffid.iam.api.AccessTreeExecutionType>
getAllMimeTypeExecution()
com.soffid.iam.service.ApplicationService
getApplicationService()
Gets reference toaplicacioService
.com.soffid.iam.service.AsyncRunnerService
getAsyncRunnerService()
Gets reference toasyncRunnerService
.AuditEntityDao
getAuditEntityDao()
Gets reference toauditoriaEntityDao
.Collection<com.soffid.iam.api.AccessTreeAuthorization>
getAuthorizationsApplicationAcessTree(com.soffid.iam.api.AccessTree puntEntrada)
com.soffid.iam.service.DispatcherService
getDispatcherService()
Gets reference todispatcherService
.EntryPointAccountEntityDao
getEntryPointAccountEntityDao()
Gets reference toentryPointAccountEntityDao
.EntryPointEntityDao
getEntryPointEntityDao()
Gets reference topuntEntradaEntityDao
.EntryPointExecutableEntityDao
getEntryPointExecutableEntityDao()
Gets reference toexecucioPuntEntradaEntityDao
.EntryPointExecutionTypeEntityDao
getEntryPointExecutionTypeEntityDao()
Gets reference totipusExecucioPuntEntradaEntityDao
.EntryPointGroupEntityDao
getEntryPointGroupEntityDao()
Gets reference toautoritzacioPUEGrupEntityDao
.EntryPointIconEntityDao
getEntryPointIconEntityDao()
Gets reference toiconaEntityDao
.EntryPointRoleEntityDao
getEntryPointRoleEntityDao()
Gets reference toautoritzacioPUERolEntityDao
.EntryPointTreeEntityDao
getEntryPointTreeEntityDao()
Gets reference toarbrePuntEntradaEntityDao
.EntryPointUserEntityDao
getEntryPointUserEntityDao()
Gets reference toautoritzacioPUEUsuariEntityDao
.Collection<com.soffid.iam.api.AccessTreeExecution>
getExecutions(com.soffid.iam.api.AccessTree puntEntrada)
GroupEntityDao
getGroupEntityDao()
Gets reference togrupEntityDao
.HostEntryPointEntityDao
getHostEntryPointEntityDao()
Gets reference tohostEntryPointEntityDao
.InformationSystemEntityDao
getInformationSystemEntityDao()
Gets reference toaplicacioEntityDao
.com.soffid.iam.service.NetworkService
getNetworkService()
Gets reference toxarxaService
.protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.Collection<String>
getReverseApplicationAccessTree(com.soffid.iam.api.AccessTree puntEntrada)
RoleEntityDao
getRoleEntityDao()
Gets reference torolEntityDao
.String
getScopeForAddress(String address)
UserEntityDao
getUserEntityDao()
Gets reference tousuariEntityDao
.com.soffid.iam.service.UserService
getUserService()
Gets reference tousuariService
.protected abstract boolean
handleApplicationAccessTreeHasAnyACL(String codiUsuari)
protected abstract boolean
handleCanAdmin(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract boolean
handleCanExecute(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract boolean
handleCanQuery(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract boolean
handleCanView(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract boolean
handleCopyApplicationAccess(com.soffid.iam.api.AccessTree puntEntradaCopiar, com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
protected abstract boolean
handleCopyApplicationAccessLink(com.soffid.iam.api.AccessTree puntEntradaCopiar, com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
protected abstract com.soffid.iam.api.AccessTree
handleCreate(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract com.soffid.iam.api.AccessTreeAuthorization
handleCreateAuthorization(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeAuthorization autoritzacio)
protected abstract com.soffid.iam.api.AccessTreeExecution
handleCreateExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio)
protected abstract void
handleDelete(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract void
handleDeleteAuthorization(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeAuthorization autoritzacio)
protected abstract void
handleDeleteExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio)
protected abstract List<com.soffid.iam.api.AccessTree>
handleFindAccessTreeByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.AccessTree>
handleFindAccessTreeByTextAndJsonQueryAsync(String text, String jsonQuery)
protected abstract Collection<com.soffid.iam.api.AccessTree>
handleFindApplicationAccessByFilter(String nomPUE, String codiPUE, String codiAplicacio, String codiRol, String codiGrup, String codiUsuari)
protected abstract com.soffid.iam.api.AccessTree
handleFindApplicationAccessById(long id)
protected abstract Collection<com.soffid.iam.api.AccessTree>
handleFindChildren(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract Collection<com.soffid.iam.api.AccessTree>
handleFindMenuChildren(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract com.soffid.iam.api.AccessTree
handleFindRoot()
protected abstract Collection<com.soffid.iam.api.Application>
handleGetAllApplications(Boolean aplicacioBuida)
protected abstract Collection<com.soffid.iam.api.AccessTreeExecutionType>
handleGetAllMimeTypeExecution()
protected abstract Collection<com.soffid.iam.api.AccessTreeAuthorization>
handleGetAuthorizationsApplicationAcessTree(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract Collection<com.soffid.iam.api.AccessTreeExecution>
handleGetExecutions(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract Collection<String>
handleGetReverseApplicationAccessTree(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract String
handleGetScopeForAddress(String address)
protected abstract boolean
handleIsAuthorized(com.soffid.iam.api.AccessTree puntEntrada, String nivell)
protected abstract boolean
handleIsAuthorized(String codiUsuari, Long idPuntEntrada, String nivell)
protected abstract boolean
handleMoveApplicationAccessTreeMenu(com.soffid.iam.api.AccessTree puntEntradaMoure, com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
protected abstract boolean
handleReorderApplicationAccess(com.soffid.iam.api.AccessTree puntEntradaOrdenar, com.soffid.iam.api.AccessTree puntEntradaSeguent)
protected abstract void
handleSortChildren(long entryPointId)
protected abstract com.soffid.iam.api.AccessTree
handleUpdate(com.soffid.iam.api.AccessTree puntEntrada)
protected abstract com.soffid.iam.api.AccessTreeExecution
handleUpdateExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio)
protected abstract String
handleValidateXMLApplicationAccess(com.soffid.iam.api.AccessTree puntEntrada)
boolean
isAuthorized(com.soffid.iam.api.AccessTree puntEntrada, String nivell)
boolean
isAuthorized(String codiUsuari, Long idPuntEntrada, String nivell)
boolean
moveApplicationAccessTreeMenu(com.soffid.iam.api.AccessTree puntEntradaMoure, com.soffid.iam.api.AccessTree puntEntradaMenuDesti)
boolean
reorderApplicationAccess(com.soffid.iam.api.AccessTree puntEntradaOrdenar, com.soffid.iam.api.AccessTree puntEntradaSeguent)
void
setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao
.void
setAccountService(com.soffid.iam.service.AccountService accountService)
Sets reference toaccountService
.void
setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService
.void
setAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)
Sets reference toasyncRunnerService
.void
setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao
.void
setDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)
Sets reference todispatcherService
.void
setEntryPointAccountEntityDao(EntryPointAccountEntityDao entryPointAccountEntityDao)
Sets reference toentryPointAccountEntityDao
.void
setEntryPointEntityDao(EntryPointEntityDao puntEntradaEntityDao)
Sets reference topuntEntradaEntityDao
.void
setEntryPointExecutableEntityDao(EntryPointExecutableEntityDao execucioPuntEntradaEntityDao)
Sets reference toexecucioPuntEntradaEntityDao
.void
setEntryPointExecutionTypeEntityDao(EntryPointExecutionTypeEntityDao tipusExecucioPuntEntradaEntityDao)
Sets reference totipusExecucioPuntEntradaEntityDao
.void
setEntryPointGroupEntityDao(EntryPointGroupEntityDao autoritzacioPUEGrupEntityDao)
Sets reference toautoritzacioPUEGrupEntityDao
.void
setEntryPointIconEntityDao(EntryPointIconEntityDao iconaEntityDao)
Sets reference toiconaEntityDao
.void
setEntryPointRoleEntityDao(EntryPointRoleEntityDao autoritzacioPUERolEntityDao)
Sets reference toautoritzacioPUERolEntityDao
.void
setEntryPointTreeEntityDao(EntryPointTreeEntityDao arbrePuntEntradaEntityDao)
Sets reference toarbrePuntEntradaEntityDao
.void
setEntryPointUserEntityDao(EntryPointUserEntityDao autoritzacioPUEUsuariEntityDao)
Sets reference toautoritzacioPUEUsuariEntityDao
.void
setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao
.void
setHostEntryPointEntityDao(HostEntryPointEntityDao hostEntryPointEntityDao)
Sets reference tohostEntryPointEntityDao
.void
setInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)
Sets reference toaplicacioEntityDao
.void
setNetworkService(com.soffid.iam.service.NetworkService xarxaService)
Sets reference toxarxaService
.void
setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao
.void
setUserEntityDao(UserEntityDao usuariEntityDao)
Sets reference tousuariEntityDao
.void
setUserService(com.soffid.iam.service.UserService usuariService)
Sets reference tousuariService
.void
sortChildren(long entryPointId)
com.soffid.iam.api.AccessTree
update(com.soffid.iam.api.AccessTree puntEntrada)
com.soffid.iam.api.AccessTreeExecution
updateExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio)
String
validateXMLApplicationAccess(com.soffid.iam.api.AccessTree puntEntrada)
-
-
-
Method Detail
-
setAccountEntityDao
public void setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao
.
-
getAccountEntityDao
public AccountEntityDao getAccountEntityDao()
Gets reference toaccountEntityDao
.
-
setAccountService
public void setAccountService(com.soffid.iam.service.AccountService accountService)
Sets reference toaccountService
.
-
getAccountService
public com.soffid.iam.service.AccountService getAccountService()
Gets reference toaccountService
.
-
setInformationSystemEntityDao
public void setInformationSystemEntityDao(InformationSystemEntityDao aplicacioEntityDao)
Sets reference toaplicacioEntityDao
.
-
getInformationSystemEntityDao
public InformationSystemEntityDao getInformationSystemEntityDao()
Gets reference toaplicacioEntityDao
.
-
setApplicationService
public void setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService
.
-
getApplicationService
public com.soffid.iam.service.ApplicationService getApplicationService()
Gets reference toaplicacioService
.
-
setEntryPointTreeEntityDao
public void setEntryPointTreeEntityDao(EntryPointTreeEntityDao arbrePuntEntradaEntityDao)
Sets reference toarbrePuntEntradaEntityDao
.
-
getEntryPointTreeEntityDao
public EntryPointTreeEntityDao getEntryPointTreeEntityDao()
Gets reference toarbrePuntEntradaEntityDao
.
-
setAsyncRunnerService
public void setAsyncRunnerService(com.soffid.iam.service.AsyncRunnerService asyncRunnerService)
Sets reference toasyncRunnerService
.
-
getAsyncRunnerService
public com.soffid.iam.service.AsyncRunnerService getAsyncRunnerService()
Gets reference toasyncRunnerService
.
-
setAuditEntityDao
public void setAuditEntityDao(AuditEntityDao auditoriaEntityDao)
Sets reference toauditoriaEntityDao
.
-
getAuditEntityDao
public AuditEntityDao getAuditEntityDao()
Gets reference toauditoriaEntityDao
.
-
setEntryPointGroupEntityDao
public void setEntryPointGroupEntityDao(EntryPointGroupEntityDao autoritzacioPUEGrupEntityDao)
Sets reference toautoritzacioPUEGrupEntityDao
.
-
getEntryPointGroupEntityDao
public EntryPointGroupEntityDao getEntryPointGroupEntityDao()
Gets reference toautoritzacioPUEGrupEntityDao
.
-
setEntryPointRoleEntityDao
public void setEntryPointRoleEntityDao(EntryPointRoleEntityDao autoritzacioPUERolEntityDao)
Sets reference toautoritzacioPUERolEntityDao
.
-
getEntryPointRoleEntityDao
public EntryPointRoleEntityDao getEntryPointRoleEntityDao()
Gets reference toautoritzacioPUERolEntityDao
.
-
setEntryPointUserEntityDao
public void setEntryPointUserEntityDao(EntryPointUserEntityDao autoritzacioPUEUsuariEntityDao)
Sets reference toautoritzacioPUEUsuariEntityDao
.
-
getEntryPointUserEntityDao
public EntryPointUserEntityDao getEntryPointUserEntityDao()
Gets reference toautoritzacioPUEUsuariEntityDao
.
-
setDispatcherService
public void setDispatcherService(com.soffid.iam.service.DispatcherService dispatcherService)
Sets reference todispatcherService
.
-
getDispatcherService
public com.soffid.iam.service.DispatcherService getDispatcherService()
Gets reference todispatcherService
.
-
setEntryPointAccountEntityDao
public void setEntryPointAccountEntityDao(EntryPointAccountEntityDao entryPointAccountEntityDao)
Sets reference toentryPointAccountEntityDao
.
-
getEntryPointAccountEntityDao
public EntryPointAccountEntityDao getEntryPointAccountEntityDao()
Gets reference toentryPointAccountEntityDao
.
-
setEntryPointExecutableEntityDao
public void setEntryPointExecutableEntityDao(EntryPointExecutableEntityDao execucioPuntEntradaEntityDao)
Sets reference toexecucioPuntEntradaEntityDao
.
-
getEntryPointExecutableEntityDao
public EntryPointExecutableEntityDao getEntryPointExecutableEntityDao()
Gets reference toexecucioPuntEntradaEntityDao
.
-
setGroupEntityDao
public void setGroupEntityDao(GroupEntityDao grupEntityDao)
Sets reference togrupEntityDao
.
-
getGroupEntityDao
public GroupEntityDao getGroupEntityDao()
Gets reference togrupEntityDao
.
-
setHostEntryPointEntityDao
public void setHostEntryPointEntityDao(HostEntryPointEntityDao hostEntryPointEntityDao)
Sets reference tohostEntryPointEntityDao
.
-
getHostEntryPointEntityDao
public HostEntryPointEntityDao getHostEntryPointEntityDao()
Gets reference tohostEntryPointEntityDao
.
-
setEntryPointIconEntityDao
public void setEntryPointIconEntityDao(EntryPointIconEntityDao iconaEntityDao)
Sets reference toiconaEntityDao
.
-
getEntryPointIconEntityDao
public EntryPointIconEntityDao getEntryPointIconEntityDao()
Gets reference toiconaEntityDao
.
-
setEntryPointEntityDao
public void setEntryPointEntityDao(EntryPointEntityDao puntEntradaEntityDao)
Sets reference topuntEntradaEntityDao
.
-
getEntryPointEntityDao
public EntryPointEntityDao getEntryPointEntityDao()
Gets reference topuntEntradaEntityDao
.
-
setRoleEntityDao
public void setRoleEntityDao(RoleEntityDao rolEntityDao)
Sets reference torolEntityDao
.
-
getRoleEntityDao
public RoleEntityDao getRoleEntityDao()
Gets reference torolEntityDao
.
-
setEntryPointExecutionTypeEntityDao
public void setEntryPointExecutionTypeEntityDao(EntryPointExecutionTypeEntityDao tipusExecucioPuntEntradaEntityDao)
Sets reference totipusExecucioPuntEntradaEntityDao
.
-
getEntryPointExecutionTypeEntityDao
public EntryPointExecutionTypeEntityDao getEntryPointExecutionTypeEntityDao()
Gets reference totipusExecucioPuntEntradaEntityDao
.
-
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
.
-
setNetworkService
public void setNetworkService(com.soffid.iam.service.NetworkService xarxaService)
Sets reference toxarxaService
.
-
getNetworkService
public com.soffid.iam.service.NetworkService getNetworkService()
Gets reference toxarxaService
.
-
canAdmin
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean canAdmin(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
canAdmin
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCanAdmin
protected abstract boolean handleCanAdmin(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
canExecute
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean canExecute(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
canExecute
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCanExecute
protected abstract boolean handleCanExecute(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
canQuery
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean canQuery(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
canQuery
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCanQuery
protected abstract boolean handleCanQuery(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
canView
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean canView(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
canView
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCanView
protected abstract boolean handleCanView(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
copyApplicationAccessLink
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean copyApplicationAccessLink(com.soffid.iam.api.AccessTree puntEntradaCopiar, com.soffid.iam.api.AccessTree puntEntradaMenuDesti) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
copyApplicationAccessLink
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCopyApplicationAccessLink
protected abstract boolean handleCopyApplicationAccessLink(com.soffid.iam.api.AccessTree puntEntradaCopiar, com.soffid.iam.api.AccessTree puntEntradaMenuDesti) throws Exception
- Throws:
Exception
-
copyApplicationAccess
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean copyApplicationAccess(com.soffid.iam.api.AccessTree puntEntradaCopiar, com.soffid.iam.api.AccessTree puntEntradaMenuDesti) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
copyApplicationAccess
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCopyApplicationAccess
protected abstract boolean handleCopyApplicationAccess(com.soffid.iam.api.AccessTree puntEntradaCopiar, com.soffid.iam.api.AccessTree puntEntradaMenuDesti) throws Exception
- Throws:
Exception
-
isAuthorized
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean isAuthorized(com.soffid.iam.api.AccessTree puntEntrada, String nivell) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isAuthorized
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleIsAuthorized
protected abstract boolean handleIsAuthorized(com.soffid.iam.api.AccessTree puntEntrada, String nivell) throws Exception
- Throws:
Exception
-
isAuthorized
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean isAuthorized(String codiUsuari, Long idPuntEntrada, String nivell) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isAuthorized
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleIsAuthorized
protected abstract boolean handleIsAuthorized(String codiUsuari, Long idPuntEntrada, String nivell) throws Exception
- Throws:
Exception
-
applicationAccessTreeHasAnyACL
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean applicationAccessTreeHasAnyACL(String codiUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
applicationAccessTreeHasAnyACL
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleApplicationAccessTreeHasAnyACL
protected abstract boolean handleApplicationAccessTreeHasAnyACL(String codiUsuari) throws Exception
- Throws:
Exception
-
moveApplicationAccessTreeMenu
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean moveApplicationAccessTreeMenu(com.soffid.iam.api.AccessTree puntEntradaMoure, com.soffid.iam.api.AccessTree puntEntradaMenuDesti) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
moveApplicationAccessTreeMenu
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleMoveApplicationAccessTreeMenu
protected abstract boolean handleMoveApplicationAccessTreeMenu(com.soffid.iam.api.AccessTree puntEntradaMoure, com.soffid.iam.api.AccessTree puntEntradaMenuDesti) throws Exception
- Throws:
Exception
-
reorderApplicationAccess
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public boolean reorderApplicationAccess(com.soffid.iam.api.AccessTree puntEntradaOrdenar, com.soffid.iam.api.AccessTree puntEntradaSeguent) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
reorderApplicationAccess
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleReorderApplicationAccess
protected abstract boolean handleReorderApplicationAccess(com.soffid.iam.api.AccessTree puntEntradaOrdenar, com.soffid.iam.api.AccessTree puntEntradaSeguent) throws Exception
- Throws:
Exception
-
findAccessTreeByTextAndJsonQueryAsync
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<com.soffid.iam.api.AccessTree> findAccessTreeByTextAndJsonQueryAsync(String text, String jsonQuery) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccessTreeByTextAndJsonQueryAsync
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccessTreeByTextAndJsonQueryAsync
protected abstract com.soffid.iam.api.AsyncList<com.soffid.iam.api.AccessTree> handleFindAccessTreeByTextAndJsonQueryAsync(String text, String jsonQuery) throws Exception
- Throws:
Exception
-
createAuthorization
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AccessTreeAuthorization createAuthorization(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeAuthorization autoritzacio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createAuthorization
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateAuthorization
protected abstract com.soffid.iam.api.AccessTreeAuthorization handleCreateAuthorization(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeAuthorization autoritzacio) throws Exception
- Throws:
Exception
-
createExecution
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AccessTreeExecution createExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
createExecution
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreateExecution
protected abstract com.soffid.iam.api.AccessTreeExecution handleCreateExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio) throws Exception
- Throws:
Exception
-
updateExecution
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AccessTreeExecution updateExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateExecution
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdateExecution
protected abstract com.soffid.iam.api.AccessTreeExecution handleUpdateExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio) throws Exception
- Throws:
Exception
-
create
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AccessTree create(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleCreate
protected abstract com.soffid.iam.api.AccessTree handleCreate(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
findApplicationAccessById
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AccessTree findApplicationAccessById(long id) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findApplicationAccessById
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindApplicationAccessById
protected abstract com.soffid.iam.api.AccessTree handleFindApplicationAccessById(long id) throws Exception
- Throws:
Exception
-
findRoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AccessTree findRoot() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findRoot
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindRoot
protected abstract com.soffid.iam.api.AccessTree handleFindRoot() throws Exception
- Throws:
Exception
-
update
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AccessTree update(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleUpdate
protected abstract com.soffid.iam.api.AccessTree handleUpdate(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
getScopeForAddress
@Transactional(rollbackFor=java.lang.Exception.class) public String getScopeForAddress(String address) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getScopeForAddress
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetScopeForAddress
protected abstract String handleGetScopeForAddress(String address) throws Exception
- Throws:
Exception
-
validateXMLApplicationAccess
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public String validateXMLApplicationAccess(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
validateXMLApplicationAccess
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleValidateXMLApplicationAccess
protected abstract String handleValidateXMLApplicationAccess(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
findChildren
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AccessTree> findChildren(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findChildren
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindChildren
protected abstract Collection<com.soffid.iam.api.AccessTree> handleFindChildren(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
findMenuChildren
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AccessTree> findMenuChildren(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findMenuChildren
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindMenuChildren
protected abstract Collection<com.soffid.iam.api.AccessTree> handleFindMenuChildren(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
findApplicationAccessByFilter
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AccessTree> findApplicationAccessByFilter(String nomPUE, String codiPUE, String codiAplicacio, String codiRol, String codiGrup, String codiUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findApplicationAccessByFilter
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindApplicationAccessByFilter
protected abstract Collection<com.soffid.iam.api.AccessTree> handleFindApplicationAccessByFilter(String nomPUE, String codiPUE, String codiAplicacio, String codiRol, String codiGrup, String codiUsuari) throws Exception
- Throws:
Exception
-
getAllApplications
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.Application> getAllApplications(Boolean aplicacioBuida) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAllApplications
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAllApplications
protected abstract Collection<com.soffid.iam.api.Application> handleGetAllApplications(Boolean aplicacioBuida) throws Exception
- Throws:
Exception
-
getAllMimeTypeExecution
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AccessTreeExecutionType> getAllMimeTypeExecution() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAllMimeTypeExecution
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAllMimeTypeExecution
protected abstract Collection<com.soffid.iam.api.AccessTreeExecutionType> handleGetAllMimeTypeExecution() throws Exception
- Throws:
Exception
-
getReverseApplicationAccessTree
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<String> getReverseApplicationAccessTree(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getReverseApplicationAccessTree
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetReverseApplicationAccessTree
protected abstract Collection<String> handleGetReverseApplicationAccessTree(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
getAuthorizationsApplicationAcessTree
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AccessTreeAuthorization> getAuthorizationsApplicationAcessTree(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getAuthorizationsApplicationAcessTree
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetAuthorizationsApplicationAcessTree
protected abstract Collection<com.soffid.iam.api.AccessTreeAuthorization> handleGetAuthorizationsApplicationAcessTree(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
getExecutions
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.AccessTreeExecution> getExecutions(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getExecutions
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleGetExecutions
protected abstract Collection<com.soffid.iam.api.AccessTreeExecution> handleGetExecutions(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
findAccessTreeByTextAndJsonQuery
@Transactional(rollbackFor=java.lang.Exception.class) public List<com.soffid.iam.api.AccessTree> findAccessTreeByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAccessTreeByTextAndJsonQuery
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindAccessTreeByTextAndJsonQuery
protected abstract List<com.soffid.iam.api.AccessTree> handleFindAccessTreeByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws Exception
- Throws:
Exception
-
delete
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void delete(com.soffid.iam.api.AccessTree puntEntrada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDelete
protected abstract void handleDelete(com.soffid.iam.api.AccessTree puntEntrada) throws Exception
- Throws:
Exception
-
deleteAuthorization
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void deleteAuthorization(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeAuthorization autoritzacio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
deleteAuthorization
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeleteAuthorization
protected abstract void handleDeleteAuthorization(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeAuthorization autoritzacio) throws Exception
- Throws:
Exception
-
deleteExecution
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void deleteExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
deleteExecution
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleDeleteExecution
protected abstract void handleDeleteExecution(com.soffid.iam.api.AccessTree puntEntrada, com.soffid.iam.api.AccessTreeExecution execucio) throws Exception
- Throws:
Exception
-
sortChildren
@Transactional(rollbackFor=java.lang.Exception.class) public void sortChildren(long entryPointId) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
sortChildren
in interfacecom.soffid.iam.service.EntryPointService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSortChildren
protected abstract void handleSortChildren(long entryPointId) throws Exception
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.- Returns:
- the current principal
-
-