Class ObjectCategorisationCache
java.lang.Object
com.evolveum.midpoint.common.mining.objects.analysis.cache.ObjectCategorisationCache
A cache for categorizing roles, users, and focus objects
 based on their identified characteristics.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddInsufficientCategory(@NotNull RoleAnalysisOptionType analysisOption) build(RoleAnalysisSessionType sessionObject) Builds the RoleAnalysisIdentifiedCharacteristicsType container by aggregating the categorized items from roles, users, and focus maps.voidclear()Clears all cached categories.getCategory(String oid, QName type) Retrieves the category for the specified object type and OID.voidmarkExcludedObjects(@NotNull RoleAnalysisSessionType sessionObject) Marks objects as excluded based on the analysis options and manually unwanted objects.voidputAllCategory(@NotNull Set<String> oids, RoleAnalysisObjectCategorizationType category, QName type) voidputCategory(String oid, RoleAnalysisObjectCategorizationType category, QName type) Adds a category to the specified object type (Role, User, or Focus).voidputMultipleCategories(String oid, QName type, RoleAnalysisObjectCategorizationType... categories) updateUnPopularityIdentifiedChar(@NotNull RoleAnalysisSessionType session) 
- 
Constructor Details- 
ObjectCategorisationCachepublic ObjectCategorisationCache()
 
- 
- 
Method Details- 
putCategoryAdds a category to the specified object type (Role, User, or Focus).- Parameters:
- oid- The OID of the object.
- category- The category to add.
- type- The type of the object (RoleType, UserType, FocusType).
 
- 
putMultipleCategoriespublic void putMultipleCategories(String oid, QName type, RoleAnalysisObjectCategorizationType... categories) 
- 
putAllCategorypublic void putAllCategory(@NotNull @NotNull Set<String> oids, RoleAnalysisObjectCategorizationType category, QName type) 
- 
getCategoryRetrieves the category for the specified object type and OID.- Parameters:
- oid- The OID of the object.
- type- The type of the object (RoleType, UserType, FocusType).
- Returns:
- The characteristics item for the given OID and type.
 
- 
clearpublic void clear()Clears all cached categories.
- 
buildBuilds the RoleAnalysisIdentifiedCharacteristicsType container by aggregating the categorized items from roles, users, and focus maps.- Parameters:
- sessionObject- The RoleAnalysisSessionType containing session data.
- Returns:
- The RoleAnalysisIdentifiedCharacteristicsType container with categorized items.
 
- 
markExcludedObjectsMarks objects as excluded based on the analysis options and manually unwanted objects.- Parameters:
- sessionObject- The session object containing the analysis options and identified characteristics.
 
- 
addInsufficientCategory
- 
getUnpopularRoles
- 
getUnpopularUsers
- 
updateUnPopularityIdentifiedCharpublic RoleAnalysisIdentifiedCharacteristicsType updateUnPopularityIdentifiedChar(@NotNull @NotNull RoleAnalysisSessionType session) 
 
-