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 String
BEAN_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.DataType
create(com.soffid.iam.api.DataType tipusDada)
com.soffid.iam.api.UserData
create(com.soffid.iam.api.UserData dadaUsuari)
com.soffid.iam.api.CustomObjectType
createCustomObjectType(com.soffid.iam.api.CustomObjectType obj)
void
delete(com.soffid.iam.api.DataType tipusDada)
void
delete(com.soffid.iam.api.UserData dadaUsuari)
void
deleteCustomObjectType(com.soffid.iam.api.CustomObjectType obj)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
Collection<com.soffid.iam.api.CustomObjectType>
findCustomObjectTypeByJsonQuery(String query)
com.soffid.iam.api.CustomObjectType
findCustomObjectTypeByName(String name)
com.soffid.iam.api.DataType
findDataTypeByName(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.DataType
findSystemDataType(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.AccountAccessLevelEnum
getAccessLevel(com.soffid.iam.api.CustomObjectType type)
protected org.springframework.beans.factory.BeanFactory
getBeanFactory()
Collection<com.soffid.iam.api.DataType>
getDataTypes()
javax.ejb.SessionContext
getSessionContext()
protected void
onEjbCreate()
protected void
onEjbRemove()
void
registerStandardObject(String resourceName, com.soffid.iam.api.MetadataScope scope, boolean reset)
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.DataType
update(com.soffid.iam.api.DataType tipusDada)
com.soffid.iam.api.UserData
update(com.soffid.iam.api.UserData dadaUsuari)
com.soffid.iam.api.CustomObjectType
updateCustomObjectType(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:
createCustomObjectType
in 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:
findCustomObjectTypeByName
in 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:
updateCustomObjectType
in 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:
getAccessLevel
in 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:
create
in 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:
update
in 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:
create
in 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:
findSystemDataType
in 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:
findDataTypeByName
in 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:
update
in 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:
findCustomObjectTypeByJsonQuery
in 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:
findDataTypes
in 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:
findDataTypes2
in 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:
findDataTypesByObjectTypeAndName
in 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:
findDataTypesByObjectTypeAndName2
in 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:
findDataTypesByName
in 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:
findDataTypesByScopeAndName
in 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:
getDataTypes
in 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:
findExtensibleObjectRegisters
in 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:
findSystemDataTypes
in 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:
findSystemDataTypes2
in 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:
delete
in 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:
delete
in 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:
deleteCustomObjectType
in 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:
registerStandardObject
in 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:
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()
-
-