Class PamPolicyServiceBean

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

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

      • PamPolicyServiceBean

        public PamPolicyServiceBean()
    • Method Detail

      • findPolicyByJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamPolicy> findPolicyByJsonQueryAsync​(String text,
                                                                                                     String query)
                                                                                              throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findPolicyByJsonQueryAsync in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRuleByJsonQueryAsync

        @PermitAll
        public com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamRule> findRuleByJsonQueryAsync​(String text,
                                                                                                 String query)
                                                                                          throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRuleByJsonQueryAsync in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findPolicyByJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamPolicy> findPolicyByJsonQuery​(String text,
                                                                                                  String query,
                                                                                                  Integer first,
                                                                                                  Integer pageSize)
                                                                                           throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findPolicyByJsonQuery in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findRuleByJsonQuery

        @PermitAll
        public com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamRule> findRuleByJsonQuery​(String text,
                                                                                              String query,
                                                                                              Integer first,
                                                                                              Integer pageSize)
                                                                                       throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findRuleByJsonQuery in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updateAction

        @PermitAll
        public com.soffid.iam.api.PamAction updateAction​(com.soffid.iam.api.PamAction action)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateAction in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • createPolicy

        @PermitAll
        public com.soffid.iam.api.PamPolicy createPolicy​(com.soffid.iam.api.PamPolicy policy)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createPolicy in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updatePolicy

        @PermitAll
        public com.soffid.iam.api.PamPolicy updatePolicy​(com.soffid.iam.api.PamPolicy policy)
                                                  throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updatePolicy in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • createRule

        @PermitAll
        public com.soffid.iam.api.PamRule createRule​(com.soffid.iam.api.PamRule rule)
                                              throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        createRule in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • updateRule

        @PermitAll
        public com.soffid.iam.api.PamRule updateRule​(com.soffid.iam.api.PamRule rule)
                                              throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        updateRule in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • findPolicyActions

        @PermitAll
        public List<com.soffid.iam.api.PamAction> findPolicyActions​(com.soffid.iam.api.PamPolicy policy)
                                                             throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        findPolicyActions in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • deletePolicy

        @PermitAll
        public void deletePolicy​(com.soffid.iam.api.PamPolicy policy)
                          throws es.caib.seycon.ng.exception.InternalErrorException
        Specified by:
        deletePolicy in interface com.soffid.iam.service.ejb.PamPolicyService
        Throws:
        es.caib.seycon.ng.exception.InternalErrorException
      • deleteRule

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