Class AccessLogServiceBean

  • All Implemented Interfaces:
    com.soffid.iam.service.ejb.AccessLogService, Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, org.springframework.ejb.support.SmartSessionBean

    public class AccessLogServiceBean
    extends org.springframework.ejb.support.AbstractStatelessSessionBean
    implements com.soffid.iam.service.ejb.AccessLogService
    See Also:
    com.soffid.iam.service.AccessLogService,, es.caib.seycon.ng.servei.RegistreAccesService,, Serialized Form
    • Constructor Detail

      • AccessLogServiceBean

        public AccessLogServiceBean()
    • Method Detail

      • findAccessLogByJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.AccessLog> findAccessLogByJsonQueryAsync​(String jsonQuery)
                                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccessLogByJsonQueryAsync in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findLastEntriesSSOHostAccess

        @PermitAll
        public Collection<com.soffid.iam.api.AccessLog> findLastEntriesSSOHostAccess​(String nomServidor,
                                                                                     String numRegistres)
                                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findLastEntriesSSOHostAccess in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findLastEntriesByUserName

        @PermitAll
        public Collection<com.soffid.iam.api.AccessLog> findLastEntriesByUserName​(String codiUsuari,
                                                                                  String numRegistres,
                                                                                  String codiProtocolAcces)
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findLastEntriesByUserName in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEntryByInitialDataAndUserName

        @PermitAll
        public Collection<com.soffid.iam.api.AccessLog> findEntryByInitialDataAndUserName​(String dataIni,
                                                                                          String codiUsuari,
                                                                                          String numRegistres)
                                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEntryByInitialDataAndUserName in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEntryByFilter

        @PermitAll
        public Collection<com.soffid.iam.api.AccessLog> findEntryByFilter​(String data,
                                                                          String nomServidor,
                                                                          String nomClient,
                                                                          String codiUsuari)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEntryByFilter in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEntryByFilter

        @PermitAll
        public Collection<com.soffid.iam.api.AccessLog> findEntryByFilter​(String dataIni,
                                                                          String dataFi,
                                                                          String nomServidor,
                                                                          String nomClient,
                                                                          String codiUsuari)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEntryByFilter in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEntryByNewFilter

        @PermitAll
        public Collection<com.soffid.iam.api.AccessLog> findEntryByNewFilter​(String dataIni,
                                                                             String dataFi,
                                                                             String nomServidor,
                                                                             String nomClient,
                                                                             String codiUsuari)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEntryByNewFilter in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEntryByHost

        @PermitAll
        public Collection<com.soffid.iam.api.AccessLog> findEntryByHost​(String dataIni,
                                                                        String nomServidor,
                                                                        String numRegistres,
                                                                        String protocolAcces)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEntryByHost in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findEntryBySSOHostAccess

        @PermitAll
        public Collection<com.soffid.iam.api.AccessLog> findEntryBySSOHostAccess​(String dataIni,
                                                                                 String nomServidor,
                                                                                 String numRegistres)
                                                                          throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                 es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findEntryBySSOHostAccess in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAccessLogByJsonQuery

        @PermitAll
        public List<com.soffid.iam.api.AccessLog> findAccessLogByJsonQuery​(String jsonQuery,
                                                                           Integer start,
                                                                           Integer pageSize)
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAccessLogByJsonQuery in interface com.soffid.iam.service.ejb.AccessLogService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • ejbCreate

        @PostConstruct
        public void ejbCreate()
                       throws javax.ejb.CreateException
        Initizlizes been
        Overrides:
        ejbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
        Throws:
        javax.ejb.CreateException
        See Also:
        AbstractStatelessSessionBean.onEjbCreate()
      • onEjbCreate

        protected void onEjbCreate()
        Specified by:
        onEjbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
      • setSessionContext

        public void setSessionContext​(javax.ejb.SessionContext sessionContext)
        Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.
        Specified by:
        setSessionContext in interface javax.ejb.SessionBean
        See Also:
        SessionBean.setSessionContext(javax.ejb.SessionContext)
      • getSessionContext

        public final javax.ejb.SessionContext getSessionContext()
        Specified by:
        getSessionContext in interface org.springframework.ejb.support.SmartSessionBean
      • setBeanFactoryLocator

        public void setBeanFactoryLocator​(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
      • setBeanFactoryLocatorKey

        public void setBeanFactoryLocatorKey​(String arg0)
      • getBeanFactory

        protected org.springframework.beans.factory.BeanFactory getBeanFactory()
      • ejbRemove

        public void ejbRemove()
      • onEjbRemove

        protected void onEjbRemove()