Package es.caib.seycon.ng.servei
Interface SoDRuleService
-
public interface SoDRuleService
Service SoDRuleService
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SoDRuleMatrix
create(SoDRuleMatrix role)
Operation createSoDRole
create(SoDRole role)
Operation createSoDRule
create(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 findViolotionsSoDRule
getRuleById(Long ruleId)
Operation getRuleByIdvoid
internalRemovingRole(Long roleId)
Operation internalRemovingRoleSoDRule
isAllowed(RolAccount ra)
Operation isAllowedboolean
isGreater(SoDRisk first, SoDRisk second)
Operation isGreatervoid
qualifyRolAccountList(List<RolAccount> ra)
Operation qualifyRolAccountListSoDRisk
qualifyUser(Collection<RolAccount> ra)
Operation qualifyUservoid
remove(SoDRuleMatrix role)
Operation removevoid
remove(SoDRole role)
Operation removevoid
remove(SoDRule rule)
Operation removeSoDRuleMatrix
update(SoDRuleMatrix role)
Operation updateSoDRule
update(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
-
-