Class CompressedMiningStructure
java.lang.Object
com.evolveum.midpoint.model.impl.mining.chunk.BasePrepareAction
com.evolveum.midpoint.model.impl.mining.chunk.CompressedMiningStructure
- All Implemented Interfaces:
MiningStructure
This class is responsible for preparing the chunk structure for role analysis in the Midpoint system.
It creates data structures used in the analysis process, such as chunks of user and role data for further processing.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionexecuteOperation
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisClusterType cluster, boolean fullProcess, @NotNull RoleAnalysisProcessModeType mode, @NotNull OperationResult result, @NotNull Task task) @NotNull MiningOperationChunk
preparePartialRoleBasedStructure
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisClusterType cluster, @NotNull RoleAnalysisProgressIncrement handler, @NotNull Task task, @NotNull OperationResult result) Prepares a partial role-based structure for mining operations based on the provided parameters.@NotNull MiningOperationChunk
preparePartialUserBasedStructure
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisClusterType cluster, @NotNull RoleAnalysisProgressIncrement handler, @NotNull Task task, @NotNull OperationResult result) Prepares a partial user-based structure for mining operations based on the provided parameters.@NotNull MiningOperationChunk
prepareRoleBasedStructure
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisClusterType cluster, @NotNull RoleAnalysisProgressIncrement handler, @NotNull Task task, @NotNull OperationResult result) This method prepares a role-based structure for mining operations.@NotNull MiningOperationChunk
prepareUserBasedStructure
(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisClusterType cluster, @NotNull RoleAnalysisProgressIncrement handler, @NotNull Task task, @NotNull OperationResult result) This method prepares a user-based structure for mining operations.Methods inherited from class com.evolveum.midpoint.model.impl.mining.chunk.BasePrepareAction
executeAction, loadPartialUserChunk, loadRoleMap, loadUserChunk, prepareRoleChunkMap, resolveRoleTypeChunk, resolveUserTypeChunk
-
Constructor Details
-
CompressedMiningStructure
public CompressedMiningStructure()
-
-
Method Details
-
executeOperation
public MiningOperationChunk executeOperation(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisClusterType cluster, boolean fullProcess, @NotNull @NotNull RoleAnalysisProcessModeType mode, @NotNull @NotNull OperationResult result, @NotNull @NotNull Task task) -
prepareRoleBasedStructure
@NotNull public @NotNull MiningOperationChunk prepareRoleBasedStructure(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisClusterType cluster, @NotNull @NotNull RoleAnalysisProgressIncrement handler, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) Description copied from interface:MiningStructure
This method prepares a role-based structure for mining operations.- Parameters:
roleAnalysisService
- The role analysis service.cluster
- The cluster representing a group of roles.handler
- The progress handler for role analysis.task
- The task associated with the operation.result
- The result object for tracking the operation's outcome.- Returns:
- A MiningOperationChunk containing user and role chunks for further processing.
-
prepareUserBasedStructure
@NotNull public @NotNull MiningOperationChunk prepareUserBasedStructure(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisClusterType cluster, @NotNull @NotNull RoleAnalysisProgressIncrement handler, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) Description copied from interface:MiningStructure
This method prepares a user-based structure for mining operations.- Parameters:
roleAnalysisService
- The role analysis service.cluster
- The cluster representing a group of roles.handler
- The progress handler for role analysis.task
- The task associated with the operation.result
- The result object for tracking the operation's outcome.- Returns:
- A MiningOperationChunk containing user and role chunks for further processing.
-
preparePartialRoleBasedStructure
@NotNull public @NotNull MiningOperationChunk preparePartialRoleBasedStructure(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisClusterType cluster, @NotNull @NotNull RoleAnalysisProgressIncrement handler, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) Description copied from interface:MiningStructure
Prepares a partial role-based structure for mining operations based on the provided parameters. This method is used for partial role analysis where is not nessessary to process all roles like in GUI. It prepares user chunk (MiningUserTypeChunk) structure for role analysis. Role chunk (MiningRoleTypeChunk) structure is empty array.- Parameters:
roleAnalysisService
- The role analysis service.cluster
- The cluster representing a group of roles for analysis.handler
- The progress handler for monitoring role analysis.task
- The task associated with this operation.result
- The result object for tracking the operation's outcome.- Returns:
- A MiningOperationChunk containing mining information about user chunk (MiningUserTypeChunk).
-
preparePartialUserBasedStructure
@NotNull public @NotNull MiningOperationChunk preparePartialUserBasedStructure(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisClusterType cluster, @NotNull @NotNull RoleAnalysisProgressIncrement handler, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) Description copied from interface:MiningStructure
Prepares a partial user-based structure for mining operations based on the provided parameters. This method is used for partial user analysis where is not nessessary to process all users like in GUI. It prepares role chunk (MiningRoleTypeChunk) structure for role analysis. User chunk (MiningUserTypeChunk) structure is empty array.- Parameters:
roleAnalysisService
- The role analysis service.cluster
- The cluster representing a group of roles for analysis.handler
- The progress handler for monitoring role analysis.task
- The task associated with this operation.result
- The result object for tracking the operation's outcome.- Returns:
- A MiningOperationChunk containing mining information about role chunk (MiningRoleTypeChunk).
-