Package es.caib.seycon.ng.servei
Class SoDRuleServiceBaseProxy
- java.lang.Object
-
- es.caib.seycon.ng.servei.SoDRuleServiceBaseProxy
-
- All Implemented Interfaces:
es.caib.seycon.ng.servei.SoDRuleService
public class SoDRuleServiceBaseProxy extends Object implements es.caib.seycon.ng.servei.SoDRuleService
Spring Service base class for
see es.caib.seycon.ng.servei.SoDRuleServicees.caib.seycon.ng.servei.SoDRuleService, provides access to all services and entities referenced by this service.
-
-
Constructor Summary
Constructors Constructor Description SoDRuleServiceBaseProxy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.soffid.iam.api.SoDRuleMatrixcreate(com.soffid.iam.api.SoDRuleMatrix role)es.caib.seycon.ng.comu.SoDRolecreate(es.caib.seycon.ng.comu.SoDRole role)es.caib.seycon.ng.comu.SoDRulecreate(es.caib.seycon.ng.comu.SoDRule rule)Collection<es.caib.seycon.ng.comu.SoDRule>findAffectingRulesByRolAccount(es.caib.seycon.ng.comu.RolAccount ra)Collection<com.soffid.iam.api.SoDRuleMatrix>findMatrixByRule(Long ruleId)Collection<es.caib.seycon.ng.comu.SoDRole>findRolesByRule(Long ruleId)Collection<es.caib.seycon.ng.comu.SoDRule>findRuleByApplication(Long applicationId)List<es.caib.seycon.ng.comu.SoDRule>findSodRuleByJsonQuery(String query, Integer first, Integer pageSize)com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.SoDRule>findSodRuleByJsonQueryAsync(String query)List<es.caib.seycon.ng.comu.RolAccount>findViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel)protected PrincipalgetPrincipal()Gets the currentprincipalif one has been set, otherwise returnsnull.es.caib.seycon.ng.comu.SoDRulegetRuleById(Long ruleId)com.soffid.iam.service.SoDRuleServicegetSoDRuleService()Gets reference tosoDRuleService.voidinternalRemovingRole(Long roleId)es.caib.seycon.ng.comu.SoDRuleisAllowed(es.caib.seycon.ng.comu.RolAccount ra)booleanisGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second)voidqualifyRolAccountList(List<es.caib.seycon.ng.comu.RolAccount> ra)es.caib.seycon.ng.comu.SoDRiskqualifyUser(Collection<es.caib.seycon.ng.comu.RolAccount> ra)voidremove(com.soffid.iam.api.SoDRuleMatrix role)voidremove(es.caib.seycon.ng.comu.SoDRole role)voidremove(es.caib.seycon.ng.comu.SoDRule rule)voidsetSoDRuleService(com.soffid.iam.service.SoDRuleService soDRuleService)Sets reference tosoDRuleService.com.soffid.iam.api.SoDRuleMatrixupdate(com.soffid.iam.api.SoDRuleMatrix role)es.caib.seycon.ng.comu.SoDRuleupdate(es.caib.seycon.ng.comu.SoDRule rule)
-
-
-
Method Detail
-
setSoDRuleService
public void setSoDRuleService(com.soffid.iam.service.SoDRuleService soDRuleService)
Sets reference tosoDRuleService.
-
getSoDRuleService
public com.soffid.iam.service.SoDRuleService getSoDRuleService()
Gets reference tosoDRuleService.
-
isGreater
@Transactional(rollbackFor=java.lang.Exception.class) public boolean isGreater(es.caib.seycon.ng.comu.SoDRisk first, es.caib.seycon.ng.comu.SoDRisk second) throws es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
isGreaterin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSodRuleByJsonQueryAsync
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.AsyncList<es.caib.seycon.ng.comu.SoDRule> findSodRuleByJsonQueryAsync(String query) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findSodRuleByJsonQueryAsyncin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.SoDRuleMatrix create(com.soffid.iam.api.SoDRuleMatrix role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public com.soffid.iam.api.SoDRuleMatrix update(com.soffid.iam.api.SoDRuleMatrix role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
qualifyUser
@Transactional(rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.SoDRisk qualifyUser(Collection<es.caib.seycon.ng.comu.RolAccount> ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException
- Specified by:
qualifyUserin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.SoDRole create(es.caib.seycon.ng.comu.SoDRole role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
create
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.SoDRule create(es.caib.seycon.ng.comu.SoDRule rule) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
createin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getRuleById
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.SoDRule getRuleById(Long ruleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
getRuleByIdin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
isAllowed
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.SoDRule isAllowed(es.caib.seycon.ng.comu.RolAccount ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
isAllowedin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
update
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public es.caib.seycon.ng.comu.SoDRule update(es.caib.seycon.ng.comu.SoDRule rule) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
updatein interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findAffectingRulesByRolAccount
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.SoDRule> findAffectingRulesByRolAccount(es.caib.seycon.ng.comu.RolAccount ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findAffectingRulesByRolAccountin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findMatrixByRule
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<com.soffid.iam.api.SoDRuleMatrix> findMatrixByRule(Long ruleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findMatrixByRulein interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findRolesByRule
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.SoDRole> findRolesByRule(Long ruleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findRolesByRulein interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findRuleByApplication
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public Collection<es.caib.seycon.ng.comu.SoDRule> findRuleByApplication(Long applicationId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findRuleByApplicationin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findSodRuleByJsonQuery
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.SoDRule> findSodRuleByJsonQuery(String query, Integer first, Integer pageSize) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findSodRuleByJsonQueryin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
findViolotions
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public List<es.caib.seycon.ng.comu.RolAccount> findViolotions(String applicationName, es.caib.seycon.ng.comu.SoDRisk riskLevel) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
findViolotionsin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
internalRemovingRole
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void internalRemovingRole(Long roleId) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
internalRemovingRolein interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
qualifyRolAccountList
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void qualifyRolAccountList(List<es.caib.seycon.ng.comu.RolAccount> ra) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
qualifyRolAccountListin interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void remove(com.soffid.iam.api.SoDRuleMatrix role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
removein interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void remove(es.caib.seycon.ng.comu.SoDRole role) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
removein interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
remove
@Transactional(isolation=DEFAULT, propagation=REQUIRED, rollbackFor=java.lang.Exception.class) public void remove(es.caib.seycon.ng.comu.SoDRule rule) throws es.caib.seycon.ng.exception.InternalErrorException, es.caib.seycon.ng.exception.InternalErrorException- Specified by:
removein interfacees.caib.seycon.ng.servei.SoDRuleService- Throws:
es.caib.seycon.ng.exception.InternalErrorException
-
getPrincipal
protected Principal getPrincipal()
Gets the currentprincipalif one has been set, otherwise returnsnull.- Returns:
- the current principal
-
-