Uses of Class
com.evolveum.midpoint.util.exception.CommonException
-
-
Uses of CommonException in com.evolveum.midpoint.cases.api
Methods in com.evolveum.midpoint.cases.api that throw CommonException Modifier and Type Method Description voidCaseManager. cleanupCases(@NotNull CleanupPolicyType closedCasesPolicy, @NotNull RunningTask task, @NotNull OperationResult opResult)Deletes obsolete cases, as specified in the policy. -
Uses of CommonException in com.evolveum.midpoint.common
Methods in com.evolveum.midpoint.common with type parameters of type CommonException Modifier and Type Method Description <T extends CommonException>
TLocalizationService. translate(T e)Fills-in message and localizedMessage based on userFriendlyMessage, if needed.<T extends CommonException>
TLocalizationServiceImpl. translate(T e) -
Uses of CommonException in com.evolveum.midpoint.gui.api.page
Methods in com.evolveum.midpoint.gui.api.page that throw CommonException Modifier and Type Method Description @NotNull PrismObject<UserType>PageAdminLTE. getAdministratorPrivileged(OperationResult parentResult)<T> TPageAdminLTE. runAsChecked(CheckedProducer<T> producer, PrismObject<UserType> user) -
Uses of CommonException in com.evolveum.midpoint.gui.api.util
Methods in com.evolveum.midpoint.gui.api.util that throw CommonException Modifier and Type Method Description static ResourceObjectDefinitionWebComponentUtil. getResourceObjectDefinition(ConstructionType construction, PageBase pageBase)static <T> TWebComponentUtil. runUnderPowerOfAttorneyIfNeeded(CheckedProducer<T> producer, PrismObject<? extends FocusType> powerDonor, PageBase pageBase, Task task, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.gui.impl.component.data.provider
-
Uses of CommonException in com.evolveum.midpoint.gui.impl.page.admin.simulation
Methods in com.evolveum.midpoint.gui.impl.page.admin.simulation that throw CommonException Modifier and Type Method Description protected IntegerCombinedRelatedObjectsProvider. countObjects(Class<SimulationResultProcessedObjectType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> currentOptions, Task task, OperationResult result)protected List<SimulationResultProcessedObjectType>CombinedRelatedObjectsProvider. searchObjects(Class<SimulationResultProcessedObjectType> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.api
Methods in com.evolveum.midpoint.model.api that throw CommonException Modifier and Type Method Description <X> XModelInteractionService. executeWithSimulationResult(@NotNull TaskExecutionMode mode, @Nullable SimulationDefinitionType simulationDefinition, @NotNull Task task, @NotNull OperationResult result, @NotNull SimulationResultManager.SimulatedFunctionCall<X> functionCall)Executes the code in `functionCall` parameter (SimulationResultManager.SimulatedFunctionCall) in the simulation mode (`mode` parameter), with the provided simulation result definition.voidModelService. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription, Task task, OperationResult parentResult)default <T> TModelInteractionService. runUnderPowerOfAttorneyChecked(CheckedProducer<T> producer, PrismObject<? extends FocusType> donor, Task task, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.api.correlation
Methods in com.evolveum.midpoint.model.api.correlation that throw CommonException Modifier and Type Method Description voidCompleteCorrelationResult. throwCommonOrRuntimeExceptionIfPresent()Throws aCommonExceptionor aRuntimeException, if the state is "error". -
Uses of CommonException in com.evolveum.midpoint.model.api.interaction
Methods in com.evolveum.midpoint.model.api.interaction that throw CommonException Modifier and Type Method Description IntegerDashboardService. countAuditEvents(CollectionRefSpecificationType collectionRef, ObjectCollectionType collection, Task task, OperationResult result)DashboardWidgetDashboardService. createWidgetData(DashboardWidgetType widget, boolean useDisplaySource, Task task, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.api.simulation
Methods in com.evolveum.midpoint.model.api.simulation that throw CommonException Modifier and Type Method Description XSimulationResultManager.SimulatedFunctionCall. execute()<X> XSimulationResultManager. executeWithSimulationResult(@NotNull TaskExecutionMode mode, @Nullable SimulationDefinitionType simulationDefinition, @NotNull Task task, @NotNull OperationResult result, @NotNull SimulationResultManager.SimulatedFunctionCall<X> functionCall) -
Uses of CommonException in com.evolveum.midpoint.model.impl.cleanup
Methods in com.evolveum.midpoint.model.impl.cleanup that throw CommonException Modifier and Type Method Description booleanShadowRefreshActivityHandler.MyActivityRun. processItem(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.controller
Methods in com.evolveum.midpoint.model.impl.controller that throw CommonException Modifier and Type Method Description IntegerDashboardServiceImpl. countAuditEvents(CollectionRefSpecificationType collectionRef, ObjectCollectionType collection, Task task, OperationResult result)DashboardWidgetDashboardServiceImpl. createWidgetData(DashboardWidgetType widget, boolean useDisplaySource, Task task, OperationResult result)<X> XModelInteractionServiceImpl. executeWithSimulationResult(@NotNull TaskExecutionMode mode, @Nullable SimulationDefinitionType simulationDefinition, @NotNull Task task, @NotNull OperationResult result, SimulationResultManager.SimulatedFunctionCall<X> functionCall)voidModelController. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription, Task task, OperationResult parentResult) -
Uses of CommonException in com.evolveum.midpoint.model.impl.integrity.shadows
Methods in com.evolveum.midpoint.model.impl.integrity.shadows that throw CommonException Modifier and Type Method Description voidShadowIntegrityCheckActivityRun. beforeRun(OperationResult result)booleanShadowIntegrityCheckActivityRun. processItem(@NotNull ShadowType shadow, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.scripting.actions
Methods in com.evolveum.midpoint.model.impl.scripting.actions that throw CommonException Modifier and Type Method Description voidBaseActionExecutor.ItemProcessor. process(PrismValue value, PipelineItem item, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.security
Methods in com.evolveum.midpoint.model.impl.security that throw CommonException Modifier and Type Method Description voidRunAsRunner. runAs(CheckedCommonRunnable runnable, ObjectReferenceType identityRef, OperationResult parentResult) -
Uses of CommonException in com.evolveum.midpoint.model.impl.simulation
Methods in com.evolveum.midpoint.model.impl.simulation that throw CommonException Modifier and Type Method Description static <O extends ObjectType>
@Nullable ProcessedObjectImpl<O>ProcessedObjectImpl. create(@NotNull LensElementContext<O> elementContext, @NotNull SimulationTransactionImpl simulationTransaction, @NotNull Task task, @NotNull OperationResult result)CreatesProcessedObjectImplfor theLensElementContext.<X> XSimulationResultManagerImpl. executeWithSimulationResult(@NotNull TaskExecutionMode mode, @Nullable SimulationDefinitionType simulationDefinition, @NotNull Task task, @NotNull OperationResult result, @NotNull SimulationResultManager.SimulatedFunctionCall<X> functionCall)booleanProcessedObjectImpl. matches(@NotNull SimulationObjectPredicateType predicate, @NotNull Task task, @NotNull OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.sync.action
Methods in com.evolveum.midpoint.model.impl.sync.action that throw CommonException Modifier and Type Method Description voidCreateCorrelationCaseAction. handle(@NotNull OperationResult parentResult)voidSynchronizationAction. handle(@NotNull OperationResult parentResult) -
Uses of CommonException in com.evolveum.midpoint.model.impl.sync.tasks.async
Methods in com.evolveum.midpoint.model.impl.sync.tasks.async that throw CommonException Modifier and Type Method Description voidAsyncUpdateActivityRun. beforeRun(OperationResult result)booleanAsyncUpdateActivityRun. processItem(@NotNull ItemProcessingRequest<AsyncUpdateEvent> request, @NotNull RunningTask workerTask, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.sync.tasks.imp
Methods in com.evolveum.midpoint.model.impl.sync.tasks.imp that throw CommonException Modifier and Type Method Description voidImportActivityRun. beforeRun(OperationResult result)booleanImportActivityRun. processItem(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.sync.tasks.recon
Methods in com.evolveum.midpoint.model.impl.sync.tasks.recon that throw CommonException Modifier and Type Method Description voidPartialReconciliationActivityRun. beforeRun(OperationResult result)voidResourceObjectsReconciliationActivityRun. beforeRun(OperationResult result)booleanResourceObjectsReconciliationActivityRun. processItem(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.sync.tasks.sync
Methods in com.evolveum.midpoint.model.impl.sync.tasks.sync that throw CommonException Modifier and Type Method Description voidLiveSyncActivityRun. beforeRun(OperationResult result)booleanLiveSyncActivityRun. processItem(@NotNull ItemProcessingRequest<LiveSyncEvent> request, @NotNull RunningTask workerTask, @NotNull OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.tasks
Methods in com.evolveum.midpoint.model.impl.tasks that throw CommonException Modifier and Type Method Description voidAdvancedActivityRunSupportImpl. applyDefinitionsToQuery(@NotNull SearchSpecification<?> searchSpecification, @NotNull Task task, OperationResult result)voidShadowCleanupActivityHandler.MyRun. beforeRun(OperationResult result)voidAdvancedActivityRunSupportImpl. checkRawAuthorization(Task task, OperationResult result)ObjectQueryAdvancedActivityRunSupportImpl. evaluateQueryExpressions(@NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull RunningTask task, OperationResult result)ShadowTypeShadowFetchingPreprocessor. preprocess(ShadowType originalShadow, Task task, OperationResult result)booleanShadowCleanupActivityHandler.MyRun. processItem(@NotNull ShadowType shadow, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.tasks.cluster
Methods in com.evolveum.midpoint.model.impl.tasks.cluster that throw CommonException Modifier and Type Method Description voidAutoScalingActivityRun. afterRun(OperationResult result)voidAutoScalingActivityRun. beforeRun(OperationResult result)Collection<SelectorOptions<GetOperationOptions>>AutoScalingActivityRun. customizeSearchOptions(Collection<SelectorOptions<GetOperationOptions>> configuredOptions, OperationResult result)booleanAutoScalingActivityRun. processItem(@NotNull TaskType task, @NotNull ItemProcessingRequest<TaskType> request, RunningTask workerTask, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.tasks.scanner
Methods in com.evolveum.midpoint.model.impl.tasks.scanner that throw CommonException Modifier and Type Method Description booleanFocusValidityScanPartialRun. processItem(@NotNull FocusType object, @NotNull ItemProcessingRequest<FocusType> request, RunningTask workerTask, OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.tasks.sources
Methods in com.evolveum.midpoint.model.impl.tasks.sources that throw CommonException Modifier and Type Method Description IntegerModelAuditItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)IntegerModelContainerableItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)IntegerModelObjectSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)<C extends Containerable>
voidModelAuditItemSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)<C extends Containerable>
voidModelContainerableItemSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)<C extends Containerable>
voidModelObjectSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.model.impl.trigger
Methods in com.evolveum.midpoint.model.impl.trigger that throw CommonException Modifier and Type Method Description booleanTriggerScanItemProcessor. processObject(@NotNull ObjectType object, @NotNull RunningTask workerTask, @NotNull OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.prism
Subclasses of CommonException in com.evolveum.midpoint.prism Modifier and Type Class Description static classPrismContainerValue.RemovedItemDefinitionExceptionUsed when accessing an item whose definition was removed. -
Uses of CommonException in com.evolveum.midpoint.repo.common.activity
Methods in com.evolveum.midpoint.repo.common.activity that throw CommonException Modifier and Type Method Description voidPreRunnable. run(@NotNull EmbeddedActivity<WD,AH> activity, @NotNull RunningTask runningTask, @NotNull OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.repo.common.activity.run
Methods in com.evolveum.midpoint.repo.common.activity.run that throw CommonException Modifier and Type Method Description default voidIterativeActivityRunSpecifics. afterBucketProcessing(OperationResult result)Called after bucket is processed.default voidIterativeActivityRunSpecifics. afterRun(OperationResult result)Called after the run.voidAdvancedActivityRunSupport. applyDefinitionsToQuery(@NotNull SearchSpecification<?> searchSpecification, @NotNull Task task, OperationResult result)Applies definitions to query.default voidIterativeActivityRunSpecifics. beforeBucketProcessing(OperationResult result)Called before bucket is processed.default voidIterativeActivityRunSpecifics. beforeRun(OperationResult result)Called before the run.voidAdvancedActivityRunSupport. checkRawAuthorization(Task task, OperationResult result)Checks if the principal has an authorization to issue direct repo calls even if they are not required by the activity implementation.protected IntegerSearchBasedActivityRun. countObjects(OperationResult result)Used to count objects using model or any similar higher-level interface.default ObjectQuerySearchBasedActivityRunSpecifics. customizeQuery(ObjectQuery configuredQuery, OperationResult result)Customizes a query present in the original search specification (usually derived from the task configuration).default Collection<SelectorOptions<GetOperationOptions>>SearchBasedActivityRunSpecifics. customizeSearchOptions(Collection<SelectorOptions<GetOperationOptions>> configuredOptions, OperationResult result)Customizes search options present in the original search specification (usually derived from the task configuration).@Nullable IntegerIterativeActivityRun. determineCurrentBucketSize(OperationResult result)Determines the current bucket size.default @Nullable IntegerPlainIterativeActivityRunSpecifics. determineCurrentBucketSize(OperationResult result)Determines the current bucket size.@Nullable IntegerSearchBasedActivityRun. determineCurrentBucketSize(OperationResult result)@Nullable IntegerIterativeActivityRun. determineOverallSize(OperationResult result)Determines expected progress (overall size) for the activity.default @Nullable IntegerPlainIterativeActivityRunSpecifics. determineOverallSize(OperationResult result)Determines the expected total progress.@Nullable IntegerSearchBasedActivityRun. determineOverallSize(OperationResult result)ObjectQueryAdvancedActivityRunSupport. evaluateQueryExpressions(@NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull RunningTask task, OperationResult result)Assuming that query has expressions.protected abstract booleanIterativeActivityRun. isInRepository(OperationResult result)Do we execute over items in repository? (Maybe the name should be changed.)protected booleanSearchBasedActivityRun. isInRepository(OperationResult result)protected abstract voidIterativeActivityRun. iterateOverItemsInBucket(OperationResult result)Starts the item source (e.g.voidPlainIterativeActivityRunSpecifics. iterateOverItemsInBucket(OperationResult opResult)Starts the item source for the current bucket (e.g.protected voidSearchBasedActivityRun. iterateOverItemsInBucket(OperationResult result)protected abstract voidIterativeActivityRun. prepareItemSourceForCurrentBucket(OperationResult result)Prepares the item source.protected voidSearchBasedActivityRun. prepareItemSourceForCurrentBucket(OperationResult result)abstract booleanIterativeActivityRun. processItem(@NotNull ItemProcessingRequest<I> request, @NotNull RunningTask workerTask, OperationResult result)booleanSearchBasedActivityRun. processItem(@NotNull ItemProcessingRequest<C> request, @NotNull RunningTask workerTask, OperationResult result)booleanSearchBasedActivityRunSpecifics. processItem(C item, @NotNull ItemProcessingRequest<C> request, RunningTask workerTask, OperationResult result)Processes given item that came as part of a request.protected abstract @NotNull ActivityRunResultAbstractActivityRun. runInternal(OperationResult result)Carries out the actual run of this activity.protected @NotNull ActivityRunResultDelegatingActivityRun. runInternal(OperationResult result)protected @NotNull ActivityRunResultAbstractCompositeActivityRun. runLocally(OperationResult result)protected @NotNull ActivityRunResultIterativeActivityRun. runLocally(OperationResult result)protected abstract @NotNull ActivityRunResultLocalActivityRun. runLocally(OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.repo.common.activity.run.processing
Methods in com.evolveum.midpoint.repo.common.activity.run.processing that throw CommonException Modifier and Type Method Description CItemPreprocessor. preprocess(C originalItem, Task task, OperationResult result)Pre-processes the item.booleanItemProcessor. processItem(ItemProcessingRequest<I> request, RunningTask workerTask, OperationResult parentResult)Does the "pure" processing, free of any reporting, error handling, tracing, and similar issues. -
Uses of CommonException in com.evolveum.midpoint.repo.common.activity.run.sources
Methods in com.evolveum.midpoint.repo.common.activity.run.sources that throw CommonException Modifier and Type Method Description IntegerRepoAuditItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)IntegerRepoObjectSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)IntegerSearchableItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)Counts items according to given search specification.<C extends Containerable>
voidRepoAuditItemSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)<C extends Containerable>
voidRepoObjectSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)<C extends Containerable>
voidSearchableItemSource. searchIterative(@NotNull SearchSpecification<C> searchSpecification, @NotNull ContainerableResultHandler<C> handler, @NotNull RunningTask task, @NotNull OperationResult result)Searches for items according to given search specification. -
Uses of CommonException in com.evolveum.midpoint.repo.common.activity.run.task
Methods in com.evolveum.midpoint.repo.common.activity.run.task that throw CommonException Modifier and Type Method Description voidActivityBasedTaskHandler. onTaskStalled(@NotNull RunningTask task, long stalledSince, @NotNull OperationResult result) -
Uses of CommonException in com.evolveum.midpoint.repo.common.expression
Subclasses of CommonException in com.evolveum.midpoint.repo.common.expression Modifier and Type Class Description classExpressionSyntaxException -
Uses of CommonException in com.evolveum.midpoint.report.api
Methods in com.evolveum.midpoint.report.api that throw CommonException Modifier and Type Method Description InputStreamReportManager. getReportDataStream(String reportDataOid, OperationResult parentResult)todo comments [lazyman] -
Uses of CommonException in com.evolveum.midpoint.schema.result
Methods in com.evolveum.midpoint.schema.result with parameters of type CommonException Modifier and Type Method Description voidOperationResult. record(CommonException exception)Records result from a common exception type. -
Uses of CommonException in com.evolveum.midpoint.security.api
Methods in com.evolveum.midpoint.security.api that throw CommonException Modifier and Type Method Description default <T> TSecurityContextManager. runAsChecked(CheckedProducer<T> producer, PrismObject<UserType> user)Convenience method to deal with producers that can throw CommonException.default <T> TSecurityContextManager. runPrivilegedChecked(CheckedProducer<T> producer)Convenience method to deal with producers that can throw CommonException. -
Uses of CommonException in com.evolveum.midpoint.task.api
Methods in com.evolveum.midpoint.task.api that throw CommonException Modifier and Type Method Description default voidTaskHandler. onNodeDown(@NotNull TaskType task, @NotNull OperationResult result)Should update the state of the task (or related tasks) when the node on which this task executed was found down.default voidTaskHandler. onTaskStalled(@NotNull RunningTask task, long stalledSince, @NotNull OperationResult result)Should update the state of the task when the task manager finds that the task is stalled, i.e. -
Uses of CommonException in com.evolveum.midpoint.util
Methods in com.evolveum.midpoint.util that throw CommonException Modifier and Type Method Description voidCheckedConsumer. accept(T argument)RCheckedFunction. apply(T argument)TCheckedProducer. get()voidCheckedCommonRunnable. run()static <T> TMiscUtil. runChecked(CheckedFunction<Producer<T>,T> function, CheckedProducer<T> checkedProducer)static <T> TMiscUtil. unwrapTunnelledException(TunnelException te) -
Uses of CommonException in com.evolveum.midpoint.util.exception
Subclasses of CommonException in com.evolveum.midpoint.util.exception Modifier and Type Class Description classAuthorizationExceptionException indicating violation of authorization policies.classCommunicationExceptionGeneric communication exception.classConcurrencyExceptionExceptional concurrency state or operation invocation.classConfigurationExceptionConfiguration exception indicates that something is mis-configured.classExpressionEvaluationExceptionError during evaluation of expression.classIndestructibilityViolationExceptionclassMaintenanceExceptionMay happen in case that resource is administratively set to maintenance mode.classNoFocusNameSchemaExceptionSpecific kind of SchemaException.classObjectAlreadyExistsExceptionObject already exists.classObjectNotFoundExceptionObject with specifiedObjectNotFoundException.typeand identifier (ObjectNotFoundException.oid) has not been found in the repository or in other relevant context.classPolicyViolationExceptionclassSchemaExceptionError regarding schema.classScriptExecutionExceptionWraps any exceptions that occur during execution of expressions.classSecurityViolationExceptionException indicating violation of security policies.classThresholdPolicyViolationException
-