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 String
BEAN_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.PamPolicy
createPolicy(com.soffid.iam.api.PamPolicy policy)
com.soffid.iam.api.PamRule
createRule(com.soffid.iam.api.PamRule rule)
void
deletePolicy(com.soffid.iam.api.PamPolicy policy)
void
deleteRule(com.soffid.iam.api.PamRule rule)
void
ejbCreate()
Initizlizes beenvoid
ejbRemove()
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.BeanFactory
getBeanFactory()
javax.ejb.SessionContext
getSessionContext()
protected void
onEjbCreate()
protected void
onEjbRemove()
void
setBeanFactoryLocator(org.springframework.beans.factory.access.BeanFactoryLocator arg0)
void
setBeanFactoryLocatorKey(String arg0)
void
setSessionContext(javax.ejb.SessionContext sessionContext)
Override default BeanFactoryLocator implementation to provide singleton loading of the application context Bean factory.com.soffid.iam.api.PamAction
updateAction(com.soffid.iam.api.PamAction action)
com.soffid.iam.api.PamPolicy
updatePolicy(com.soffid.iam.api.PamPolicy policy)
com.soffid.iam.api.PamRule
updateRule(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:
findPolicyByJsonQueryAsync
in 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:
findRuleByJsonQueryAsync
in 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:
findPolicyByJsonQuery
in 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:
findRuleByJsonQuery
in 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:
updateAction
in 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:
createPolicy
in 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:
updatePolicy
in 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:
createRule
in 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:
updateRule
in 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:
findPolicyActions
in 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:
deletePolicy
in 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:
deleteRule
in 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:
ejbCreate
in classorg.springframework.ejb.support.AbstractStatelessSessionBean
- Throws:
javax.ejb.CreateException
- See Also:
AbstractStatelessSessionBean.onEjbCreate()
-
onEjbCreate
protected void onEjbCreate()
- Specified by:
onEjbCreate
in 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:
setSessionContext
in interfacejavax.ejb.SessionBean
- See Also:
SessionBean.setSessionContext(javax.ejb.SessionContext)
-
getSessionContext
public final javax.ejb.SessionContext getSessionContext()
- Specified by:
getSessionContext
in 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()
-
-