Package es.caib.seycon.ng.servei.ejb
Interface SoDRuleService
-
public interface SoDRuleServiceEJB SoDRuleService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoDRuleMatrixcreate(SoDRuleMatrix role)SoDRolecreate(SoDRole role)SoDRulecreate(SoDRule rule)Collection<SoDRule>findAffectingRulesByRolAccount(RolAccount ra)Collection<SoDRuleMatrix>findMatrixByRule(Long ruleId)Collection<SoDRole>findRolesByRule(Long ruleId)Collection<SoDRule>findRuleByApplication(Long applicationId)List<SoDRule>findSodRuleByJsonQuery(String query, Integer first, Integer pageSize)AsyncList<SoDRule>findSodRuleByJsonQueryAsync(String query)List<RolAccount>findViolotions(String applicationName, SoDRisk riskLevel)SoDRulegetRuleById(Long ruleId)SoDRuleisAllowed(RolAccount ra)voidqualifyRolAccountList(List<RolAccount> ra)voidremove(SoDRuleMatrix role)voidremove(SoDRole role)voidremove(SoDRule rule)SoDRuleMatrixupdate(SoDRuleMatrix role)SoDRuleupdate(SoDRule rule)
-
-
-
Method Detail
-
findSodRuleByJsonQueryAsync
AsyncList<SoDRule> findSodRuleByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
SoDRuleMatrix create(SoDRuleMatrix role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
SoDRuleMatrix update(SoDRuleMatrix role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
SoDRole create(SoDRole role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
SoDRule create(SoDRule rule) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getRuleById
SoDRule getRuleById(Long ruleId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
isAllowed
SoDRule isAllowed(RolAccount ra) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
SoDRule update(SoDRule rule) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAffectingRulesByRolAccount
Collection<SoDRule> findAffectingRulesByRolAccount(RolAccount ra) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findMatrixByRule
Collection<SoDRuleMatrix> findMatrixByRule(Long ruleId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRolesByRule
Collection<SoDRole> findRolesByRule(Long ruleId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findRuleByApplication
Collection<SoDRule> findRuleByApplication(Long applicationId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findSodRuleByJsonQuery
List<SoDRule> findSodRuleByJsonQuery(String query, Integer first, Integer pageSize) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findViolotions
List<RolAccount> findViolotions(String applicationName, SoDRisk riskLevel) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
qualifyRolAccountList
void qualifyRolAccountList(List<RolAccount> ra) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
remove
void remove(SoDRuleMatrix role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
remove
void remove(SoDRole role) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
remove
void remove(SoDRule rule) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
-