Package com.soffid.iam.service
Interface RulesService
-
public interface RulesService
Service RulesService
-
-
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 void
apply(Rule rule)
Operation applyAsyncProcessTracker
applyAsync(Rule rule)
Operation applyAsyncRule
create(Rule rule)
Operation createRuleAssignedRole
create(RuleAssignedRole ruleAssignment)
Operation createvoid
delete(Rule rule)
Operation deletevoid
delete(RuleAssignedRole ruleAssignment)
Operation deleteCollection<RuleAssignedRole>
findRuleAssignments(Rule rule)
Operation findRuleAssignmentsCollection<Rule>
findRules(String description)
Operation findRulesCollection<Rule>
findRulesByRole(Long roleId)
Operation findRulesByRoleString
generateChangesReport(Rule rule, Collection<RuleAssignedRole> grants)
Operation generateChangesReport Generates an excel file with expected changesAsyncProcessTracker
queryProcessStatus(AsyncProcessTracker process)
Operation queryProcessStatus Query the rule process statusRule
update(Rule rule)
Operation updateRuleAssignedRole
update(RuleAssignedRole ruleAssignment)
Operation update
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
applyAsync
AsyncProcessTracker applyAsync(Rule rule) throws InternalErrorException, InternalErrorException
Operation applyAsync- Parameters:
rule
-- Returns:
- Throws:
InternalErrorException
-
queryProcessStatus
AsyncProcessTracker queryProcessStatus(AsyncProcessTracker process) throws InternalErrorException, InternalErrorException
Operation queryProcessStatus Query the rule process status- Parameters:
process
-- Returns:
- Throws:
InternalErrorException
-
create
Rule create(Rule rule) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
rule
-- Returns:
- Throws:
InternalErrorException
-
update
Rule update(Rule rule) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
rule
-- Returns:
- Throws:
InternalErrorException
-
create
RuleAssignedRole create(RuleAssignedRole ruleAssignment) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
ruleAssignment
-- Returns:
- Throws:
InternalErrorException
-
update
RuleAssignedRole update(RuleAssignedRole ruleAssignment) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
ruleAssignment
-- Returns:
- Throws:
InternalErrorException
-
generateChangesReport
String generateChangesReport(Rule rule, Collection<RuleAssignedRole> grants) throws InternalErrorException, InternalErrorException
Operation generateChangesReport Generates an excel file with expected changes- Parameters:
rule
-grants
-- Returns:
- Throws:
InternalErrorException
-
findRuleAssignments
Collection<RuleAssignedRole> findRuleAssignments(Rule rule) throws InternalErrorException, InternalErrorException
Operation findRuleAssignments- Parameters:
rule
-- Returns:
- Throws:
InternalErrorException
-
findRules
Collection<Rule> findRules(String description) throws InternalErrorException, InternalErrorException
Operation findRules- Parameters:
description
-- Returns:
- Throws:
InternalErrorException
-
findRulesByRole
Collection<Rule> findRulesByRole(Long roleId) throws InternalErrorException, InternalErrorException
Operation findRulesByRole- Parameters:
roleId
-- Returns:
- Throws:
InternalErrorException
-
apply
void apply(Rule rule) throws InternalErrorException, InternalErrorException
Operation apply- Parameters:
rule
-- Throws:
InternalErrorException
-
delete
void delete(Rule rule) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
rule
-- Throws:
InternalErrorException
-
delete
void delete(RuleAssignedRole ruleAssignment) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
ruleAssignment
-- Throws:
InternalErrorException
-
-