Class AdditionalDataServiceBean

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

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

      • AdditionalDataServiceBean

        public AdditionalDataServiceBean()
    • Method Detail

      • createCustomObjectType

        @PermitAll
        public com.soffid.iam.api.CustomObjectType createCustomObjectType​(com.soffid.iam.api.CustomObjectType obj)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createCustomObjectType in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectTypeByName

        @PermitAll
        public com.soffid.iam.api.CustomObjectType findCustomObjectTypeByName​(String name)
                                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectTypeByName in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updateCustomObjectType

        @PermitAll
        public com.soffid.iam.api.CustomObjectType updateCustomObjectType​(com.soffid.iam.api.CustomObjectType obj)
                                                                   throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateCustomObjectType in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getAccessLevel

        @PermitAll
        public es.caib.seycon.ng.comu.AccountAccessLevelEnum getAccessLevel​(com.soffid.iam.api.CustomObjectType type)
                                                                     throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getAccessLevel in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • create

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

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

        @PermitAll
        public com.soffid.iam.api.DataType create​(com.soffid.iam.api.DataType tipusDada)
                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        create in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findSystemDataType

        @PermitAll
        public com.soffid.iam.api.DataType findSystemDataType​(String system,
                                                              String name)
                                                       throws es.caib.seycon.ng.exception.InternalErrorException,
                                                              es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSystemDataType in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDataTypeByName

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

        @PermitAll
        public com.soffid.iam.api.DataType update​(com.soffid.iam.api.DataType tipusDada)
                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                  es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        update in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectTypeByJsonQuery

        @PermitAll
        public Collection<com.soffid.iam.api.CustomObjectType> findCustomObjectTypeByJsonQuery​(String query)
                                                                                        throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectTypeByJsonQuery in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDataTypes

        @PermitAll
        public Collection<com.soffid.iam.api.DataType> findDataTypes​(com.soffid.iam.api.MetadataScope scope)
                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDataTypes in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDataTypes2

        @PermitAll
        public Collection<com.soffid.iam.api.DataType> findDataTypes2​(com.soffid.iam.api.MetadataScope scope)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDataTypes2 in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDataTypesByObjectTypeAndName

        @PermitAll
        public Collection<com.soffid.iam.api.DataType> findDataTypesByObjectTypeAndName​(String objectType,
                                                                                        String codi)
                                                                                 throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                        es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDataTypesByObjectTypeAndName in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDataTypesByObjectTypeAndName2

        @PermitAll
        public Collection<com.soffid.iam.api.DataType> findDataTypesByObjectTypeAndName2​(String objectType,
                                                                                         String codi)
                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                         es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDataTypesByObjectTypeAndName2 in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDataTypesByName

        @PermitAll
        public Collection<com.soffid.iam.api.DataType> findDataTypesByName​(String codi)
                                                                    throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                           es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDataTypesByName in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findDataTypesByScopeAndName

        @PermitAll
        public Collection<com.soffid.iam.api.DataType> findDataTypesByScopeAndName​(com.soffid.iam.api.MetadataScope scope,
                                                                                   String codi)
                                                                            throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                                   es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findDataTypesByScopeAndName in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • getDataTypes

        @PermitAll
        public Collection<com.soffid.iam.api.DataType> getDataTypes()
                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                    es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        getDataTypes in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findExtensibleObjectRegisters

        @PermitAll
        public List<com.soffid.iam.api.ExtensibleObjectRegister> findExtensibleObjectRegisters()
                                                                                        throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findExtensibleObjectRegisters in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findSystemDataTypes

        @PermitAll
        public List<com.soffid.iam.api.DataType> findSystemDataTypes​(String system)
                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                     es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSystemDataTypes in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findSystemDataTypes2

        @PermitAll
        public List<com.soffid.iam.api.DataType> findSystemDataTypes2​(String system)
                                                               throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                      es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findSystemDataTypes2 in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • delete

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

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

        @PermitAll
        public void deleteCustomObjectType​(com.soffid.iam.api.CustomObjectType obj)
                                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        deleteCustomObjectType in interface com.soffid.iam.service.ejb.AdditionalDataService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • registerStandardObject

        @PermitAll
        public void registerStandardObject​(String resourceName,
                                           com.soffid.iam.api.MetadataScope scope,
                                           boolean reset)
                                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        registerStandardObject in interface com.soffid.iam.service.ejb.AdditionalDataService
        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()