Class AuditServiceBean

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

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

      • AuditServiceBean

        public AuditServiceBean()
    • Method Detail

      • findAuditByJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Audit> findAuditByJsonQueryAsync​(String query)
                                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAuditByJsonQueryAsync in interface com.soffid.iam.service.ejb.AuditService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAuditByJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Audit> findAuditByJsonQuery​(String query,
                                                                                             Integer first,
                                                                                             Integer last)
                                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAuditByJsonQuery in interface com.soffid.iam.service.ejb.AuditService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAuditById

        @PermitAll
        public com.soffid.iam.api.Audit findAuditById​(Long id)
                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAuditById in interface com.soffid.iam.service.ejb.AuditService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAuditByJsonQuery

        @PermitAll
        public Collection<com.soffid.iam.api.Audit> findAuditByJsonQuery​(String query)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAuditByJsonQuery in interface com.soffid.iam.service.ejb.AuditService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAuditsByCriteria

        @PermitAll
        public Collection<com.soffid.iam.api.Audit> findAuditsByCriteria​(String data,
                                                                         String autor,
                                                                         String objecte,
                                                                         String usuari,
                                                                         String accio)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAuditsByCriteria in interface com.soffid.iam.service.ejb.AuditService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAuditsByCriteria

        @PermitAll
        public Collection<com.soffid.iam.api.Audit> findAuditsByCriteria​(String dataIni,
                                                                         String dataFi,
                                                                         String autor,
                                                                         String objecte,
                                                                         String usuari,
                                                                         String accio)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAuditsByCriteria in interface com.soffid.iam.service.ejb.AuditService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAuditsByCriteria

        @PermitAll
        public Collection<com.soffid.iam.api.Audit> findAuditsByCriteria​(String data,
                                                                         String autor,
                                                                         String objecte,
                                                                         String usuari,
                                                                         String objecteAuditat,
                                                                         String valorOA,
                                                                         String accio)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAuditsByCriteria in interface com.soffid.iam.service.ejb.AuditService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAuditsByCriteria

        @PermitAll
        public Collection<com.soffid.iam.api.Audit> findAuditsByCriteria​(String dataIni,
                                                                         String dataFi,
                                                                         String autor,
                                                                         String objecte,
                                                                         String usuari,
                                                                         String objecteAuditat,
                                                                         String valorOA,
                                                                         String accio)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAuditsByCriteria in interface com.soffid.iam.service.ejb.AuditService
        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()