Package es.caib.seycon.ng.servei
Interface SoDRuleService
- 
public interface SoDRuleServiceService SoDRuleService 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoDRuleMatrixcreate(SoDRuleMatrix role)Operation createSoDRolecreate(SoDRole role)Operation createSoDRulecreate(SoDRule rule)Operation createCollection<SoDRule>findAffectingRulesByRolAccount(RolAccount ra)Operation findAffectingRulesByRolAccountCollection<SoDRuleMatrix>findMatrixByRule(Long ruleId)Operation findMatrixByRuleCollection<SoDRole>findRolesByRule(Long ruleId)Operation findRolesByRuleCollection<SoDRule>findRuleByApplication(Long applicationId)Operation findRuleByApplicationList<SoDRule>findSodRuleByJsonQuery(String query, Integer first, Integer pageSize)Operation findSodRuleByJsonQueryAsyncList<SoDRule>findSodRuleByJsonQueryAsync(String query)Operation findSodRuleByJsonQueryAsyncList<RolAccount>findViolotions(String applicationName, SoDRisk riskLevel)Operation findViolotionsSoDRulegetRuleById(Long ruleId)Operation getRuleByIdvoidinternalRemovingRole(Long roleId)Operation internalRemovingRoleSoDRuleisAllowed(RolAccount ra)Operation isAllowedbooleanisGreater(SoDRisk first, SoDRisk second)Operation isGreatervoidqualifyRolAccountList(List<RolAccount> ra)Operation qualifyRolAccountListSoDRiskqualifyUser(Collection<RolAccount> ra)Operation qualifyUservoidremove(SoDRuleMatrix role)Operation removevoidremove(SoDRole role)Operation removevoidremove(SoDRule rule)Operation removeSoDRuleMatrixupdate(SoDRuleMatrix role)Operation updateSoDRuleupdate(SoDRule rule)Operation update 
 - 
 
- 
- 
Field Detail
- 
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
isGreater
boolean isGreater(SoDRisk first, SoDRisk second) throws InternalErrorException
Operation isGreater- Parameters:
 first-second-- Returns:
 - Throws:
 InternalErrorException
 
- 
findSodRuleByJsonQueryAsync
AsyncList<SoDRule> findSodRuleByJsonQueryAsync(String query) throws InternalErrorException, InternalErrorException
Operation findSodRuleByJsonQueryAsync- Parameters:
 query-- Returns:
 - Throws:
 InternalErrorException
 
- 
create
SoDRuleMatrix create(SoDRuleMatrix role) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
 role-- Returns:
 - Throws:
 InternalErrorException
 
- 
update
SoDRuleMatrix update(SoDRuleMatrix role) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
 role-- Returns:
 - Throws:
 InternalErrorException
 
- 
qualifyUser
SoDRisk qualifyUser(Collection<RolAccount> ra) throws InternalErrorException, InternalErrorException
Operation qualifyUser- Parameters:
 ra-- Returns:
 - Throws:
 InternalErrorException
 
- 
create
SoDRole create(SoDRole role) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
 role-- Returns:
 - Throws:
 InternalErrorException
 
- 
create
SoDRule create(SoDRule rule) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
 rule-- Returns:
 - Throws:
 InternalErrorException
 
- 
getRuleById
SoDRule getRuleById(Long ruleId) throws InternalErrorException, InternalErrorException
Operation getRuleById- Parameters:
 ruleId-- Returns:
 - Throws:
 InternalErrorException
 
- 
isAllowed
SoDRule isAllowed(RolAccount ra) throws InternalErrorException, InternalErrorException
Operation isAllowed- Parameters:
 ra-- Returns:
 - Throws:
 InternalErrorException
 
- 
update
SoDRule update(SoDRule rule) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
 rule-- Returns:
 - Throws:
 InternalErrorException
 
- 
findAffectingRulesByRolAccount
Collection<SoDRule> findAffectingRulesByRolAccount(RolAccount ra) throws InternalErrorException, InternalErrorException
Operation findAffectingRulesByRolAccount- Parameters:
 ra-- Returns:
 - Throws:
 InternalErrorException
 
- 
findMatrixByRule
Collection<SoDRuleMatrix> findMatrixByRule(Long ruleId) throws InternalErrorException, InternalErrorException
Operation findMatrixByRule- Parameters:
 ruleId-- Returns:
 - Throws:
 InternalErrorException
 
- 
findRolesByRule
Collection<SoDRole> findRolesByRule(Long ruleId) throws InternalErrorException, InternalErrorException
Operation findRolesByRule- Parameters:
 ruleId-- Returns:
 - Throws:
 InternalErrorException
 
- 
findRuleByApplication
Collection<SoDRule> findRuleByApplication(Long applicationId) throws InternalErrorException, InternalErrorException
Operation findRuleByApplication- Parameters:
 applicationId-- Returns:
 - Throws:
 InternalErrorException
 
- 
findSodRuleByJsonQuery
List<SoDRule> findSodRuleByJsonQuery(String query, Integer first, Integer pageSize) throws InternalErrorException, InternalErrorException
Operation findSodRuleByJsonQuery- Parameters:
 query-first-pageSize-- Returns:
 - Throws:
 InternalErrorException
 
- 
findViolotions
List<RolAccount> findViolotions(String applicationName, SoDRisk riskLevel) throws InternalErrorException, InternalErrorException
Operation findViolotions- Parameters:
 applicationName-riskLevel-- Returns:
 - Throws:
 InternalErrorException
 
- 
internalRemovingRole
void internalRemovingRole(Long roleId) throws InternalErrorException, InternalErrorException
Operation internalRemovingRole- Parameters:
 roleId-- Throws:
 InternalErrorException
 
- 
qualifyRolAccountList
void qualifyRolAccountList(List<RolAccount> ra) throws InternalErrorException, InternalErrorException
Operation qualifyRolAccountList- Parameters:
 ra-- Throws:
 InternalErrorException
 
- 
remove
void remove(SoDRuleMatrix role) throws InternalErrorException, InternalErrorException
Operation remove- Parameters:
 role-- Throws:
 InternalErrorException
 
- 
remove
void remove(SoDRole role) throws InternalErrorException, InternalErrorException
Operation remove- Parameters:
 role-- Throws:
 InternalErrorException
 
- 
remove
void remove(SoDRule rule) throws InternalErrorException, InternalErrorException
Operation remove- Parameters:
 rule-- Throws:
 InternalErrorException
 
 - 
 
 -