Package com.soffid.iam.service
Interface RulesService
-
public interface RulesServiceService RulesService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(Rule rule)Operation applyAsyncProcessTrackerapplyAsync(Rule rule)Operation applyAsyncRulecreate(Rule rule)Operation createRuleAssignedRolecreate(RuleAssignedRole ruleAssignment)Operation createvoiddelete(Rule rule)Operation deletevoiddelete(RuleAssignedRole ruleAssignment)Operation deleteCollection<RuleAssignedRole>findRuleAssignments(Rule rule)Operation findRuleAssignmentsCollection<Rule>findRules(String description)Operation findRulesCollection<Rule>findRulesByRole(Long roleId)Operation findRulesByRoleStringgenerateChangesReport(Rule rule, Collection<RuleAssignedRole> grants)Operation generateChangesReport Generates an excel file with expected changesAsyncProcessTrackerqueryProcessStatus(AsyncProcessTracker process)Operation queryProcessStatus Query the rule process statusRuleupdate(Rule rule)Operation updateRuleAssignedRoleupdate(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
-
-