Class ProvisioningObjectsUtil
java.lang.Object
com.evolveum.midpoint.gui.impl.util.ProvisioningObjectsUtil
Util methods for working with shadows and resources.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanactivationNotSupported(ResourceType resource) static ItemVisibilitycheckShadowActivationAndPasswordVisibility(ItemWrapper<?, ?> itemWrapper, ShadowType shadowType) static intstatic intstatic Stringstatic ObjectFiltercreateAssociationShadowRefFilter(ShadowReferenceAttributeDefinition shadowReferenceAttributeDefinition, PrismContext prismContext, String resourceOid) Creates a filter that provides all shadows eligible as the target value for this association.static @NotNull StringdetermineDisplayNameForDefinition(ShadowType shadow, PageBase pageBase) static StringfilterNonDeadProjections(List<ShadowWrapper> projectionWrappers) static Stringstatic Stringstatic ExpressionTypegetAssociationExpression(PrismContainerValueWrapper<AssignmentType> assignmentValueWrapper, boolean createIfNotExist, PrismContext prismContext, PageBase pageBase) Deprecated.static ExpressionTypegetAssociationExpression(PrismContainerValueWrapper<AssignmentType> assignmentValueWrapper, PageBase pageBase) Deprecated.static @Nullable ItemNamegetAssociationForConstructionAndShadow(@NotNull ConstructionType construction, @NotNull ShadowType shadow, PageBase pageBase) static PrismObject<ResourceType>getConstructionResource(ConstructionType construction, String operation, PageBase pageBase) static CapabilityCollectionTypegetNativeCapabilities(ResourceType resource, PageBase pageBase) static List<ShadowRelationParticipantType>static StringgetPendingOperationLabel(PendingOperationType realValue, BasePanel<?> panel) static StringgetPendingOperationsLabels(ShadowType shadow, BasePanel panel) static List<ShadowAssociationDefinition>getReferenceAssociationDefinition(ConstructionType construction, PageBase pageBase) getReferenceAssociationDefinition(ResourceType resource, ShadowKindType kind, String intent) static ShadowAssociationDefinitiongetRefinedAssociationDefinition(ItemName association, ConstructionType construction, PageBase pageBase) static List<ShadowAssociationDefinition>getRefinedAssociationDefinition(ResourceType resource, ShadowKindType kind, String intent) static ResourceSchemagetRefinedSchema(ResourceType resource, PageBase pageBase) static org.apache.wicket.model.IModel<String>getResourceAttributesLabelModel(ShadowType shadow, PageBase pageBase) static org.apache.wicket.model.IModel<String>getResourceLabelModel(ShadowType shadow, PageBase pageBase) static ResourceObjectDefinitiongetResourceObjectDefinition(ConstructionType construction, PageBase pageBase) getShadowReferenceAttributeDefinitions(CompleteResourceSchema resourceSchema) static ObjectFiltergetShadowTypeFilterForAssociation(ResourceObjectDefinition oc, ItemName association) static ObjectFiltergetShadowTypeFilterForAssociation(ConstructionType construction, ItemName association, String operation, PageBase pageBase) static ObjectFiltergetShadowTypeFilterForAssociation(ConstructionType construction, String operation, PageBase pageBase) static booleanisActivationSupported(ShadowType shadowType, org.apache.wicket.model.IModel<ResourceType> resourceModel) static booleanisAssociationSupported(ShadowType shadowType, org.apache.wicket.model.IModel<ResourceType> resourceModel) static booleanisPasswordSupported(ShadowType shadowType, org.apache.wicket.model.IModel<ResourceType> resourceModel) static Collection<QName>loadResourceObjectClassValues(ResourceType resource, PageBase pageBase) static voidpartialConfigurationTest(@NotNull PrismObject<ResourceType> resource, PageBase pageBase, com.evolveum.midpoint.task.api.Task task, OperationResult result) static voidrefreshResourceSchema(@NotNull PrismObject<ResourceType> resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) static voidrefreshResourceSchema(@NotNull PrismObject<ResourceType> resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase, OperationResult result) static ResourceTyperesolveResource(ShadowType shadowType, boolean isColumn, PageBase pageBase) static voidswitchResourceMaintenance(@NotNull PrismObject<ResourceType> resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase, AdministrativeAvailabilityStatusType mode) static voidtoggleResourceMaintenance(@NotNull PrismObject<ResourceType> resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) 
- 
Constructor Details- 
ProvisioningObjectsUtilpublic ProvisioningObjectsUtil()
 
