Package es.caib.bpm.servei.ejb
Class BpmConfigServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- es.caib.bpm.servei.ejb.BpmConfigServiceBean
-
- All Implemented Interfaces:
es.caib.bpm.servei.ejb.BpmConfigService
,Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
,org.springframework.ejb.support.SmartSessionBean
public class BpmConfigServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements es.caib.bpm.servei.ejb.BpmConfigService
- See Also:
es.caib.bpm.servei.BpmConfigService
,,es.caib.bpm.servei.BpmConfigService
,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description BpmConfigServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
create(es.caib.bpm.vo.ConfigParameterVO config)
void
delete(es.caib.bpm.vo.ConfigParameterVO config)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
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)
protected org.springframework.beans.factory.BeanFactory
getBeanFactory()
javax.ejb.SessionContext
getSessionContext()
protected void
onEjbCreate()
protected void
onEjbRemove()
void
setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
void
setBeanFactoryLocatorKey(String arg0)
void
setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.void
update(es.caib.bpm.vo.ConfigParameterVO config)
void
updateAll(Collection<es.caib.bpm.vo.ConfigParameterVO> config)
-
Methods inherited from class org.springframework.ejb.support.AbstractStatelessSessionBean
ejbActivate, ejbPassivate
-
-
-
-
Field Detail
-
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
public static final String BEAN_FACTORY_PATH_ENVIRONMENT_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
findFirstByAppKey
@PermitAll 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.ejb.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
findAll
@PermitAll 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.ejb.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
findByAppKey
@PermitAll 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.ejb.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
findById
@PermitAll 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.ejb.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
create
@PermitAll 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.ejb.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
delete
@PermitAll 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.ejb.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
update
@PermitAll 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.ejb.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
updateAll
@PermitAll 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.ejb.BpmConfigService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
es.caib.bpm.exception.BPMException
-
ejbCreate
@PostConstruct public void ejbCreate() throws javax.ejb.CreateException
Initizlizes been- Overrides:
ejbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
-
setSessionContext
public void setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.- Specified by:
setSessionContext
in interfacejavax.ejb.SessionBean
- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContext
in interfaceorg.springframework.ejb.support.SmartSessionBean
-
setBeanFactoryLocator
public void setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
-
setBeanFactoryLocatorKey
public void setBeanFactoryLocatorKey(String arg0)
-
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory()
-
ejbRemove
public void ejbRemove()
-
onEjbRemove
protected void onEjbRemove()
-
-