Class BpmConfigServiceBase

  • All Implemented Interfaces:
    es.caib.bpm.servei.BpmConfigService, es.caib.seycon.ng.servei.ApplicationBootService

    public abstract class BpmConfigServiceBase
    extends ApplicationBootServiceBase
    implements es.caib.bpm.servei.BpmConfigService

    Spring Service base class for es.caib.bpm.servei.BpmConfigService, provides access to all services and entities referenced by this service.

    see es.caib.bpm.servei.BpmConfigService
    • Constructor Detail

      • BpmConfigServiceBase

        public BpmConfigServiceBase()
    • Method Detail

      • setBpmConfigService

        public void setBpmConfigService​(com.soffid.iam.bpm.service.BpmConfigService bpmConfigService)
        Sets reference to bpmConfigService.
      • getBpmConfigService

        public com.soffid.iam.bpm.service.BpmConfigService getBpmConfigService()
        Gets reference to bpmConfigService.
      • findFirstByAppKey

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • handleFindFirstByAppKey

        protected abstract es.caib.bpm.vo.ConfigParameterVO handleFindFirstByAppKey​(String app,
                                                                                    String key)
                                                                             throws Exception
        Throws:
        Exception
      • findAll

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • findByAppKey

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • findById

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • handleFindById

        protected abstract Collection<es.caib.bpm.vo.ConfigParameterVO> handleFindById​(long id)
                                                                                throws Exception
        Throws:
        Exception
      • create

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=es.caib.seycon.ng.exception.InternalErrorException.class)
        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.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • handleCreate

        protected abstract void handleCreate​(es.caib.bpm.vo.ConfigParameterVO config)
                                      throws Exception
        Throws:
        Exception
      • delete

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=es.caib.seycon.ng.exception.InternalErrorException.class)
        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.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • handleDelete

        protected abstract void handleDelete​(es.caib.bpm.vo.ConfigParameterVO config)
                                      throws Exception
        Throws:
        Exception
      • update

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=es.caib.seycon.ng.exception.InternalErrorException.class)
        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.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • handleUpdate

        protected abstract void handleUpdate​(es.caib.bpm.vo.ConfigParameterVO config)
                                      throws Exception
        Throws:
        Exception
      • updateAll

        @Transactional(isolation=DEFAULT,
                       propagation=REQUIRED,
                       rollbackFor=java.lang.Exception.class)
        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.BpmConfigService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
        es.caib.bpm.exception.BPMException
      • handleUpdateAll

        protected abstract void handleUpdateAll​(Collection<es.caib.bpm.vo.ConfigParameterVO> config)
                                         throws Exception
        Throws:
        Exception