Class CustomObjectServiceBean

  • All Implemented Interfaces:
    com.soffid.iam.service.ejb.CustomObjectService, Serializable, javax.ejb.EnterpriseBean, javax.ejb.SessionBean, org.springframework.ejb.support.SmartSessionBean

    public class CustomObjectServiceBean
    extends org.springframework.ejb.support.AbstractStatelessSessionBean
    implements com.soffid.iam.service.ejb.CustomObjectService
    See Also:
    com.soffid.iam.service.CustomObjectService,, com.soffid.iam.service.CustomObjectService,, Serialized Form
    • Constructor Detail

      • CustomObjectServiceBean

        public CustomObjectServiceBean()
    • Method Detail

      • findCustomObjectByJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByJsonQueryAsync​(String objectType,
                                                                                                              String query)
                                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByJsonQueryAsync in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByTextAndFilterAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndFilterAsync​(String objectType,
                                                                                                                  String text,
                                                                                                                  String filter)
                                                                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByTextAndFilterAsync in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByTextAndJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndJsonQueryAsync​(String text,
                                                                                                                     String filter)
                                                                                                              throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByTextAndJsonQueryAsync in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByTextAndJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndJsonQueryAsync​(String objectType,
                                                                                                                     String text,
                                                                                                                     String filter)
                                                                                                              throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByTextAndJsonQueryAsync in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByTextAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.CustomObject> findCustomObjectByTextAsync​(String objectType,
                                                                                                         String query)
                                                                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByTextAsync in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • createCustomObject

        @PermitAll
        public com.soffid.iam.api.CustomObject createCustomObject​(com.soffid.iam.api.CustomObject obj)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createCustomObject in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByTypeAndName

        @PermitAll
        public com.soffid.iam.api.CustomObject findCustomObjectByTypeAndName​(String objectType,
                                                                             String name)
                                                                      throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByTypeAndName in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updateCustomObject

        @PermitAll
        public com.soffid.iam.api.CustomObject updateCustomObject​(com.soffid.iam.api.CustomObject obj)
                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateCustomObject in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByTextAndJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndJsonQuery​(String text,
                                                                                                                  String filter,
                                                                                                                  Integer start,
                                                                                                                  Integer end)
                                                                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByTextAndJsonQuery in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByTextAndJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndJsonQuery​(String objectType,
                                                                                                                  String text,
                                                                                                                  String filter,
                                                                                                                  Integer start,
                                                                                                                  Integer end)
                                                                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByTextAndJsonQuery in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByJsonQuery

        @PermitAll
        public Collection<com.soffid.iam.api.CustomObject> findCustomObjectByJsonQuery​(String objectType,
                                                                                       String query)
                                                                                throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByJsonQuery in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByText

        @PermitAll
        public Collection<com.soffid.iam.api.CustomObject> findCustomObjectByText​(String objectType,
                                                                                  String query)
                                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByText in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findCustomObjectByTextAndFilter

        @PermitAll
        public Collection<com.soffid.iam.api.CustomObject> findCustomObjectByTextAndFilter​(String objectType,
                                                                                           String text,
                                                                                           String filter)
                                                                                    throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findCustomObjectByTextAndFilter in interface com.soffid.iam.service.ejb.CustomObjectService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • deleteCustomObject

        @PermitAll
        public void deleteCustomObject​(com.soffid.iam.api.CustomObject obj)
                                throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        deleteCustomObject in interface com.soffid.iam.service.ejb.CustomObjectService
        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()