Class DomainServiceBean

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

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

      • DomainServiceBean

        public DomainServiceBean()
    • Method Detail

      • findDomainValueByTextAndFilterAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.DomainValue> findDomainValueByTextAndFilterAsync​(String text,
                                                                                                                String query)
                                                                                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDomainValueByTextAndFilterAsync in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDomainValueByTextAndFilter

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.DomainValue> findDomainValueByTextAndFilter​(String text,
                                                                                                             String query,
                                                                                                             Integer first,
                                                                                                             Integer max)
                                                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDomainValueByTextAndFilter in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

        @PermitAll
        public com.soffid.iam.api.Domain create​(com.soffid.iam.api.Domain domini)
                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDomainByApplicationAndName

        @PermitAll
        public com.soffid.iam.api.Domain findDomainByApplicationAndName​(String codiAplicacio,
                                                                        String name)
                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDomainByApplicationAndName in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

        @PermitAll
        public com.soffid.iam.api.Domain update​(com.soffid.iam.api.Domain domini)
                                         throws es.caib.seycon.ng.exception.InternalErrorException,
                                                es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

        @PermitAll
        public com.soffid.iam.api.DomainValue create​(com.soffid.iam.api.DomainValue valorDomini)
                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

        @PermitAll
        public com.soffid.iam.api.DomainValue update​(com.soffid.iam.api.DomainValue valorDomini)
                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findApplicationDomainsByApplicationName

        @PermitAll
        public Collection<com.soffid.iam.api.Domain> findApplicationDomainsByApplicationName​(String codiAplicacio)
                                                                                      throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                             es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findApplicationDomainsByApplicationName in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDomainsByApplicationName

        @PermitAll
        public Collection<com.soffid.iam.api.Domain> findDomainsByApplicationName​(String codiAplicacio)
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDomainsByApplicationName in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDomainValuesByFilter

        @PermitAll
        public Collection<com.soffid.iam.api.DomainValue> findDomainValuesByFilter​(com.soffid.iam.api.Domain domini,
                                                                                   String codi,
                                                                                   String descripcio,
                                                                                   String codiUsuari)
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDomainValuesByFilter in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

        @PermitAll
        public void delete​(com.soffid.iam.api.Domain domini)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.ejb.DomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

        @PermitAll
        public void delete​(com.soffid.iam.api.DomainValue valorDomini)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        delete in interface com.soffid.iam.service.ejb.DomainService
        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()