Class BpmConfigServiceBean

  • All Implemented Interfaces:
    es.caib.bpm.servei.ejb.BpmConfigService, Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, org.springframework.ejb.support.SmartSessionBean

    public class BpmConfigServiceBean
    extends org.springframework.ejb.support.AbstractStatelessSessionBean
    implements es.caib.bpm.servei.ejb.BpmConfigService
    See Also:
    es.caib.bpm.servei.BpmConfigService,, es.caib.bpm.servei.BpmConfigService,, Serialized Form
    • Constructor Detail

      • BpmConfigServiceBean

        public BpmConfigServiceBean()
    • Method Detail

      • findFirstByAppKey

        @PermitAll
        public es.caib.bpm.vo.ConfigParameterVO findFirstByAppKey​(String app,
                                                                  String key)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                  es.caib.seycon.ng.exception.InternalErrorException,
                                                                  es.caib.bpm.exception.BPMException
        Specified by:
        findFirstByAppKey in interface es.caib.bpm.servei.ejb.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • findAll

        @PermitAll
        public Collection<es.caib.bpm.vo.ConfigParameterVO> findAll()
                                                             throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                    es.caib.seycon.ng.exception.InternalErrorException,
                                                                    es.caib.bpm.exception.BPMException
        Specified by:
        findAll in interface es.caib.bpm.servei.ejb.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • findByAppKey

        @PermitAll
        public Collection<es.caib.bpm.vo.ConfigParameterVO> findByAppKey​(String app,
                                                                         String key)
                                                                  throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.seycon.ng.exception.InternalErrorException,
                                                                         es.caib.bpm.exception.BPMException
        Specified by:
        findByAppKey in interface es.caib.bpm.servei.ejb.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • findById

        @PermitAll
        public Collection<es.caib.bpm.vo.ConfigParameterVO> findById​(long id)
                                                              throws es.caib.seycon.ng.exception.InternalErrorException,
                                                                     es.caib.seycon.ng.exception.InternalErrorException,
                                                                     es.caib.bpm.exception.BPMException
        Specified by:
        findById in interface es.caib.bpm.servei.ejb.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • create

        @PermitAll
        public void create​(es.caib.bpm.vo.ConfigParameterVO config)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.bpm.exception.BPMException
        Specified by:
        create in interface es.caib.bpm.servei.ejb.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • delete

        @PermitAll
        public void delete​(es.caib.bpm.vo.ConfigParameterVO config)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.bpm.exception.BPMException
        Specified by:
        delete in interface es.caib.bpm.servei.ejb.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • update

        @PermitAll
        public void update​(es.caib.bpm.vo.ConfigParameterVO config)
                    throws es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.seycon.ng.exception.InternalErrorException,
                           es.caib.bpm.exception.BPMException
        Specified by:
        update in interface es.caib.bpm.servei.ejb.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • updateAll

        @PermitAll
        public void updateAll​(Collection<es.caib.bpm.vo.ConfigParameterVO> config)
                       throws es.caib.seycon.ng.exception.InternalErrorException,
                              es.caib.seycon.ng.exception.InternalErrorException,
                              es.caib.bpm.exception.BPMException
        Specified by:
        updateAll in interface es.caib.bpm.servei.ejb.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • 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()