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 void
CaseManager. 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> T
PageAdminLTE. 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 ResourceObjectDefinition
WebComponentUtil. getResourceObjectDefinition(ConstructionType construction, PageBase pageBase)
static <T> T
WebComponentUtil. 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 Integer
CombinedRelatedObjectsProvider. 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> X
ModelInteractionService. 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.void
ModelService. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription, Task task, OperationResult parentResult)
default <T> T
ModelInteractionService. 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 void
CompleteCorrelationResult. throwCommonOrRuntimeExceptionIfPresent()
Throws aCommonException
or 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 Integer
DashboardService. countAuditEvents(CollectionRefSpecificationType collectionRef, ObjectCollectionType collection, Task task, OperationResult result)
DashboardWidget
DashboardService. 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 X
SimulationResultManager.SimulatedFunctionCall. execute()
<X> X
SimulationResultManager. 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 boolean
ShadowRefreshActivityHandler.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 Integer
DashboardServiceImpl. countAuditEvents(CollectionRefSpecificationType collectionRef, ObjectCollectionType collection, Task task, OperationResult result)
DashboardWidget
DashboardServiceImpl. createWidgetData(DashboardWidgetType widget, boolean useDisplaySource, Task task, OperationResult result)
<X> X
ModelInteractionServiceImpl. executeWithSimulationResult(@NotNull TaskExecutionMode mode, @Nullable SimulationDefinitionType simulationDefinition, @NotNull Task task, @NotNull OperationResult result, SimulationResultManager.SimulatedFunctionCall<X> functionCall)
void
ModelController. 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 void
ShadowIntegrityCheckActivityRun. beforeRun(OperationResult result)
boolean
ShadowIntegrityCheckActivityRun. 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 void
BaseActionExecutor.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 void
RunAsRunner. 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)
CreatesProcessedObjectImpl
for theLensElementContext
.<X> X
SimulationResultManagerImpl. executeWithSimulationResult(@NotNull TaskExecutionMode mode, @Nullable SimulationDefinitionType simulationDefinition, @NotNull Task task, @NotNull OperationResult result, @NotNull SimulationResultManager.SimulatedFunctionCall<X> functionCall)
boolean
ProcessedObjectImpl. 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 void
CreateCorrelationCaseAction. handle(@NotNull OperationResult parentResult)
void
SynchronizationAction. 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 void
AsyncUpdateActivityRun. beforeRun(OperationResult result)
boolean
AsyncUpdateActivityRun. 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 void
ImportActivityRun. beforeRun(OperationResult result)
boolean
ImportActivityRun. 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 void
PartialReconciliationActivityRun. beforeRun(OperationResult result)
void
ResourceObjectsReconciliationActivityRun. beforeRun(OperationResult result)
boolean
ResourceObjectsReconciliationActivityRun. 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 void
LiveSyncActivityRun. beforeRun(OperationResult result)
boolean
LiveSyncActivityRun. 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 void
AdvancedActivityRunSupportImpl. applyDefinitionsToQuery(@NotNull SearchSpecification<?> searchSpecification, @NotNull Task task, OperationResult result)
void
ShadowCleanupActivityHandler.MyRun. beforeRun(OperationResult result)
void
AdvancedActivityRunSupportImpl. checkRawAuthorization(Task task, OperationResult result)
ObjectQuery
AdvancedActivityRunSupportImpl. evaluateQueryExpressions(@NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull RunningTask task, OperationResult result)
ShadowType
ShadowFetchingPreprocessor. preprocess(ShadowType originalShadow, Task task, OperationResult result)
boolean
ShadowCleanupActivityHandler.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 void
AutoScalingActivityRun. afterRun(OperationResult result)
void
AutoScalingActivityRun. beforeRun(OperationResult result)
Collection<SelectorOptions<GetOperationOptions>>
AutoScalingActivityRun. customizeSearchOptions(Collection<SelectorOptions<GetOperationOptions>> configuredOptions, OperationResult result)
boolean
AutoScalingActivityRun. 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 boolean
FocusValidityScanPartialRun. 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 Integer
ModelAuditItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Integer
ModelContainerableItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Integer
ModelObjectSource. 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 boolean
TriggerScanItemProcessor. 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 class
PrismContainerValue.RemovedItemDefinitionException
Used 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 void
PreRunnable. 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 void
IterativeActivityRunSpecifics. afterBucketProcessing(OperationResult result)
Called after bucket is processed.default void
IterativeActivityRunSpecifics. afterRun(OperationResult result)
Called after the run.void
AdvancedActivityRunSupport. applyDefinitionsToQuery(@NotNull SearchSpecification<?> searchSpecification, @NotNull Task task, OperationResult result)
Applies definitions to query.default void
IterativeActivityRunSpecifics. beforeBucketProcessing(OperationResult result)
Called before bucket is processed.default void
IterativeActivityRunSpecifics. beforeRun(OperationResult result)
Called before the run.void
AdvancedActivityRunSupport. 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 Integer
SearchBasedActivityRun. countObjects(OperationResult result)
Used to count objects using model or any similar higher-level interface.default ObjectQuery
SearchBasedActivityRunSpecifics. 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 Integer
IterativeActivityRun. determineCurrentBucketSize(OperationResult result)
Determines the current bucket size.default @Nullable Integer
PlainIterativeActivityRunSpecifics. determineCurrentBucketSize(OperationResult result)
Determines the current bucket size.@Nullable Integer
SearchBasedActivityRun. determineCurrentBucketSize(OperationResult result)
@Nullable Integer
IterativeActivityRun. determineOverallSize(OperationResult result)
Determines expected progress (overall size) for the activity.default @Nullable Integer
PlainIterativeActivityRunSpecifics. determineOverallSize(OperationResult result)
Determines the expected total progress.@Nullable Integer
SearchBasedActivityRun. determineOverallSize(OperationResult result)
ObjectQuery
AdvancedActivityRunSupport. evaluateQueryExpressions(@NotNull ObjectQuery query, ExpressionProfile expressionProfile, @NotNull RunningTask task, OperationResult result)
Assuming that query has expressions.protected abstract boolean
IterativeActivityRun. isInRepository(OperationResult result)
Do we execute over items in repository? (Maybe the name should be changed.)protected boolean
SearchBasedActivityRun. isInRepository(OperationResult result)
protected abstract void
IterativeActivityRun. iterateOverItemsInBucket(OperationResult result)
Starts the item source (e.g.void
PlainIterativeActivityRunSpecifics. iterateOverItemsInBucket(OperationResult opResult)
Starts the item source for the current bucket (e.g.protected void
SearchBasedActivityRun. iterateOverItemsInBucket(OperationResult result)
protected abstract void
IterativeActivityRun. prepareItemSourceForCurrentBucket(OperationResult result)
Prepares the item source.protected void
SearchBasedActivityRun. prepareItemSourceForCurrentBucket(OperationResult result)
abstract boolean
IterativeActivityRun. processItem(@NotNull ItemProcessingRequest<I> request, @NotNull RunningTask workerTask, OperationResult result)
boolean
SearchBasedActivityRun. processItem(@NotNull ItemProcessingRequest<C> request, @NotNull RunningTask workerTask, OperationResult result)
boolean
SearchBasedActivityRunSpecifics. processItem(C item, @NotNull ItemProcessingRequest<C> request, RunningTask workerTask, OperationResult result)
Processes given item that came as part of a request.protected abstract @NotNull ActivityRunResult
AbstractActivityRun. runInternal(OperationResult result)
Carries out the actual run of this activity.protected @NotNull ActivityRunResult
DelegatingActivityRun. runInternal(OperationResult result)
protected @NotNull ActivityRunResult
AbstractCompositeActivityRun. runLocally(OperationResult result)
protected @NotNull ActivityRunResult
IterativeActivityRun. runLocally(OperationResult result)
protected abstract @NotNull ActivityRunResult
LocalActivityRun. 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 C
ItemPreprocessor. preprocess(C originalItem, Task task, OperationResult result)
Pre-processes the item.boolean
ItemProcessor. 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 Integer
RepoAuditItemSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Integer
RepoObjectSource. count(@NotNull SearchSpecification<?> searchSpecification, @NotNull RunningTask task, @NotNull OperationResult result)
Integer
SearchableItemSource. 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 void
ActivityBasedTaskHandler. 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 class
ExpressionSyntaxException
-
Uses of CommonException in com.evolveum.midpoint.report.api
Methods in com.evolveum.midpoint.report.api that throw CommonException Modifier and Type Method Description InputStream
ReportManager. 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 void
OperationResult. 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> T
SecurityContextManager. runAsChecked(CheckedProducer<T> producer, PrismObject<UserType> user)
Convenience method to deal with producers that can throw CommonException.default <T> T
SecurityContextManager. 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 void
TaskHandler. 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 void
TaskHandler. 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 void
CheckedConsumer. accept(T argument)
R
CheckedFunction. apply(T argument)
T
CheckedProducer. get()
void
CheckedCommonRunnable. run()
static <T> T
MiscUtil. runChecked(CheckedFunction<Producer<T>,T> function, CheckedProducer<T> checkedProducer)
static <T> T
MiscUtil. 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 class
AuthorizationException
Exception indicating violation of authorization policies.class
CommunicationException
Generic communication exception.class
ConcurrencyException
Exceptional concurrency state or operation invocation.class
ConfigurationException
Configuration exception indicates that something is mis-configured.class
ExpressionEvaluationException
Error during evaluation of expression.class
IndestructibilityViolationException
class
MaintenanceException
May happen in case that resource is administratively set to maintenance mode.class
NoFocusNameSchemaException
Specific kind of SchemaException.class
ObjectAlreadyExistsException
Object already exists.class
ObjectNotFoundException
Object with specifiedObjectNotFoundException.type
and identifier (ObjectNotFoundException.oid
) has not been found in the repository or in other relevant context.class
PolicyViolationException
class
SchemaException
Error regarding schema.class
ScriptExecutionException
Wraps any exceptions that occur during execution of expressions.class
SecurityViolationException
Exception indicating violation of security policies.class
ThresholdPolicyViolationException
-