Class RoleAnalysisObjectUtils
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.role.mining.utils.RoleAnalysisObjectUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
clusterMigrationRecompute
(@NotNull PageBase pageBase, @NotNull String clusterRefOid, String roleRefOid, com.evolveum.midpoint.task.api.Task task, OperationResult result) static Integer
countRoleMembers
(PageBase pageBase, ObjectFilter userFilter, String objectId, OperationResult result) static void
deleteSingleRoleAnalysisCluster
(@NotNull PageBase pageBase, @NotNull RoleAnalysisClusterType roleAnalysisClusterType, OperationResult result) static void
deleteSingleRoleAnalysisSession
(@NotNull PageBase pageBase, String sessionOid, OperationResult result) static List<PrismObject<UserType>>
extractRoleMembers
(ModelService modelService, ObjectFilter userFilter, String objectId, com.evolveum.midpoint.task.api.Task task, OperationResult result) static @NotNull PrismObject<RoleType>
generateBusinessRole
(PageBase pageBase, List<AssignmentType> assignmentTypes, String name) static PrismObject<RoleAnalysisClusterType>
getClusterTypeObject
(@NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) static PrismObject<FocusType>
getFocusTypeObject
(@NotNull PageBase pageBase, String oid, OperationResult result) static PrismObject<FocusType>
getFocusTypeObject
(@NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) static PrismObject<RoleType>
getRoleTypeObject
(@NotNull PageBase pageBase, String oid, OperationResult result) static PrismObject<RoleType>
getRoleTypeObject
(@NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) static PrismObject<RoleAnalysisSessionType>
getSessionTypeObject
(@NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) static PrismObject<UserType>
getUserTypeObject
(@NotNull PageBase pageBase, String oid, OperationResult result) static PrismObject<UserType>
getUserTypeObject
(@NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) static void
recomputeRoleAnalysisClusterDetectionOptions
(ModelService modelService, String clusterOid, DetectionOption detectionOption, com.evolveum.midpoint.task.api.Task task, OperationResult result) static void
recomputeSessionStatic
(@NotNull ModelService modelService, String sessionOid, @NotNull RoleAnalysisClusterType roleAnalysisClusterType, com.evolveum.midpoint.task.api.Task task, OperationResult result) static RoleAnalysisProcessModeType
resolveClusterProcessMode
(@NotNull ModelService modelService, @NotNull PrismObject<RoleAnalysisClusterType> cluster, com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static void
searchAndDeleteCluster
(PageBase pageBase, String sessionOid, OperationResult result)
-
Constructor Details
-
RoleAnalysisObjectUtils
public RoleAnalysisObjectUtils()
-
-
Method Details
-
getUserTypeObject
public static PrismObject<UserType> getUserTypeObject(@NotNull @NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) -
getFocusTypeObject
public static PrismObject<FocusType> getFocusTypeObject(@NotNull @NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) -
getRoleTypeObject
public static PrismObject<RoleType> getRoleTypeObject(@NotNull @NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) -
getRoleTypeObject
public static PrismObject<RoleType> getRoleTypeObject(@NotNull @NotNull PageBase pageBase, String oid, OperationResult result) -
getUserTypeObject
public static PrismObject<UserType> getUserTypeObject(@NotNull @NotNull PageBase pageBase, String oid, OperationResult result) -
getFocusTypeObject
public static PrismObject<FocusType> getFocusTypeObject(@NotNull @NotNull PageBase pageBase, String oid, OperationResult result) -
getClusterTypeObject
public static PrismObject<RoleAnalysisClusterType> getClusterTypeObject(@NotNull @NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) -
getSessionTypeObject
public static PrismObject<RoleAnalysisSessionType> getSessionTypeObject(@NotNull @NotNull ModelService modelService, String oid, com.evolveum.midpoint.task.api.Task task, OperationResult result) -
extractRoleMembers
public static List<PrismObject<UserType>> extractRoleMembers(ModelService modelService, ObjectFilter userFilter, String objectId, com.evolveum.midpoint.task.api.Task task, OperationResult result) -
countRoleMembers
public static Integer countRoleMembers(PageBase pageBase, ObjectFilter userFilter, String objectId, OperationResult result) -
generateBusinessRole
@NotNull public static @NotNull PrismObject<RoleType> generateBusinessRole(PageBase pageBase, List<AssignmentType> assignmentTypes, String name) -
deleteSingleRoleAnalysisCluster
public static void deleteSingleRoleAnalysisCluster(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull RoleAnalysisClusterType roleAnalysisClusterType, OperationResult result) -
deleteSingleRoleAnalysisSession
public static void deleteSingleRoleAnalysisSession(@NotNull @NotNull PageBase pageBase, String sessionOid, OperationResult result) -
searchAndDeleteCluster
public static void searchAndDeleteCluster(PageBase pageBase, String sessionOid, OperationResult result) -
resolveClusterProcessMode
public static RoleAnalysisProcessModeType resolveClusterProcessMode(@NotNull @NotNull ModelService modelService, @NotNull @NotNull PrismObject<RoleAnalysisClusterType> cluster, com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) -
recomputeSessionStatic
public static void recomputeSessionStatic(@NotNull @NotNull ModelService modelService, String sessionOid, @NotNull @NotNull RoleAnalysisClusterType roleAnalysisClusterType, com.evolveum.midpoint.task.api.Task task, OperationResult result) -
recomputeRoleAnalysisClusterDetectionOptions
public static void recomputeRoleAnalysisClusterDetectionOptions(ModelService modelService, String clusterOid, DetectionOption detectionOption, com.evolveum.midpoint.task.api.Task task, OperationResult result) -
clusterMigrationRecompute
public static void clusterMigrationRecompute(@NotNull @NotNull PageBase pageBase, @NotNull @NotNull String clusterRefOid, String roleRefOid, com.evolveum.midpoint.task.api.Task task, OperationResult result)
-