Class PartitionObjectDto
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.role.mining.tables.outlier.panel.PartitionObjectDto
- All Implemented Interfaces:
Serializable
A Data Transfer Object representing a role analysis partition details and its associated outlier.
Used in session outlier partition tables.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPartitionObjectDto(@NotNull RoleAnalysisOutlierType outlier, @NotNull RoleAnalysisOutlierPartitionType partition) -
Method Summary
Modifier and TypeMethodDescriptionstatic List<PartitionObjectDto>buildPartitionObjectList(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisClusterType cluster, Integer limit, @Nullable OutlierCategoryType outlierCategory, com.evolveum.midpoint.task.api.Task task, OperationResult result) Constructs a newPartitionObjectDtolist instancestatic List<PartitionObjectDto>buildPartitionObjectList(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisSessionType session, Integer limit, @Nullable OutlierCategoryType outlierCategory, com.evolveum.midpoint.task.api.Task task, OperationResult result) Constructs a newPartitionObjectDtolist instancedoubledouble
-
Field Details
-
F_ASSOCIATED_OUTLIER_NAME
- See Also:
-
F_OUTLIER_PARTITION_SCORE
- See Also:
-
F_ANOMALY_ACCESS_COUNT
- See Also:
-
F_CLUSTER_LOCATION_NAME
- See Also:
-
-
Constructor Details
-
PartitionObjectDto
public PartitionObjectDto(@NotNull @NotNull RoleAnalysisOutlierType outlier, @NotNull @NotNull RoleAnalysisOutlierPartitionType partition)
-
-
Method Details
-
buildPartitionObjectList
public static List<PartitionObjectDto> buildPartitionObjectList(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisSessionType session, Integer limit, @Nullable @Nullable OutlierCategoryType outlierCategory, com.evolveum.midpoint.task.api.Task task, OperationResult result) Constructs a newPartitionObjectDtolist instance- Parameters:
roleAnalysisService- The service used to retrieve role analysis data.session- The role analysis session associated with the outlier partitions.limit- The maximum number of partitions to retrieve.outlierCategory- The outlier cluster category to filter the partitions by.task- The task in which the operation is performed.result- The operation result.- Returns:
- A list of PartitionObjectDto representing the outlier partitions details and their associated outliers.
-
buildPartitionObjectList
public static List<PartitionObjectDto> buildPartitionObjectList(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisClusterType cluster, Integer limit, @Nullable @Nullable OutlierCategoryType outlierCategory, com.evolveum.midpoint.task.api.Task task, OperationResult result) Constructs a newPartitionObjectDtolist instance- Parameters:
roleAnalysisService- The service used to retrieve role analysis data.cluster- The role analysis cluster associated with the outlier partitions.limit- The maximum number of partitions to retrieve.outlierCategory- The outlier cluster category to filter the partitions by.task- The task in which the operation is performed.result- The operation result.- Returns:
- A list of PartitionObjectDto representing the outlier partitions details and their associated outliers.
-
getAssociatedOutlierName
-
getOutlierPartitionScore
public double getOutlierPartitionScore() -
getAnomalyAccessCount
public double getAnomalyAccessCount() -
getPartition
-
getOutlier
-
getClusterLocationName
-