Package com.soffid.iam.service.ejb
Class AdditionalDataServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.AdditionalDataServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.AdditionalDataService,Serializable,javax.ejb.EnterpriseBean,javax.ejb.SessionBean,org.springframework.ejb.support.SmartSessionBean
public class AdditionalDataServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.AdditionalDataService- See Also:
com.soffid.iam.service.AdditionalDataService,,es.caib.seycon.ng.servei.DadesAddicionalsService,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description AdditionalDataServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.DataTypecreate(com.soffid.iam.api.DataType tipusDada)com.soffid.iam.api.UserDatacreate(com.soffid.iam.api.UserData dadaUsuari)com.soffid.iam.api.CustomObjectTypecreateCustomObjectType(com.soffid.iam.api.CustomObjectType obj)voiddelete(com.soffid.iam.api.DataType tipusDada)voiddelete(com.soffid.iam.api.UserData dadaUsuari)voiddeleteCustomObjectType(com.soffid.iam.api.CustomObjectType obj)voidejbCreate()Initizlizes beenvoidejbRemove()Collection<com.soffid.iam.api.CustomObjectType>findCustomObjectTypeByJsonQuery(String query)com.soffid.iam.api.CustomObjectTypefindCustomObjectTypeByName(String name)com.soffid.iam.api.DataTypefindDataTypeByName(String codi)Collection<com.soffid.iam.api.DataType>findDataTypes(com.soffid.iam.api.MetadataScope scope)Collection<com.soffid.iam.api.DataType>findDataTypes2(com.soffid.iam.api.MetadataScope scope)Collection<com.soffid.iam.api.DataType>findDataTypesByName(String codi)Collection<com.soffid.iam.api.DataType>findDataTypesByObjectTypeAndName(String objectType, String codi)Collection<com.soffid.iam.api.DataType>findDataTypesByObjectTypeAndName2(String objectType, String codi)Collection<com.soffid.iam.api.DataType>findDataTypesByScopeAndName(com.soffid.iam.api.MetadataScope scope, String codi)List<com.soffid.iam.api.ExtensibleObjectRegister>findExtensibleObjectRegisters()com.soffid.iam.api.DataTypefindSystemDataType(String system, String name)List<com.soffid.iam.api.DataType>findSystemDataTypes(String system)List<com.soffid.iam.api.DataType>findSystemDataTypes2(String system)es.caib.seycon.ng.comu.AccountAccessLevelEnumgetAccessLevel(com.soffid.iam.api.CustomObjectType type)protected org.springframework.beans.factory.BeanFactorygetBeanFactory()Collection<com.soffid.iam.api.DataType>getDataTypes()javax.ejb.SessionContextgetSessionContext()protected voidonEjbCreate()protected voidonEjbRemove()voidregisterStandardObject(String resourceName, com.soffid.iam.api.MetadataScope scope, boolean reset)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.com.soffid.iam.api.DataTypeupdate(com.soffid.iam.api.DataType tipusDada)com.soffid.iam.api.UserDataupdate(com.soffid.iam.api.UserData dadaUsuari)com.soffid.iam.api.CustomObjectTypeupdateCustomObjectType(com.soffid.iam.api.CustomObjectType obj)-
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
-
createCustomObjectType
@PermitAll public com.soffid.iam.api.CustomObjectType createCustomObjectType(com.soffid.iam.api.CustomObjectType obj) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createCustomObjectTypein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findCustomObjectTypeByName
@PermitAll public com.soffid.iam.api.CustomObjectType findCustomObjectTypeByName(String name) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findCustomObjectTypeByNamein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
updateCustomObjectType
@PermitAll public com.soffid.iam.api.CustomObjectType updateCustomObjectType(com.soffid.iam.api.CustomObjectType obj) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updateCustomObjectTypein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getAccessLevel
@PermitAll public es.caib.seycon.ng.comu.AccountAccessLevelEnum getAccessLevel(com.soffid.iam.api.CustomObjectType type) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getAccessLevelin interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.UserData create(com.soffid.iam.api.UserData dadaUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.UserData update(com.soffid.iam.api.UserData dadaUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.DataType create(com.soffid.iam.api.DataType tipusDada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSystemDataType
@PermitAll public com.soffid.iam.api.DataType findSystemDataType(String system, String name) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSystemDataTypein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDataTypeByName
@PermitAll public com.soffid.iam.api.DataType findDataTypeByName(String codi) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDataTypeByNamein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.DataType update(com.soffid.iam.api.DataType tipusDada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findCustomObjectTypeByJsonQuery
@PermitAll public Collection<com.soffid.iam.api.CustomObjectType> findCustomObjectTypeByJsonQuery(String query) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findCustomObjectTypeByJsonQueryin interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDataTypes
@PermitAll public Collection<com.soffid.iam.api.DataType> findDataTypes(com.soffid.iam.api.MetadataScope scope) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDataTypesin interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDataTypes2
@PermitAll public Collection<com.soffid.iam.api.DataType> findDataTypes2(com.soffid.iam.api.MetadataScope scope) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDataTypes2in interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDataTypesByObjectTypeAndName
@PermitAll public Collection<com.soffid.iam.api.DataType> findDataTypesByObjectTypeAndName(String objectType, String codi) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDataTypesByObjectTypeAndNamein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDataTypesByObjectTypeAndName2
@PermitAll public Collection<com.soffid.iam.api.DataType> findDataTypesByObjectTypeAndName2(String objectType, String codi) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDataTypesByObjectTypeAndName2in interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDataTypesByName
@PermitAll public Collection<com.soffid.iam.api.DataType> findDataTypesByName(String codi) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDataTypesByNamein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findDataTypesByScopeAndName
@PermitAll public Collection<com.soffid.iam.api.DataType> findDataTypesByScopeAndName(com.soffid.iam.api.MetadataScope scope, String codi) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findDataTypesByScopeAndNamein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getDataTypes
@PermitAll public Collection<com.soffid.iam.api.DataType> getDataTypes() throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
getDataTypesin interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findExtensibleObjectRegisters
@PermitAll public List<com.soffid.iam.api.ExtensibleObjectRegister> findExtensibleObjectRegisters() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findExtensibleObjectRegistersin interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSystemDataTypes
@PermitAll public List<com.soffid.iam.api.DataType> findSystemDataTypes(String system) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSystemDataTypesin interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSystemDataTypes2
@PermitAll public List<com.soffid.iam.api.DataType> findSystemDataTypes2(String system) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findSystemDataTypes2in interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.UserData dadaUsuari) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deletein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.DataType tipusDada) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deletein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
deleteCustomObjectType
@PermitAll public void deleteCustomObjectType(com.soffid.iam.api.CustomObjectType obj) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deleteCustomObjectTypein interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
registerStandardObject
@PermitAll public void registerStandardObject(String resourceName, com.soffid.iam.api.MetadataScope scope, boolean reset) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
registerStandardObjectin interfacecom.soffid.iam.service.ejb.AdditionalDataService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
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()
-
-