Class 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
    • Constructor Detail

      • IssueServiceBean

        public IssueServiceBean()
    • 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:
        findIssuesByJsonQueryAsync in interface com.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:
        findMyIssuesByJsonQueryAsync in interface com.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:
        create in interface com.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:
        notify in interface com.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:
        registerAction in interface com.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:
        update in interface com.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:
        findIssuesByJsonQuery in interface com.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:
        findMyIssuesByJsonQuery in interface com.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:
        countMyIssues in interface com.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:
        findIssuesByUser in interface com.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:
        listManualActions in interface com.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:
        delete in interface com.soffid.iam.service.ejb.IssueService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • ejbCreate

        @PostConstruct
        public void ejbCreate()
                       throws javax.ejb.CreateException
        Initizlizes been
        Overrides:
        ejbCreate in class org.springframework.ejb.support.AbstractStatelessSessionBean
        Throws:
        javax.ejb.CreateException
        See Also:
        AbstractStatelessSessionBean.onEjbCreate()
      • onEjbCreate

        protected void onEjbCreate()
        Specified by:
        onEjbCreate in class org.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 interface javax.ejb.SessionBean
        See Also:
        SessionBean.setSessionContext(javax.ejb.SessionContext)
      • getSessionContext

        public final javax.ejb.SessionContext getSessionContext()
        Specified by:
        getSessionContext in interface org.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()