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 void
create(es.caib.bpm.vo.ConfigParameterVO config)
void
delete(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.ConfigParameterVO
findFirstByAppKey(String app, String key)
com.soffid.iam.bpm.service.BpmConfigService
getBpmConfigService()
Gets reference tobpmConfigService
.protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.protected abstract void
handleCreate(es.caib.bpm.vo.ConfigParameterVO config)
protected abstract void
handleDelete(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.ConfigParameterVO
handleFindFirstByAppKey(String app, String key)
protected abstract void
handleUpdate(es.caib.bpm.vo.ConfigParameterVO config)
protected abstract void
handleUpdateAll(Collection<es.caib.bpm.vo.ConfigParameterVO> config)
void
setBpmConfigService(com.soffid.iam.bpm.service.BpmConfigService bpmConfigService)
Sets reference tobpmConfigService
.void
update(es.caib.bpm.vo.ConfigParameterVO config)
void
updateAll(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:
findFirstByAppKey
in interfacees.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 interfacees.caib.bpm.servei.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.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:
findByAppKey
in interfacees.caib.bpm.servei.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.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:
findById
in interfacees.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 interfacees.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 interfacees.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 interfacees.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 interfacees.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
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.- Overrides:
getPrincipal
in classApplicationBootServiceBase
- Returns:
- the current principal
-
-