Class ClusteringUtils
java.lang.Object
com.evolveum.midpoint.model.impl.mining.algorithm.cluster.action.util.ClusteringUtils
Utility class for performing clustering operations in the context of role analysis.
Provides methods for creating, preparing, and processing data points used in clustering.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadRoleBasedMultimapData(@NotNull RoleAnalysisService roleAnalysisService, @NotNull Boolean isIndirect, @Nullable SearchFilterType userSearchFilter, @Nullable SearchFilterType roleSearchFilter, @Nullable SearchFilterType assignmentSearchFilter, @NotNull AttributeAnalysisCache attributeAnalysisCache, @NotNull ObjectCategorisationCache objectCategorisationCache, @NotNull Task task, @NotNull OperationResult result, @NotNull RoleAnalysisSessionType sessionObject) loadUserBasedMultimapData(@NotNull RoleAnalysisService roleAnalysisService, @NotNull Boolean isIndirect, @Nullable SearchFilterType userSearchFilter, @Nullable SearchFilterType roleSearchFilter, @Nullable SearchFilterType assignmentSearchFilter, @NotNull AttributeAnalysisCache attributeAnalysisCache, @NotNull ObjectCategorisationCache objectCategorisationCache, @NotNull Task task, @NotNull OperationResult result, @NotNull RoleAnalysisSessionType sessionObject) prepareDataPoints(@NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap) Prepares data points based on the provided chunk map.prepareDataPointsRoleModeRules(@NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap, @NotNull RoleAnalysisService roleAnalysisService, @NotNull List<RoleAnalysisAttributeDefConvert> roleAnalysisAttributeDefConverts, @NotNull Task task) prepareDataPointsUserModeRules(@NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap, @NotNull RoleAnalysisService roleAnalysisService, @NotNull List<RoleAnalysisAttributeDefConvert> roleAnalysisAttributeDefConverts, @NotNull Task task)
-
Field Details
-
LOAD_DATA_STEP
- See Also:
-
PREPARING_DATA_POINTS_STEP
- See Also:
-
-
Constructor Details
-
ClusteringUtils
public ClusteringUtils()
-
-
Method Details
-
prepareDataPoints
@NotNull public static @NotNull List<DataPoint> prepareDataPoints(@NotNull @NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap) Prepares data points based on the provided chunk map.- Parameters:
chunkMap- A list multimap mapping roles to users.- Returns:
- A list of DataPoint instances.
-
prepareDataPointsUserModeRules
@NotNull public static @NotNull List<DataPoint> prepareDataPointsUserModeRules(@NotNull @NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap, @NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull List<RoleAnalysisAttributeDefConvert> roleAnalysisAttributeDefConverts, @NotNull @NotNull Task task) -
prepareDataPointsRoleModeRules
@NotNull public static @NotNull List<DataPoint> prepareDataPointsRoleModeRules(@NotNull @NotNull com.google.common.collect.ListMultimap<List<String>, String> chunkMap, @NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull List<RoleAnalysisAttributeDefConvert> roleAnalysisAttributeDefConverts, @NotNull @NotNull Task task) -
loadRoleBasedMultimapData
@NotNull public static @NotNull com.google.common.collect.ListMultimap<List<String>,String> loadRoleBasedMultimapData(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull Boolean isIndirect, @Nullable @Nullable SearchFilterType userSearchFilter, @Nullable @Nullable SearchFilterType roleSearchFilter, @Nullable @Nullable SearchFilterType assignmentSearchFilter, @NotNull @NotNull AttributeAnalysisCache attributeAnalysisCache, @NotNull @NotNull ObjectCategorisationCache objectCategorisationCache, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result, @NotNull @NotNull RoleAnalysisSessionType sessionObject) -
loadUserBasedMultimapData
@NotNull public static @NotNull com.google.common.collect.ListMultimap<List<String>,String> loadUserBasedMultimapData(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull Boolean isIndirect, @Nullable @Nullable SearchFilterType userSearchFilter, @Nullable @Nullable SearchFilterType roleSearchFilter, @Nullable @Nullable SearchFilterType assignmentSearchFilter, @NotNull @NotNull AttributeAnalysisCache attributeAnalysisCache, @NotNull @NotNull ObjectCategorisationCache objectCategorisationCache, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result, @NotNull @NotNull RoleAnalysisSessionType sessionObject)
-