Package com.soffid.iam.service.ejb
Class UserDomainServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.UserDomainServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.UserDomainService
,Serializable
,javax.ejb.EnterpriseBean
,javax.ejb.SessionBean
,org.springframework.ejb.support.SmartSessionBean
public class UserDomainServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.UserDomainService
- See Also:
com.soffid.iam.service.UserDomainService
,,es.caib.seycon.ng.servei.DominiUsuariService
,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
BEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description UserDomainServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.ForbiddenWord
create(com.soffid.iam.api.ForbiddenWord paraulaProhibida)
com.soffid.iam.api.PasswordDomain
create(com.soffid.iam.api.PasswordDomain dominiContrasenya)
com.soffid.iam.api.PasswordPolicy
create(com.soffid.iam.api.PasswordPolicy politicaContrasenyaDomini)
com.soffid.iam.api.PasswordPolicyForbbidenWord
create(com.soffid.iam.api.PasswordPolicyForbbidenWord paraulaProhibidaContrasenya)
com.soffid.iam.api.UserDomain
create(com.soffid.iam.api.UserDomain dominiUsuari)
com.soffid.iam.api.UserType
create(com.soffid.iam.api.UserType tipusUsuari)
void
delete(com.soffid.iam.api.ForbiddenWord paraulaProhibida)
void
delete(com.soffid.iam.api.PasswordDomain dominiContrasenya)
void
delete(com.soffid.iam.api.PasswordPolicy politicaContrasenyaDomini)
void
delete(com.soffid.iam.api.PasswordPolicyForbbidenWord paraulaProhibidaContrasenya)
void
delete(com.soffid.iam.api.UserDomain dominiUsuari)
void
delete(com.soffid.iam.api.UserType tipusUsuari)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
Collection<com.soffid.iam.api.ForbiddenWord>
findAllForbiddenWords()
Collection<com.soffid.iam.api.PasswordDomain>
findAllPasswordDomain()
Collection<com.soffid.iam.api.PasswordPolicy>
findAllPasswordPolicyDomain(String codiDominiContrasenya)
Collection<com.soffid.iam.api.UserDomain>
findAllUserDomain()
Collection<com.soffid.iam.api.UserType>
findAllUserType()
Collection<com.soffid.iam.api.PasswordPolicyForbbidenWord>
findForbiddenWordsPasswordPolicy(com.soffid.iam.api.PasswordPolicy politicaContrasenya)
Collection<String>
findNameGenerators()
com.soffid.iam.api.PasswordDomain
findPasswordDomainByName(String codi)
com.soffid.iam.api.PasswordPolicy
findPolicyByTypeAndPasswordDomain(String tipus, String domini)
com.soffid.iam.api.UserDomain
findUserDomainByName(String codiDominiUsuari)
com.soffid.iam.api.PagedResult<com.soffid.iam.api.UserType>
findUserTypeByTextAndFilter(String text, String query, Integer first, Integer max)
com.soffid.iam.api.AsyncList<com.soffid.iam.api.UserType>
findUserTypeByTextAndFilterAsync(String text, String query)
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.ForbiddenWord
update(com.soffid.iam.api.ForbiddenWord paraulaProhibida)
com.soffid.iam.api.PasswordDomain
update(com.soffid.iam.api.PasswordDomain dominiContrasenya)
com.soffid.iam.api.PasswordPolicy
update(com.soffid.iam.api.PasswordPolicy politicaContrasenyaDomini)
com.soffid.iam.api.PasswordPolicyForbbidenWord
update(com.soffid.iam.api.PasswordPolicyForbbidenWord paraulaProhibidaContrasenya)
com.soffid.iam.api.UserDomain
update(com.soffid.iam.api.UserDomain dominiUsuari)
com.soffid.iam.api.UserType
update(com.soffid.iam.api.UserType tipusUsuari)
-
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
-
findUserTypeByTextAndFilterAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.UserType> findUserTypeByTextAndFilterAsync(String text, String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findUserTypeByTextAndFilterAsync
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findUserTypeByTextAndFilter
@PermitAll public com.soffid.iam.api.PagedResult<com.soffid.iam.api.UserType> findUserTypeByTextAndFilter(String text, String query, Integer first, Integer max) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findUserTypeByTextAndFilter
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.PasswordDomain create(com.soffid.iam.api.PasswordDomain dominiContrasenya) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPasswordDomainByName
@PermitAll public com.soffid.iam.api.PasswordDomain findPasswordDomainByName(String codi) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPasswordDomainByName
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.PasswordDomain update(com.soffid.iam.api.PasswordDomain dominiContrasenya) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.UserDomain create(com.soffid.iam.api.UserDomain dominiUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findUserDomainByName
@PermitAll public com.soffid.iam.api.UserDomain findUserDomainByName(String codiDominiUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findUserDomainByName
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.UserDomain update(com.soffid.iam.api.UserDomain dominiUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.ForbiddenWord create(com.soffid.iam.api.ForbiddenWord paraulaProhibida) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.ForbiddenWord update(com.soffid.iam.api.ForbiddenWord paraulaProhibida) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.PasswordPolicyForbbidenWord create(com.soffid.iam.api.PasswordPolicyForbbidenWord paraulaProhibidaContrasenya) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.PasswordPolicyForbbidenWord update(com.soffid.iam.api.PasswordPolicyForbbidenWord paraulaProhibidaContrasenya) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.PasswordPolicy create(com.soffid.iam.api.PasswordPolicy politicaContrasenyaDomini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findPolicyByTypeAndPasswordDomain
@PermitAll public com.soffid.iam.api.PasswordPolicy findPolicyByTypeAndPasswordDomain(String tipus, String domini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findPolicyByTypeAndPasswordDomain
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.PasswordPolicy update(com.soffid.iam.api.PasswordPolicy politicaContrasenyaDomini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.UserType create(com.soffid.iam.api.UserType tipusUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
create
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.UserType update(com.soffid.iam.api.UserType tipusUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
update
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAllPasswordDomain
@PermitAll public Collection<com.soffid.iam.api.PasswordDomain> findAllPasswordDomain() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAllPasswordDomain
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAllUserDomain
@PermitAll public Collection<com.soffid.iam.api.UserDomain> findAllUserDomain() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAllUserDomain
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAllForbiddenWords
@PermitAll public Collection<com.soffid.iam.api.ForbiddenWord> findAllForbiddenWords() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAllForbiddenWords
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAllPasswordPolicyDomain
@PermitAll public Collection<com.soffid.iam.api.PasswordPolicy> findAllPasswordPolicyDomain(String codiDominiContrasenya) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAllPasswordPolicyDomain
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAllUserType
@PermitAll public Collection<com.soffid.iam.api.UserType> findAllUserType() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findAllUserType
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findNameGenerators
@PermitAll public Collection<String> findNameGenerators() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findNameGenerators
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findForbiddenWordsPasswordPolicy
@PermitAll public Collection<com.soffid.iam.api.PasswordPolicyForbbidenWord> findForbiddenWordsPasswordPolicy(com.soffid.iam.api.PasswordPolicy politicaContrasenya) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findForbiddenWordsPasswordPolicy
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.PasswordDomain dominiContrasenya) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.UserDomain dominiUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.ForbiddenWord paraulaProhibida) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.PasswordPolicyForbbidenWord paraulaProhibidaContrasenya) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.PasswordPolicy politicaContrasenyaDomini) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.UserDomainService
- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.UserType tipusUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
delete
in interfacecom.soffid.iam.service.ejb.UserDomainService
- 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()
-
-