Package com.soffid.iam.service
Class StatsServiceBase
- java.lang.Object
-
- com.soffid.iam.service.StatsServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.service.StatsService
- Direct Known Subclasses:
StatsServiceImpl
public abstract class StatsServiceBase extends Object implements com.soffid.iam.service.StatsService
Spring Service base class for
see com.soffid.iam.service.StatsServicecom.soffid.iam.service.StatsService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description StatsServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.StatsfindStats(String name, Date since, Date until, int step)AccountEntityDaogetAccountEntityDao()Gets reference toaccountEntityDao.com.soffid.iam.service.ApplicationServicegetApplicationService()Gets reference toaplicacioService.AuthorizationEntityDaogetAuthorizationEntityDao()Gets reference toautoritzacioRolEntityDao.com.soffid.iam.service.AuthorizationServicegetAuthorizationService()Gets reference toautoritzacioService.JumpServerGroupEntityDaogetJumpServerGroupEntityDao()Gets reference tojumpServerGroupEntityDao.com.soffid.iam.service.PamSessionServicegetPamSessionService()Gets reference topamSessionService.protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.StatsEntityDaogetStatsEntityDao()Gets reference tostatsEntityDao.protected abstract com.soffid.iam.api.StatshandleFindStats(String name, Date since, Date until, int step)protected abstract voidhandlePurge()protected abstract voidhandleUpdateStats()voidpurge()voidsetAccountEntityDao(AccountEntityDao accountEntityDao)Sets reference toaccountEntityDao.voidsetApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)Sets reference toaplicacioService.voidsetAuthorizationEntityDao(AuthorizationEntityDao autoritzacioRolEntityDao)Sets reference toautoritzacioRolEntityDao.voidsetAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)Sets reference toautoritzacioService.voidsetJumpServerGroupEntityDao(JumpServerGroupEntityDao jumpServerGroupEntityDao)Sets reference tojumpServerGroupEntityDao.voidsetPamSessionService(com.soffid.iam.service.PamSessionService pamSessionService)Sets reference topamSessionService.voidsetStatsEntityDao(StatsEntityDao statsEntityDao)Sets reference tostatsEntityDao.voidupdateStats()
-
-
-
Method Detail
-
setAccountEntityDao
public void setAccountEntityDao(AccountEntityDao accountEntityDao)
Sets reference toaccountEntityDao.
-
getAccountEntityDao
public AccountEntityDao getAccountEntityDao()
Gets reference toaccountEntityDao.
-
setApplicationService
public void setApplicationService(com.soffid.iam.service.ApplicationService aplicacioService)
Sets reference toaplicacioService.
-
getApplicationService
public com.soffid.iam.service.ApplicationService getApplicationService()
Gets reference toaplicacioService.
-
setAuthorizationEntityDao
public void setAuthorizationEntityDao(AuthorizationEntityDao autoritzacioRolEntityDao)
Sets reference toautoritzacioRolEntityDao.
-
getAuthorizationEntityDao
public AuthorizationEntityDao getAuthorizationEntityDao()
Gets reference toautoritzacioRolEntityDao.
-
setAuthorizationService
public void setAuthorizationService(com.soffid.iam.service.AuthorizationService autoritzacioService)
Sets reference toautoritzacioService.
-
getAuthorizationService
public com.soffid.iam.service.AuthorizationService getAuthorizationService()
Gets reference toautoritzacioService.
-
setJumpServerGroupEntityDao
public void setJumpServerGroupEntityDao(JumpServerGroupEntityDao jumpServerGroupEntityDao)
Sets reference tojumpServerGroupEntityDao.
-
getJumpServerGroupEntityDao
public JumpServerGroupEntityDao getJumpServerGroupEntityDao()
Gets reference tojumpServerGroupEntityDao.
-
setPamSessionService
public void setPamSessionService(com.soffid.iam.service.PamSessionService pamSessionService)
Sets reference topamSessionService.
-
getPamSessionService
public com.soffid.iam.service.PamSessionService getPamSessionService()
Gets reference topamSessionService.
-
setStatsEntityDao
public void setStatsEntityDao(StatsEntityDao statsEntityDao)
Sets reference tostatsEntityDao.
-
getStatsEntityDao
public StatsEntityDao getStatsEntityDao()
Gets reference tostatsEntityDao.
-
findStats
@Transactional(rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.Stats findStats(String name, Date since, Date until, int step) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findStatsin interfacecom.soffid.iam.service.StatsService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleFindStats
protected abstract com.soffid.iam.api.Stats handleFindStats(String name, Date since, Date until, int step) throws Exception
- Throws:
Exception
-
purge
@Transactional(rollbackFor=java.lang.Exception.class) public void purge() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
purgein interfacecom.soffid.iam.service.StatsService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updateStats
@Transactional(rollbackFor=java.lang.Exception.class) public void updateStats() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
updateStatsin interfacecom.soffid.iam.service.StatsService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-