Class UserDomainServiceBean

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

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

      • UserDomainServiceBean

        public UserDomainServiceBean()
    • Method Detail

      • findUserTypeByTextAndFilterAsync

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

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

        @PermitAll
        public com.soffid.iam.api.PasswordDomain create​(com.soffid.iam.api.PasswordDomain dominiContrasenya)
                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findPasswordDomainByName

        @PermitAll
        public com.soffid.iam.api.PasswordDomain findPasswordDomainByName​(String codi)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                          es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findPasswordDomainByName in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

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

        @PermitAll
        public com.soffid.iam.api.UserDomain create​(com.soffid.iam.api.UserDomain dominiUsuari)
                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findUserDomainByName

        @PermitAll
        public com.soffid.iam.api.UserDomain findUserDomainByName​(String codiDominiUsuari)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findUserDomainByName in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

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

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

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

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

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

        @PermitAll
        public com.soffid.iam.api.PasswordPolicy create​(com.soffid.iam.api.PasswordPolicy politicaContrasenyaDomini)
                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findPolicyByTypeAndPasswordDomain

        @PermitAll
        public com.soffid.iam.api.PasswordPolicy findPolicyByTypeAndPasswordDomain​(String tipus,
                                                                                   String domini)
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findPolicyByTypeAndPasswordDomain in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • update

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

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

        @PermitAll
        public com.soffid.iam.api.UserType update​(com.soffid.iam.api.UserType tipusUsuari)
                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAllPasswordDomain

        @PermitAll
        public Collection<com.soffid.iam.api.PasswordDomain> findAllPasswordDomain()
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAllPasswordDomain in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAllUserDomain

        @PermitAll
        public Collection<com.soffid.iam.api.UserDomain> findAllUserDomain()
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAllUserDomain in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAllForbiddenWords

        @PermitAll
        public Collection<com.soffid.iam.api.ForbiddenWord> findAllForbiddenWords()
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAllForbiddenWords in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAllPasswordPolicyDomain

        @PermitAll
        public Collection<com.soffid.iam.api.PasswordPolicy> findAllPasswordPolicyDomain​(String codiDominiContrasenya)
                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAllPasswordPolicyDomain in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findAllUserType

        @PermitAll
        public Collection<com.soffid.iam.api.UserType> findAllUserType()
                                                                throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                       es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findAllUserType in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findNameGenerators

        @PermitAll
        public Collection<String> findNameGenerators()
                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findNameGenerators in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findForbiddenWordsPasswordPolicy

        @PermitAll
        public Collection<com.soffid.iam.api.PasswordPolicyForbbidenWord> findForbiddenWordsPasswordPolicy​(com.soffid.iam.api.PasswordPolicy politicaContrasenya)
                                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findForbiddenWordsPasswordPolicy in interface com.soffid.iam.service.ejb.UserDomainService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

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

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

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

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

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

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