Class BasePrepareAction
java.lang.Object
com.evolveum.midpoint.model.impl.mining.chunk.BasePrepareAction
- All Implemented Interfaces:
MiningStructure
- Direct Known Subclasses:
CompressedMiningStructure,ExpandedMiningStructure
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectCandidateRolesOidToExclude(@NotNull RoleAnalysisService roleAnalysisService, List<RoleAnalysisCandidateRoleType> candidateRoles, @NotNull Task task, @NotNull OperationResult result) protected @NotNull MiningOperationChunkexecuteAction(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisClusterType cluster, @Nullable SearchFilterType userSearchFilter, @Nullable SearchFilterType roleSearchFilter, @Nullable SearchFilterType assignmentSearchFilter, boolean fullProcess, @NotNull RoleAnalysisProcessModeType mode, @NotNull RoleAnalysisProgressIncrement handler, @NotNull Task task, @NotNull OperationResult result, @Nullable DisplayValueOption option) Executes the action for preparing the mining structure based on the specified cluster and mode.protected RoleAnalysisCacheOptionprotected RoleAnalysisCacheOptionprotected static voidpullMigratedRoles(@NotNull RoleAnalysisService roleAnalysisService, @NotNull RoleAnalysisClusterType cluster, @Nullable SearchFilterType userSearchFilter, @Nullable SearchFilterType assignmentSearchFilter, @NotNull Task task, @NotNull OperationResult result, com.google.common.collect.ListMultimap<String, String> expandUsersMap) protected voidresolveRoleTypeChunkCompress(@NotNull RoleAnalysisService roleAnalysisService, @NotNull com.google.common.collect.ListMultimap<List<String>, String> compressedUsers, double allUsersInMiningStructureSize, @NotNull Map<String, PrismObject<RoleType>> roleExistCache, @NotNull List<MiningRoleTypeChunk> miningRoleTypeChunks) protected voidresolveRoleTypeChunkExpanded(@NotNull RoleAnalysisService roleAnalysisService, @NotNull com.google.common.collect.ListMultimap<String, String> expandRolesMap, double allUsersInMiningStructureSize, @NotNull Map<String, PrismObject<RoleType>> roleExistCache, @NotNull List<MiningRoleTypeChunk> miningRoleTypeChunks, @Nullable DisplayValueOption option) protected voidresolveUserTypeChunkCompress(@NotNull RoleAnalysisService roleAnalysisService, @NotNull com.google.common.collect.ListMultimap<List<String>, String> compressedUsers, int allRolesInMiningStructureSize, @NotNull Map<String, PrismObject<UserType>> userExistCache, @NotNull List<MiningUserTypeChunk> miningUserTypeChunks) protected voidresolveUserTypeChunkExpand(@NotNull RoleAnalysisService roleAnalysisService, @NotNull com.google.common.collect.ListMultimap<String, String> expandedUsersMap, int allRolesInMiningStructureSize, @NotNull Map<String, PrismObject<UserType>> userExistCache, @NotNull List<MiningUserTypeChunk> miningUserTypeChunks, @Nullable DisplayValueOption option) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.model.impl.mining.chunk.MiningStructure
preparePartialRoleBasedStructure, preparePartialUserBasedStructure, prepareRoleBasedStructure, prepareUserBasedStructure
-
Constructor Details
-
BasePrepareAction
public BasePrepareAction()
-
-
Method Details
-
executeAction
@NotNull protected @NotNull MiningOperationChunk executeAction(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisClusterType cluster, @Nullable @Nullable SearchFilterType userSearchFilter, @Nullable @Nullable SearchFilterType roleSearchFilter, @Nullable @Nullable SearchFilterType assignmentSearchFilter, boolean fullProcess, @NotNull @NotNull RoleAnalysisProcessModeType mode, @NotNull @NotNull RoleAnalysisProgressIncrement handler, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result, @Nullable @Nullable DisplayValueOption option) Executes the action for preparing the mining structure based on the specified cluster and mode.- Parameters:
roleAnalysisService- The role analysis service for performing the operation.cluster- The role analysis cluster to process.userSearchFilter- The user search filter.roleSearchFilter- The role search filter.assignmentSearchFilter- The assignment search filter.fullProcess- Indicates whether a full process should be performed.mode- The role analysis process Mode.handler- The progress increment handler.task- The task associated with this operation.result- The operation result.option- Display options chunk preparation.- Returns:
- The MiningOperationChunk containing the prepared structure.
-
resolveRoleTypeChunkCompress
protected void resolveRoleTypeChunkCompress(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull com.google.common.collect.ListMultimap<List<String>, String> compressedUsers, double allUsersInMiningStructureSize, @NotNull @NotNull Map<String, PrismObject<RoleType>> roleExistCache, @NotNull @NotNull List<MiningRoleTypeChunk> miningRoleTypeChunks) -
resolveRoleTypeChunkExpanded
protected void resolveRoleTypeChunkExpanded(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull com.google.common.collect.ListMultimap<String, String> expandRolesMap, double allUsersInMiningStructureSize, @NotNull @NotNull Map<String, PrismObject<RoleType>> roleExistCache, @NotNull @NotNull List<MiningRoleTypeChunk> miningRoleTypeChunks, @Nullable @Nullable DisplayValueOption option) -
resolveUserTypeChunkCompress
protected void resolveUserTypeChunkCompress(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull com.google.common.collect.ListMultimap<List<String>, String> compressedUsers, int allRolesInMiningStructureSize, @NotNull @NotNull Map<String, PrismObject<UserType>> userExistCache, @NotNull @NotNull List<MiningUserTypeChunk> miningUserTypeChunks) -
resolveUserTypeChunkExpand
protected void resolveUserTypeChunkExpand(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull com.google.common.collect.ListMultimap<String, String> expandedUsersMap, int allRolesInMiningStructureSize, @NotNull @NotNull Map<String, PrismObject<UserType>> userExistCache, @NotNull @NotNull List<MiningUserTypeChunk> miningUserTypeChunks, @Nullable @Nullable DisplayValueOption option) -
collectCandidateRolesOidToExclude
@NotNull protected static @NotNull Set<String> collectCandidateRolesOidToExclude(@NotNull @NotNull RoleAnalysisService roleAnalysisService, List<RoleAnalysisCandidateRoleType> candidateRoles, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) -
pullMigratedRoles
protected static void pullMigratedRoles(@NotNull @NotNull RoleAnalysisService roleAnalysisService, @NotNull @NotNull RoleAnalysisClusterType cluster, @Nullable @Nullable SearchFilterType userSearchFilter, @Nullable @Nullable SearchFilterType assignmentSearchFilter, @NotNull @NotNull Task task, @NotNull @NotNull OperationResult result, com.google.common.collect.ListMultimap<String, String> expandUsersMap) -
getUserCacheOption
-
getRoleCacheOption
-