Package es.caib.bpm.servei
Class BpmConfigServiceBase
- java.lang.Object
-
- es.caib.seycon.ng.servei.ApplicationBootServiceBase
-
- es.caib.bpm.servei.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
see es.caib.bpm.servei.BpmConfigServicees.caib.bpm.servei.BpmConfigService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description BpmConfigServiceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcreate(es.caib.bpm.vo.ConfigParameterVO config)voiddelete(es.caib.bpm.vo.ConfigParameterVO config)Collection<es.caib.bpm.vo.ConfigParameterVO>findAll()Collection<es.caib.bpm.vo.ConfigParameterVO>findByAppKey(String app, String key)Collection<es.caib.bpm.vo.ConfigParameterVO>findById(long id)es.caib.bpm.vo.ConfigParameterVOfindFirstByAppKey(String app, String key)com.soffid.iam.bpm.service.BpmConfigServicegetBpmConfigService()Gets reference tobpmConfigService.protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.protected abstract voidhandleCreate(es.caib.bpm.vo.ConfigParameterVO config)protected abstract voidhandleDelete(es.caib.bpm.vo.ConfigParameterVO config)protected abstract Collection<es.caib.bpm.vo.ConfigParameterVO>handleFindAll()protected abstract Collection<es.caib.bpm.vo.ConfigParameterVO>handleFindByAppKey(String app, String key)protected abstract Collection<es.caib.bpm.vo.ConfigParameterVO>handleFindById(long id)protected abstract es.caib.bpm.vo.ConfigParameterVOhandleFindFirstByAppKey(String app, String key)protected abstract voidhandleUpdate(es.caib.bpm.vo.ConfigParameterVO config)protected abstract voidhandleUpdateAll(Collection<es.caib.bpm.vo.ConfigParameterVO> config)voidsetBpmConfigService(com.soffid.iam.bpm.service.BpmConfigService bpmConfigService)Sets reference tobpmConfigService.voidupdate(es.caib.bpm.vo.ConfigParameterVO config)voidupdateAll(Collection<es.caib.bpm.vo.ConfigParameterVO> config)-
Methods inherited from class es.caib.seycon.ng.servei.ApplicationBootServiceBase
consoleBoot, getApplicationBootService, handleConsoleBoot, handleSyncServerBoot, handleTenantBoot, setApplicationBootService, syncServerBoot, tenantBoot
-
-
-
-
Method Detail
-
setBpmConfigService
public void setBpmConfigService(com.soffid.iam.bpm.service.BpmConfigService bpmConfigService)
Sets reference tobpmConfigService.
-
getBpmConfigService
public com.soffid.iam.bpm.service.BpmConfigService getBpmConfigService()
Gets reference tobpmConfigService.
-
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:
findFirstByAppKeyin interfacees.caib.bpm.servei.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
findAllin interfacees.caib.bpm.servei.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.bpm.exception.BPMException
-
handleFindAll
protected abstract Collection<es.caib.bpm.vo.ConfigParameterVO> handleFindAll() throws Exception
- Throws:
Exception
-
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:
findByAppKeyin interfacees.caib.bpm.servei.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.bpm.exception.BPMException
-
handleFindByAppKey
protected abstract Collection<es.caib.bpm.vo.ConfigParameterVO> handleFindByAppKey(String app, String key) throws Exception
- Throws:
Exception
-
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:
findByIdin interfacees.caib.bpm.servei.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
createin interfacees.caib.bpm.servei.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
deletein interfacees.caib.bpm.servei.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
updatein interfacees.caib.bpm.servei.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
updateAllin interfacees.caib.bpm.servei.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.bpm.exception.BPMException
-
handleUpdateAll
protected abstract void handleUpdateAll(Collection<es.caib.bpm.vo.ConfigParameterVO> config) throws Exception
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Overrides:
getPrincipalin classApplicationBootServiceBase- Returns:
- the current principal
-
-