- 
- 
Method Details- 
determineDisplayNameForDefinition@NotNull public static @NotNull String determineDisplayNameForDefinition(ShadowType shadow, PageBase pageBase) 
- 
getRefinedSchemapublic static ResourceSchema getRefinedSchema(ResourceType resource, PageBase pageBase) throws SchemaException, ConfigurationException 
- 
getResourceLabelModelpublic static org.apache.wicket.model.IModel<String> getResourceLabelModel(ShadowType shadow, PageBase pageBase) 
- 
getResourceAttributesLabelModelpublic static org.apache.wicket.model.IModel<String> getResourceAttributesLabelModel(ShadowType shadow, PageBase pageBase) 
- 
getPendingOperationsLabels
- 
getPendingOperationLabel
- 
filterNonDeadProjections
- 
countLinkFroNonDeadShadows
- 
countLinkForNonDeadShadows
- 
countLinkForDeadShadows
- 
getShadowTypeFilterForAssociationpublic static ObjectFilter getShadowTypeFilterForAssociation(ConstructionType construction, String operation, PageBase pageBase) 
- 
getShadowTypeFilterForAssociationpublic static ObjectFilter getShadowTypeFilterForAssociation(ConstructionType construction, ItemName association, String operation, PageBase pageBase) 
- 
getShadowTypeFilterForAssociationpublic static ObjectFilter getShadowTypeFilterForAssociation(ResourceObjectDefinition oc, ItemName association) 
- 
createAssociationShadowRefFilterpublic static ObjectFilter createAssociationShadowRefFilter(ShadowReferenceAttributeDefinition shadowReferenceAttributeDefinition, PrismContext prismContext, String resourceOid) Creates a filter that provides all shadows eligible as the target value for this association.
- 
checkShadowActivationAndPasswordVisibilitypublic static ItemVisibility checkShadowActivationAndPasswordVisibility(ItemWrapper<?, ?> itemWrapper, ShadowType shadowType) 
- 
isActivationSupportedpublic static boolean isActivationSupported(ShadowType shadowType, org.apache.wicket.model.IModel<ResourceType> resourceModel) 
- 
isPasswordSupportedpublic static boolean isPasswordSupported(ShadowType shadowType, org.apache.wicket.model.IModel<ResourceType> resourceModel) 
- 
isAssociationSupportedpublic static boolean isAssociationSupported(ShadowType shadowType, org.apache.wicket.model.IModel<ResourceType> resourceModel) 
- 
toggleResourceMaintenancepublic static void toggleResourceMaintenance(@NotNull @NotNull PrismObject<ResourceType> resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) 
- 
switchResourceMaintenancepublic static void switchResourceMaintenance(@NotNull @NotNull PrismObject<ResourceType> resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase, AdministrativeAvailabilityStatusType mode) 
- 
refreshResourceSchemapublic static void refreshResourceSchema(@NotNull @NotNull PrismObject<ResourceType> resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase) 
- 
refreshResourceSchemapublic static void refreshResourceSchema(@NotNull @NotNull PrismObject<ResourceType> resource, String operation, org.apache.wicket.ajax.AjaxRequestTarget target, PageBase pageBase, OperationResult result) 
- 
partialConfigurationTestpublic static void partialConfigurationTest(@NotNull @NotNull PrismObject<ResourceType> resource, PageBase pageBase, com.evolveum.midpoint.task.api.Task task, OperationResult result) 
- 
getNativeCapabilitiespublic static CapabilityCollectionType getNativeCapabilities(ResourceType resource, PageBase pageBase) 
- 
loadResourceObjectClassValuespublic static Collection<QName> loadResourceObjectClassValues(ResourceType resource, PageBase pageBase) 
- 
getReferenceAssociationDefinitionpublic static List<ShadowAssociationDefinition> getReferenceAssociationDefinition(ConstructionType construction, PageBase pageBase) 
- 
getResourceObjectDefinitionpublic static ResourceObjectDefinition getResourceObjectDefinition(ConstructionType construction, PageBase pageBase) throws CommonException - Throws:
- CommonException
 
- 
getReferenceAssociationDefinitionpublic static List<ShadowReferenceAttributeDefinition> getReferenceAssociationDefinition(ResourceType resource, ShadowKindType kind, String intent) 
- 
getRefinedAssociationDefinitionpublic static List<ShadowAssociationDefinition> getRefinedAssociationDefinition(ResourceType resource, ShadowKindType kind, String intent) 
- 
getRefinedAssociationDefinitionpublic static ShadowAssociationDefinition getRefinedAssociationDefinition(ItemName association, ConstructionType construction, PageBase pageBase) 
- 
getAssociationDisplayName
- 
getAssociationDisplayName
- 
getAssociationExpression@Deprecated public static ExpressionType getAssociationExpression(PrismContainerValueWrapper<AssignmentType> assignmentValueWrapper, PageBase pageBase) Deprecated.
- 
getAssociationExpression@Deprecated public static ExpressionType getAssociationExpression(PrismContainerValueWrapper<AssignmentType> assignmentValueWrapper, boolean createIfNotExist, PrismContext prismContext, PageBase pageBase) Deprecated.
- 
getConstructionResourcepublic static PrismObject<ResourceType> getConstructionResource(ConstructionType construction, String operation, PageBase pageBase) 
- 
activationNotSupported
- 
resolveResourcepublic static ResourceType resolveResource(ShadowType shadowType, boolean isColumn, PageBase pageBase) 
- 
getObjectsOfSubjectpublic static List<ShadowRelationParticipantType> getObjectsOfSubject(ShadowReferenceAttributeDefinition refAttrDef) 
- 
getShadowReferenceAttributeDefinitionspublic static List<ShadowReferenceAttributeDefinition> getShadowReferenceAttributeDefinitions(CompleteResourceSchema resourceSchema) 
- 
getAssociationForConstructionAndShadow@Nullable public static @Nullable ItemName getAssociationForConstructionAndShadow(@NotNull @NotNull ConstructionType construction, @NotNull @NotNull ShadowType shadow, PageBase pageBase) 
 
-