Package com.soffid.iam.iga.service
Interface RulesService
public interface RulesService
Service RulesService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidOperation applyapplyAsync(Rule rule) Operation applyAsyncOperation createcreate(RuleAssignedRole ruleAssignment) Operation createvoidOperation deletevoiddelete(RuleAssignedRole ruleAssignment) Operation deletefindRuleAssignments(Rule rule) Operation findRuleAssignmentsOperation findRulesfindRulesByRole(Long roleId) Operation findRulesByRolegenerateChangesReport(Rule rule, Collection<RuleAssignedRole> grants) Operation generateChangesReport Generates an excel file with expected changesqueryProcessStatus(AsyncProcessTracker process) Operation queryProcessStatus Query the rule process statusOperation updateupdate(RuleAssignedRole ruleAssignment) Operation update
-
Field Details
-
REMOTE_PATH
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
applyAsync
Operation applyAsync- Parameters:
rule-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
queryProcessStatus
AsyncProcessTracker queryProcessStatus(AsyncProcessTracker process) throws InternalErrorException, InternalErrorException Operation queryProcessStatus Query the rule process status- Parameters:
process-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
Operation create- Parameters:
rule-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
update
Operation update- Parameters:
rule-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
RuleAssignedRole create(RuleAssignedRole ruleAssignment) throws InternalErrorException, InternalErrorException Operation create- Parameters:
ruleAssignment-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
update
RuleAssignedRole update(RuleAssignedRole ruleAssignment) throws InternalErrorException, InternalErrorException Operation update- Parameters:
ruleAssignment-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
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:
InternalErrorExceptionInternalErrorException
-
findRuleAssignments
Collection<RuleAssignedRole> findRuleAssignments(Rule rule) throws InternalErrorException, InternalErrorException Operation findRuleAssignments- Parameters:
rule-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findRules
Collection<Rule> findRules(String description) throws InternalErrorException, InternalErrorException Operation findRules- Parameters:
description-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findRulesByRole
Operation findRulesByRole- Parameters:
roleId-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
apply
Operation apply- Parameters:
rule-- Throws:
InternalErrorExceptionInternalErrorException
-
delete
Operation delete- Parameters:
rule-- Throws:
InternalErrorExceptionInternalErrorException
-
delete
Operation delete- Parameters:
ruleAssignment-- Throws:
InternalErrorExceptionInternalErrorException
-