Package com.soffid.iam.service.ejb
Class IssueServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.IssueServiceBean
-
- All Implemented Interfaces:
com.soffid.iam.service.ejb.IssueService,Serializable,javax.ejb.EnterpriseBean,javax.ejb.SessionBean,org.springframework.ejb.support.SmartSessionBean
public class IssueServiceBean extends org.springframework.ejb.support.AbstractStatelessSessionBean implements com.soffid.iam.service.ejb.IssueService- See Also:
com.soffid.iam.service.IssueService,,com.soffid.iam.service.IssueService,, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description IssueServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcountMyIssues()com.soffid.iam.api.Issuecreate(com.soffid.iam.api.Issue event)voiddelete(com.soffid.iam.api.Issue event)voidejbCreate()Initizlizes beenvoidejbRemove()com.soffid.iam.api.PagedResult<com.soffid.iam.api.Issue>findIssuesByJsonQuery(String query, Integer first, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.Issue>findIssuesByJsonQueryAsync(String query)List<com.soffid.iam.api.Issue>findIssuesByUser(String user)com.soffid.iam.api.PagedResult<com.soffid.iam.api.Issue>findMyIssuesByJsonQuery(String query, Integer first, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.Issue>findMyIssuesByJsonQueryAsync(String query)protected org.springframework.beans.factory.BeanFactorygetBeanFactory()javax.ejb.SessionContextgetSessionContext()List<com.soffid.iam.api.IssueActionDefinition>listManualActions()com.soffid.iam.api.Issuenotify(com.soffid.iam.api.Issue issue, String address, String subject, String body)protected voidonEjbCreate()protected voidonEjbRemove()com.soffid.iam.api.IssueregisterAction(com.soffid.iam.api.Issue issue, String action)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.Issueupdate(com.soffid.iam.api.Issue event)-
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
-
findIssuesByJsonQueryAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Issue> findIssuesByJsonQueryAsync(String query) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findIssuesByJsonQueryAsyncin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findMyIssuesByJsonQueryAsync
@PermitAll public com.soffid.iam.api.AsyncList<com.soffid.iam.api.Issue> findMyIssuesByJsonQueryAsync(String query) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findMyIssuesByJsonQueryAsyncin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@PermitAll public com.soffid.iam.api.Issue create(com.soffid.iam.api.Issue event) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
notify
@PermitAll public com.soffid.iam.api.Issue notify(com.soffid.iam.api.Issue issue, String address, String subject, String body) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
notifyin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
registerAction
@PermitAll public com.soffid.iam.api.Issue registerAction(com.soffid.iam.api.Issue issue, String action) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
registerActionin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@PermitAll public com.soffid.iam.api.Issue update(com.soffid.iam.api.Issue event) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findIssuesByJsonQuery
@PermitAll public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Issue> findIssuesByJsonQuery(String query, Integer first, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findIssuesByJsonQueryin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findMyIssuesByJsonQuery
@PermitAll public com.soffid.iam.api.PagedResult<com.soffid.iam.api.Issue> findMyIssuesByJsonQuery(String query, Integer first, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findMyIssuesByJsonQueryin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
countMyIssues
@PermitAll public int countMyIssues() throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
countMyIssuesin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findIssuesByUser
@PermitAll public List<com.soffid.iam.api.Issue> findIssuesByUser(String user) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
findIssuesByUserin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
listManualActions
@PermitAll public List<com.soffid.iam.api.IssueActionDefinition> listManualActions() throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
listManualActionsin interfacecom.soffid.iam.service.ejb.IssueService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
delete
@PermitAll public void delete(com.soffid.iam.api.Issue event) throws es.caib.seycon.ng.exception.InternalErrorException- Specified by:
deletein interfacecom.soffid.iam.service.ejb.IssueService- 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()
-
-