Package com.soffid.iam.bpm.service
Class BpmConfigServiceBase
- java.lang.Object
-
- com.soffid.iam.service.ApplicationBootServiceBase
-
- com.soffid.iam.bpm.service.BpmConfigServiceBase
-
- All Implemented Interfaces:
com.soffid.iam.bpm.service.BpmConfigService
,com.soffid.iam.service.ApplicationBootService
- Direct Known Subclasses:
BpmConfigServiceImpl
public abstract class BpmConfigServiceBase extends ApplicationBootServiceBase implements com.soffid.iam.bpm.service.BpmConfigService
Spring Service base class for
see com.soffid.iam.bpm.service.BpmConfigServicecom.soffid.iam.bpm.service.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(com.soffid.iam.bpm.api.ConfigParameterVO config)
void
delete(com.soffid.iam.bpm.api.ConfigParameterVO config)
Collection<com.soffid.iam.bpm.api.ConfigParameterVO>
findAll()
Collection<com.soffid.iam.bpm.api.ConfigParameterVO>
findByAppKey(String app, String key)
Collection<com.soffid.iam.bpm.api.ConfigParameterVO>
findById(long id)
com.soffid.iam.bpm.api.ConfigParameterVO
findFirstByAppKey(String app, String key)
protected Principal
getPrincipal()
Gets the currentprincipal
if one has been set, otherwise returnsnull
.protected abstract void
handleCreate(com.soffid.iam.bpm.api.ConfigParameterVO config)
protected abstract void
handleDelete(com.soffid.iam.bpm.api.ConfigParameterVO config)
protected abstract Collection<com.soffid.iam.bpm.api.ConfigParameterVO>
handleFindAll()
protected abstract Collection<com.soffid.iam.bpm.api.ConfigParameterVO>
handleFindByAppKey(String app, String key)
protected abstract Collection<com.soffid.iam.bpm.api.ConfigParameterVO>
handleFindById(long id)
protected abstract com.soffid.iam.bpm.api.ConfigParameterVO
handleFindFirstByAppKey(String app, String key)
protected abstract void
handleUpdate(com.soffid.iam.bpm.api.ConfigParameterVO config)
protected abstract void
handleUpdateAll(Collection<com.soffid.iam.bpm.api.ConfigParameterVO> config)
void
update(com.soffid.iam.bpm.api.ConfigParameterVO config)
void
updateAll(Collection<com.soffid.iam.bpm.api.ConfigParameterVO> config)
-
Methods inherited from class com.soffid.iam.service.ApplicationBootServiceBase
consoleBoot, getAccountService, getAdditionalDataService, getAgentDescriptorEntityDao, getApplicationService, getAsyncRunnerService, getAuthorizationService, getBpmConfigService, getBpmEngine, getConfigurationService, getCrudRegistryService, getCustomObjectTypeEntityDao, getDispatcherService, getEntryPointService, getGroupService, getInternalPasswordService, getIssuePolicyService, getMetaDataEntityDao, getNetworkService, getScheduledTaskService, getServerPluginService, getSoDRuleService, getTenantService, getUserDomainService, getUserService, handleConsoleBoot, handleSyncServerBoot, handleTenantBoot, setAccountService, setAdditionalDataService, setAgentDescriptorEntityDao, setApplicationService, setAsyncRunnerService, setAuthorizationService, setBpmConfigService, setBpmEngine, setConfigurationService, setCrudRegistryService, setCustomObjectTypeEntityDao, setDispatcherService, setEntryPointService, setGroupService, setInternalPasswordService, setIssuePolicyService, setMetaDataEntityDao, setNetworkService, setScheduledTaskService, setServerPluginService, setSoDRuleService, setTenantService, setUserDomainService, setUserService, syncServerBoot, tenantBoot
-
-
-
-
Method Detail
-
findFirstByAppKey
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.bpm.api.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 interfacecom.soffid.iam.bpm.service.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
handleFindFirstByAppKey
protected abstract com.soffid.iam.bpm.api.ConfigParameterVO handleFindFirstByAppKey(String app, String key) throws Exception
- Throws:
Exception
-
findAll
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.bpm.api.ConfigParameterVO> findAll() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.bpm.exception.BPMException
- Specified by:
findAll
in interfacecom.soffid.iam.bpm.service.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
handleFindAll
protected abstract Collection<com.soffid.iam.bpm.api.ConfigParameterVO> handleFindAll() throws Exception
- Throws:
Exception
-
findByAppKey
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.bpm.api.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 interfacecom.soffid.iam.bpm.service.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
handleFindByAppKey
protected abstract Collection<com.soffid.iam.bpm.api.ConfigParameterVO> handleFindByAppKey(String app, String key) throws Exception
- Throws:
Exception
-
findById
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.bpm.api.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 interfacecom.soffid.iam.bpm.service.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
handleFindById
protected abstract Collection<com.soffid.iam.bpm.api.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(com.soffid.iam.bpm.api.ConfigParameterVO config) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.bpm.exception.BPMException
- Specified by:
create
in interfacecom.soffid.iam.bpm.service.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
handleCreate
protected abstract void handleCreate(com.soffid.iam.bpm.api.ConfigParameterVO config) throws Exception
- Throws:
Exception
-
delete
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=es.caib.seycon.ng.exception.InternalErrorException.class) public void delete(com.soffid.iam.bpm.api.ConfigParameterVO config) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.bpm.exception.BPMException
- Specified by:
delete
in interfacecom.soffid.iam.bpm.service.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
handleDelete
protected abstract void handleDelete(com.soffid.iam.bpm.api.ConfigParameterVO config) throws Exception
- Throws:
Exception
-
update
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=es.caib.seycon.ng.exception.InternalErrorException.class) public void update(com.soffid.iam.bpm.api.ConfigParameterVO config) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.bpm.exception.BPMException
- Specified by:
update
in interfacecom.soffid.iam.bpm.service.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
handleUpdate
protected abstract void handleUpdate(com.soffid.iam.bpm.api.ConfigParameterVO config) throws Exception
- Throws:
Exception
-
updateAll
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void updateAll(Collection<com.soffid.iam.bpm.api.ConfigParameterVO> config) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException, es.caib.bpm.exception.BPMException
- Specified by:
updateAll
in interfacecom.soffid.iam.bpm.service.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
handleUpdateAll
protected abstract void handleUpdateAll(Collection<com.soffid.iam.bpm.api.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
-
-