Package es.caib.bpm.servei
Class BpmConfigServiceBaseProxy
- java.lang.Object
-
- es.caib.seycon.ng.servei.ApplicationBootServiceBase
-
- es.caib.bpm.servei.BpmConfigServiceBaseProxy
-
- All Implemented Interfaces:
es.caib.bpm.servei.BpmConfigService
,es.caib.seycon.ng.servei.ApplicationBootService
public class BpmConfigServiceBaseProxy 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 BpmConfigServiceBaseProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
consoleBoot()
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 void
handleConsoleBoot()
protected void
handleSyncServerBoot()
protected void
handleTenantBoot(com.soffid.iam.api.Tenant tenant)
void
setBpmConfigService(com.soffid.iam.bpm.service.BpmConfigService bpmConfigService)
Sets reference tobpmConfigService
.void
syncServerBoot()
void
tenantBoot(com.soffid.iam.api.Tenant tenant)
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
getApplicationBootService, setApplicationBootService
-
-
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
consoleBoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackForClassName="java.lang.Exception") public void consoleBoot() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
consoleBoot
in interfacees.caib.seycon.ng.servei.ApplicationBootService
- Overrides:
consoleBoot
in classApplicationBootServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleConsoleBoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackForClassName="java.lang.Exception") protected void handleConsoleBoot() throws Exception
- Specified by:
handleConsoleBoot
in classApplicationBootServiceBase
- Throws:
Exception
-
syncServerBoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackForClassName="java.lang.Exception") public void syncServerBoot() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
syncServerBoot
in interfacees.caib.seycon.ng.servei.ApplicationBootService
- Overrides:
syncServerBoot
in classApplicationBootServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleSyncServerBoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackForClassName="java.lang.Exception") protected void handleSyncServerBoot() throws Exception
- Specified by:
handleSyncServerBoot
in classApplicationBootServiceBase
- Throws:
Exception
-
tenantBoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackForClassName="java.lang.Exception") public void tenantBoot(com.soffid.iam.api.Tenant tenant) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
tenantBoot
in interfacees.caib.seycon.ng.servei.ApplicationBootService
- Overrides:
tenantBoot
in classApplicationBootServiceBase
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
handleTenantBoot
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackForClassName="java.lang.Exception") protected void handleTenantBoot(com.soffid.iam.api.Tenant tenant) throws Exception
- Specified by:
handleTenantBoot
in classApplicationBootServiceBase
- Throws:
Exception
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.- Overrides:
getPrincipal
in classApplicationBootServiceBase
- Returns:
- the current principal
-
-