Class RoleAnalysisDataServiceUtils
java.lang.Object
com.evolveum.midpoint.model.impl.mining.RoleAnalysisDataServiceUtils
Utility class for analysis data preparation service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetManuallyUnwantedAccesses
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull String sessionOid, @NotNull Task task, @NotNull OperationResult result) Retrieves the set of manually unwanted access OIDs based on the session's identified characteristics.getManuallyUnwantedUsers
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull String sessionOid, @NotNull Task task, @NotNull OperationResult result) Retrieves the set of manually unwanted user OIDs based on the session's identified characteristics.protected static @Nullable Integer
getSessionAccessPopularityOptionsValue
(@Nullable RoleAnalysisSessionType session) protected static @Nullable Integer
getSessionMaxAccessPopularityOptionsValue
(@Nullable RoleAnalysisSessionType session) prepareAnalysisData
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisSessionType sessionObject, boolean updateStatistics, @Nullable AttributeAnalysisCache attributeAnalysisCache, @NotNull ObjectCategorisationCache objectCategorisationCache, @NotNull RoleAnalysisProcessModeType processMode, @NotNull com.google.common.collect.ListMultimap<String, String> roleMembersMap, @NotNull Task task, @NotNull OperationResult result) Retrieves the set of manually unwanted access OIDs based on the session's identified characteristics.reverseMap
(@NotNull com.google.common.collect.ListMultimap<String, String> roleMemberCache)
-
Constructor Details
-
RoleAnalysisDataServiceUtils
public RoleAnalysisDataServiceUtils()
-
-
Method Details
-
getManuallyUnwantedAccesses
@NotNull protected static @NotNull Set<String> getManuallyUnwantedAccesses(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull String sessionOid, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) Retrieves the set of manually unwanted access OIDs based on the session's identified characteristics.- Parameters:
roleAnalysisService
- The service used to retrieve the session object.sessionOid
- The OID of the session.task
- The task in which the operation is performed.result
- The operation result.- Returns:
- A set of manually unwanted access OIDs.
-
getManuallyUnwantedUsers
@NotNull protected static @NotNull Set<String> getManuallyUnwantedUsers(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull String sessionOid, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) Retrieves the set of manually unwanted user OIDs based on the session's identified characteristics.- Parameters:
roleAnalysisService
- The service used to retrieve the session object.sessionOid
- The OID of the session.task
- The task in which the operation is performed.result
- The operation result.- Returns:
- A set of manually unwanted access OIDs.
-
prepareAnalysisData
@NotNull protected static @NotNull com.google.common.collect.ListMultimap<String,String> prepareAnalysisData(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisSessionType sessionObject, boolean updateStatistics, @Nullable @Nullable AttributeAnalysisCache attributeAnalysisCache, @NotNull @NotNull ObjectCategorisationCache objectCategorisationCache, @NotNull @NotNull RoleAnalysisProcessModeType processMode, @NotNull @NotNull com.google.common.collect.ListMultimap<String, String> roleMembersMap, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) Retrieves the set of manually unwanted access OIDs based on the session's identified characteristics. Part of loading the analysis data (assignments or roleMembershipRefs). -
reverseMap
-
getSessionAccessPopularityOptionsValue
@Nullable protected static @Nullable Integer getSessionAccessPopularityOptionsValue(@Nullable @Nullable RoleAnalysisSessionType session) -
getSessionMaxAccessPopularityOptionsValue
@Nullable protected static @Nullable Integer getSessionMaxAccessPopularityOptionsValue(@Nullable @Nullable RoleAnalysisSessionType session)
-