Package com.soffid.iam.service.ejb
Class DomainServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.DomainServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.DomainService
,Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
,org.springframework.ejb.support.SmartSessionBean
public class DomainServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.DomainService
- See Also:
com.soffid.iam.service.DomainService
,,es.caib.seycon.ng.servei.DominiService
,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description DomainServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.Domain
create(com.soffid.iam.api.Domain domini)
com.soffid.iam.api.DomainValue
create(com.soffid.iam.api.DomainValue valorDomini)
void
delete(com.soffid.iam.api.Domain domini)
void
delete(com.soffid.iam.api.DomainValue valorDomini)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
Collection<com.soffid.iam.api.Domain>
findApplicationDomainsByApplicationName(String codiAplicacio)
com.soffid.iam.api.Domain
findDomainByApplicationAndName(String codiAplicacio, String name)
Collection<com.soffid.iam.api.Domain>
findDomainsByApplicationName(String codiAplicacio)
com.soffid.iam.api.PagedResult<com.soffid.iam.api.DomainValue>
findDomainValueByTextAndFilter(String text, String query, Integer first, Integer max)
com.soffid.iam.api.AsyncList<com.soffid.iam.api.DomainValue>
findDomainValueByTextAndFilterAsync(String text, String query)
Collection<com.soffid.iam.api.DomainValue>
findDomainValuesByFilter(com.soffid.iam.api.Domain domini, String codi, String descripcio, String codiUsuari)
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.com.soffid.iam.api.Domain
update(com.soffid.iam.api.Domain domini)
com.soffid.iam.api.DomainValue
update(com.soffid.iam.api.DomainValue valorDomini)
-
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
-
findDomainValueByTextAndFilterAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.DomainValue> findDomainValueByTextAndFilterAsync(String text, String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDomainValueByTextAndFilterAsync
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDomainValueByTextAndFilter
@PermitAll public com.soffid.iam.api.PagedResult<com.soffid.iam.api.DomainValue> findDomainValueByTextAndFilter(String text, String query, Integer first, Integer max) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDomainValueByTextAndFilter
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.Domain create(com.soffid.iam.api.Domain domini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDomainByApplicationAndName
@PermitAll public com.soffid.iam.api.Domain findDomainByApplicationAndName(String codiAplicacio, String name) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDomainByApplicationAndName
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.Domain update(com.soffid.iam.api.Domain domini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.DomainValue create(com.soffid.iam.api.DomainValue valorDomini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.DomainValue update(com.soffid.iam.api.DomainValue valorDomini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findApplicationDomainsByApplicationName
@PermitAll public Collection<com.soffid.iam.api.Domain> findApplicationDomainsByApplicationName(String codiAplicacio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findApplicationDomainsByApplicationName
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDomainsByApplicationName
@PermitAll public Collection<com.soffid.iam.api.Domain> findDomainsByApplicationName(String codiAplicacio) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDomainsByApplicationName
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDomainValuesByFilter
@PermitAll public Collection<com.soffid.iam.api.DomainValue> findDomainValuesByFilter(com.soffid.iam.api.Domain domini, String codi, String descripcio, String codiUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDomainValuesByFilter
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.Domain domini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.DomainValue valorDomini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.DomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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()
-
-