Class ObjectCollectionViewUtil
java.lang.Object
com.evolveum.midpoint.gui.impl.util.ObjectCollectionViewUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbusinessRoleArchetypeViewExists(ModelServiceLocator modelServiceLocator) Returns true in case there is at least one collection view in the system which has an assignment to Business Role archetype (or any of its sub-archetypes).static @NotNull List<ObjectReferenceType>getArchetypeReferencesList(CompiledObjectCollectionView collectionView) static booleanisBusinessRole(CompiledObjectCollectionView view, ModelServiceLocator modelServiceLocator)
-
Constructor Details
-
ObjectCollectionViewUtil
public ObjectCollectionViewUtil()
-
-
Method Details
-
getArchetypeReferencesList
@NotNull public static @NotNull List<ObjectReferenceType> getArchetypeReferencesList(CompiledObjectCollectionView collectionView) -
businessRoleArchetypeViewExists
Returns true in case there is at least one collection view in the system which has an assignment to Business Role archetype (or any of its sub-archetypes). This condition should be satisfied e.g. for creating a new role candidate (while role mining).- Parameters:
modelServiceLocator-- Returns:
-
isBusinessRole
public static boolean isBusinessRole(CompiledObjectCollectionView view, ModelServiceLocator modelServiceLocator)
-