Package com.soffid.iam.service.ejb
Class PamPolicyServiceBean
- java.lang.Object
-
- org.springframework.ejb.support.AbstractStatelessSessionBean
-
- com.soffid.iam.service.ejb.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
-
-
Field Summary
Fields Modifier and Type Field Description static StringBEAN_FACTORY_PATH_ENVIRONMENT_KEY
-
Constructor Summary
Constructors Constructor Description PamPolicyServiceBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.PamPolicycreatePolicy(com.soffid.iam.api.PamPolicy policy)com.soffid.iam.api.PamRulecreateRule(com.soffid.iam.api.PamRule rule)voiddeletePolicy(com.soffid.iam.api.PamPolicy policy)voiddeleteRule(com.soffid.iam.api.PamRule rule)voidejbCreate()Initizlizes beenvoidejbRemove()List<com.soffid.iam.api.PamAction>findPolicyActions(com.soffid.iam.api.PamPolicy policy)com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamPolicy>findPolicyByJsonQuery(String text, String query, Integer first, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamPolicy>findPolicyByJsonQueryAsync(String text, String query)com.soffid.iam.api.PagedResult<com.soffid.iam.api.PamRule>findRuleByJsonQuery(String text, String query, Integer first, Integer pageSize)com.soffid.iam.api.AsyncList<com.soffid.iam.api.PamRule>findRuleByJsonQueryAsync(String text, String query)protected org.springframework.beans.factory.BeanFactorygetBeanFactory()javax.ejb.SessionContextgetSessionContext()protected voidonEjbCreate()protected voidonEjbRemove()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.PamActionupdateAction(com.soffid.iam.api.PamAction action)com.soffid.iam.api.PamPolicyupdatePolicy(com.soffid.iam.api.PamPolicy policy)com.soffid.iam.api.PamRuleupdateRule(com.soffid.iam.api.PamRule rule)-
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
-
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:
findPolicyByJsonQueryAsyncin interfacecom.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:
findRuleByJsonQueryAsyncin interfacecom.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:
findPolicyByJsonQueryin interfacecom.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:
findRuleByJsonQueryin interfacecom.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:
updateActionin interfacecom.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:
createPolicyin interfacecom.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:
updatePolicyin interfacecom.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:
createRulein interfacecom.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:
updateRulein interfacecom.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:
findPolicyActionsin interfacecom.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:
deletePolicyin interfacecom.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:
deleteRulein interfacecom.soffid.iam.service.ejb.PamPolicyService- 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()
-
-