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 StringBEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description BpmConfigServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreate(es.caib.bpm.vo.ConfigParameterVO config)voiddelete(es.caib.bpm.vo.ConfigParameterVO config)voidejbCreate()Initizlizes beenvoidejbRemove()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)protected org.springframework.beans.factory.BeanFactorygetBeanFactory()javax.ejb.SessionContextgetSessionContext()protected voidonEjbCreate()protected voidonEjbRemove()voidsetBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)voidsetBeanFactoryLocatorKey(String arg0)voidsetSessionContext(javax.ejb.SessionContext sessionContext)Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.voidupdate(es.caib.bpm.vo.ConfigParameterVO config)voidupdateAll(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:
findFirstByAppKeyin interfacees.caib.bpm.servei.ejb.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
findAllin interfacees.caib.bpm.servei.ejb.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
findByAppKeyin interfacees.caib.bpm.servei.ejb.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
findByIdin interfacees.caib.bpm.servei.ejb.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
createin interfacees.caib.bpm.servei.ejb.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
deletein interfacees.caib.bpm.servei.ejb.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
updatein interfacees.caib.bpm.servei.ejb.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.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:
updateAllin interfacees.caib.bpm.servei.ejb.BpmConfigService- Throws:
es.caib.seycon.ng.exception.InternalErrorExceptiones.caib.bpm.exception.BPMException
-
ejbCreate
@PostConstruct public void ejbCreate() throws javax.ejb.CreateException
Initizlizes been- Overrides:
ejbCreatein classorg.springframework.ejb.support.AbstractStatelessSessionBean- Throws:
javax.ejb.CreateException- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreatein 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:
setSessionContextin interfacejavax.ejb.SessionBean- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContextin 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()
-
-