Uses of Class
com.evolveum.midpoint.schema.result.OperationResult
-
-
Uses of OperationResult in com.evolveum.midpoint.audit.api
Methods in com.evolveum.midpoint.audit.api with parameters of type OperationResult Modifier and Type Method Description void
AuditService. audit(AuditEventRecord record, Task task, OperationResult result)
void
AuditService. cleanupAudit(CleanupPolicyType policy, OperationResult parentResult)
Clean up audit records that are older than specified.int
AuditService. countObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull OperationResult parentResult)
Returns the number of audit events that match the specified query.@NotNull SearchResultList<AuditEventRecordType>
AuditService. searchObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull OperationResult parentResult)
Returns the result list of audit events that match the specified query.SearchResultMetadata
AuditService. searchObjectsIterative(@Nullable ObjectQuery query, @NotNull AuditResultHandler handler, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull OperationResult parentResult)
Executes iterative search using the provided `handler` to process each object. -
Uses of OperationResult in com.evolveum.midpoint.casemgmt.api
Methods in com.evolveum.midpoint.casemgmt.api with parameters of type OperationResult Modifier and Type Method Description void
CaseEventDispatcher. dispatchCaseEvent(CaseType aCase, OperationResult result)
void
CaseEventListener. onCaseCreation(CaseType aCase, OperationResult result)
This method is called when a case is created. -
Uses of OperationResult in com.evolveum.midpoint.certification.api
Methods in com.evolveum.midpoint.certification.api with parameters of type OperationResult Modifier and Type Method Description void
CertificationManager. cleanupCampaigns(@NotNull CleanupPolicyType policy, Task task, OperationResult result)
void
CertificationManager. closeCampaign(String campaignOid, Task task, OperationResult result)
Closes a campaign.void
CertificationManager. closeCurrentStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next stage in the certification campaign.int
CertificationManager. countOpenWorkItems(ObjectQuery caseQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
default int
CertificationManager. countOpenWorkItems(ObjectQuery caseQuery, boolean notDecidedOnly, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
AccessCertificationCampaignType
CertificationManager. createCampaign(String definitionOid, Task task, OperationResult parentResult)
Creates a certification campaign: creates AccessCertificationCampaignType object, based on general information in certification definition.AccessCertificationCasesStatisticsType
CertificationManager. getCampaignStatistics(String campaignOid, boolean currentStageOnly, Task task, OperationResult parentResult)
Provides statistical information about outcomes of cases in a given campaign.void
AccessCertificationEventListener. onCampaignEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign ends (i.e.void
AccessCertificationEventListener. onCampaignStageDeadlineApproaching(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage deadline is approaching.void
AccessCertificationEventListener. onCampaignStageEnd(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage ends (i.e.void
AccessCertificationEventListener. onCampaignStageStart(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign stage starts.void
AccessCertificationEventListener. onCampaignStart(AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification campaign starts.void
AccessCertificationEventListener. onReviewDeadlineApproaching(ObjectReferenceType reviewerOrDeputyRef, ObjectReferenceType actualReviewerRef, List<AccessCertificationCaseType> cases, AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called by certification module when a certification case review deadline is approaching.void
AccessCertificationEventListener. onReviewRequested(ObjectReferenceType reviewerOrDeputyRef, ObjectReferenceType actualReviewerRef, List<AccessCertificationCaseType> cases, AccessCertificationCampaignType campaign, Task task, OperationResult result)
This method is called when a review is requestedvoid
CertificationManager. openNextStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next review stage in the certification campaign.void
CertificationManager. recordDecision(String campaignOid, long caseId, long workItemId, AccessCertificationResponseType response, String comment, Task task, OperationResult parentResult)
Records a particular decision of a reviewer.void
CertificationManager. reiterateCampaign(String campaignOid, Task task, OperationResult result)
Reiterates a closed campaign.List<AccessCertificationWorkItemType>
CertificationManager. searchOpenWorkItems(ObjectQuery caseQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Returns a set of certification work items for currently logged-in user (or all users).default List<AccessCertificationWorkItemType>
CertificationManager. searchOpenWorkItems(ObjectQuery caseQuery, boolean notDecidedOnly, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
void
CertificationManager. startRemediation(String campaignOid, Task task, OperationResult result)
Starts the remediation phase for the campaign. -
Uses of OperationResult in com.evolveum.midpoint.common
Methods in com.evolveum.midpoint.common with parameters of type OperationResult Modifier and Type Method Description static void
LoggingConfigurationManager. configure(LoggingConfigurationType config, String version, MidpointConfiguration midpointConfiguration, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.common.crypto
Methods in com.evolveum.midpoint.common.crypto with parameters of type OperationResult Modifier and Type Method Description static void
CryptoUtil. securitySelfTest(OperationResult parentTestResult)
-
Uses of OperationResult in com.evolveum.midpoint.common.validator
Methods in com.evolveum.midpoint.common.validator with parameters of type OperationResult Modifier and Type Method Description void
EventHandler. handleGlobalError(OperationResult currentResult)
Call-back to handle global errors.<T extends Objectable>
EventResultEventHandler. postMarshall(PrismObject<T> object, Element objectElement, OperationResult objectResult)
Call-back called after the object is unmarshalled.EventResult
EventHandler. preMarshall(Element objectElement, Node postValidationTree, OperationResult objectResult)
Call-back called after deserializing to DOM and static schema validation but before unmarshal to JAXB.void
LegacyValidator. validate(InputStream inputStream, OperationResult validatorResult, String objectResultOperationName)
void
LegacyValidator. validate(String lexicalRepresentation, OperationResult validationResult, String objectResultOperationName)
void
LegacyValidator. validateObject(Objectable object, OperationResult objectResult)
EventResult
LegacyValidator. validateObject(String stringXml, OperationResult objectResult)
EventResult
LegacyValidator. validateObject(Element objectElement, OperationResult objectResult)
Node
LegacyValidator. validateSchema(Element objectDoc, OperationResult objectResult)
-
Uses of OperationResult in com.evolveum.midpoint.init
Methods in com.evolveum.midpoint.init with parameters of type OperationResult Modifier and Type Method Description void
AuditServiceProxy. audit(AuditEventRecord record, Task task, OperationResult result)
void
AuditServiceProxy. cleanupAudit(CleanupPolicyType policy, OperationResult parentResult)
int
AuditServiceProxy. countObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull OperationResult parentResult)
@NotNull SearchResultList<AuditEventRecordType>
AuditServiceProxy. searchObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull OperationResult parentResult)
@NotNull SearchResultMetadata
AuditServiceProxy. searchObjectsIterative(@Nullable ObjectQuery query, @NotNull AuditResultHandler handler, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.api
Methods in com.evolveum.midpoint.model.api that return OperationResult Modifier and Type Method Description OperationResult
ProgressInformation. getOperationResult()
@NotNull OperationResult
PipelineItem. getResult()
OperationResult
ModelDiagnosticService. provisioningSelfTest(Task task)
Runs a short, non-destructive internal provisioning test.OperationResult
ModelDiagnosticService. repositorySelfTest(Task task)
Runs a short, non-destructive repository self test.OperationResult
ModelService. testResource(String resourceOid, Task task)
Test the resource connection and basic resource connector functionality.Methods in com.evolveum.midpoint.model.api with parameters of type OperationResult Modifier and Type Method Description MidPointPrincipal
ModelInteractionService. assumePowerOfAttorney(PrismObject<? extends FocusType> donor, Task task, OperationResult result)
void
ModelAuditService. audit(AuditEventRecord record, Task task, OperationResult result)
void
ModelAuditRecorder. auditLogout(ConnectionEnvironment connEnv, Task task, OperationResult result)
void
WorkflowService. cancelCase(String caseOid, Task task, OperationResult parentResult)
<T extends ObjectType,O extends ObjectType>
booleanModelInteractionService. canSearch(Class<T> resultType, Class<O> objectType, String objectOid, boolean includeSpecial, ObjectQuery query, Task task, OperationResult result)
TODO Question: does object make any sense here? E.g.boolean
ModelInteractionService. checkPassword(String userOid, ProtectedStringType password, Task task, OperationResult parentResult)
Checks if the supplied password matches with current user password.void
WorkflowService. claimWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
void
ModelAuditService. cleanupAudit(CleanupPolicyType policy, Task task, OperationResult parentResult)
Clean up audit records that are older than specified.void
AccessCertificationService. cleanupCampaigns(@NotNull CleanupPolicyType policy, Task task, OperationResult result)
Cleans up closed certification campaigns.void
AccessCertificationService. closeCampaign(String campaignOid, Task task, OperationResult result)
Closes a campaign.void
AccessCertificationService. closeCurrentStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next stage in the certification campaign.<O extends ObjectType>
CompareResultTypeModelService. compareObject(PrismObject<O> object, Collection<SelectorOptions<GetOperationOptions>> readOptions, ModelCompareOptions compareOptions, @NotNull List<? extends ItemPath> ignoreItemPaths, Task task, OperationResult result)
TODO@NotNull CompiledObjectCollectionView
ModelInteractionService. compileObjectCollectionView(@NotNull CollectionRefSpecificationType collection, @Nullable Class<? extends Containerable> targetTypeClass, @NotNull Task task, @NotNull OperationResult result)
void
ModelInteractionService. compileView(CompiledObjectCollectionView existingView, GuiObjectListViewType objectListViewsType, Task task, OperationResult result)
Compile object list view together with collection ref specification if presentvoid
WorkflowService. completeWorkItem(@NotNull WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, @NotNull Task task, @NotNull OperationResult parentResult)
Approves or rejects a work itemvoid
WorkflowService. completeWorkItem(WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, ObjectDelta additionalDelta, Task task, OperationResult parentResult)
Approves or rejects a work item.<T extends Containerable>
IntegerModelService. countContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
int
ModelAuditService. countObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
IntegerModelService. countObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Count objects.Integer
ModelInteractionService. countObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, ObjectPaging usedPaging, VariablesMap variables, Task task, OperationResult result)
int
AccessCertificationService. countOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
default int
AccessCertificationService. countOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
AccessCertificationCampaignType
AccessCertificationService. createCampaign(String definitionOid, Task task, OperationResult parentResult)
Creates a certification campaign: creates AccessCertificationCampaignType object, based on general information in certification definition.@NotNull LocalizableMessageType
ModelInteractionService. createLocalizableMessageType(LocalizableMessageTemplateType template, VariablesMap variables, Task task, OperationResult result)
boolean
TaskService. deactivateServiceThreads(long timeToWait, Task operationTask, OperationResult parentResult)
Deactivates service threads (temporarily).void
WorkflowService. delegateWorkItem(WorkItemId workItemId, WorkItemDelegationRequestType delegationRequest, Task task, OperationResult parentResult)
void
TaskService. deleteActivityStateAndWorkers(String rootTaskOid, boolean deleteWorkers, long subtasksWaitTime, Task operationTask, OperationResult parentResult)
<O extends AssignmentHolderType>
ArchetypePolicyTypeModelInteractionService. determineArchetypePolicy(PrismObject<O> assignmentHolder, OperationResult result)
Efficiently determines information about archetype policy applicable for a particular object.<O extends AbstractRoleType>
AssignmentCandidatesSpecificationModelInteractionService. determineAssignmentHolderSpecification(PrismObject<O> assignmentTarget, OperationResult result)
Returns data structure that contains information about possible assignment holders for a particular target object.<O extends AssignmentHolderType>
AssignmentCandidatesSpecificationModelInteractionService. determineAssignmentTargetSpecification(PrismObject<O> assignmentHolder, OperationResult result)
Returns data structure that contains information about possible assignment targets for a particular holder object.<O extends ObjectType>
@NotNull CollectionStatsModelInteractionService. determineCollectionStats(@NotNull CompiledObjectCollectionView collectionView, @NotNull Task task, @NotNull OperationResult result)
Set<ConnectorType>
ModelService. discoverConnectors(ConnectorHostType hostType, Task task, OperationResult parentResult)
Discovers local or remote connectors.MidPointPrincipal
ModelInteractionService. dropPowerOfAttorney(Task task, OperationResult result)
@NotNull Collection<EvaluatedPolicyRule>
ModelInteractionService. evaluateCollectionPolicyRules(@NotNull PrismObject<ObjectCollectionType> collection, @Nullable CompiledObjectCollectionView collectionView, @Nullable Class<? extends ObjectType> targetTypeClass, @NotNull Task task, @NotNull OperationResult result)
Returns all policy rules that apply to the collection.ScriptExecutionResult
ScriptingService. evaluateExpression(@NotNull ExecuteScriptType executeScriptCommand, @NotNull VariablesMap initialVariables, boolean recordProgressAndIterationStatistics, @NotNull Task task, @NotNull OperationResult result)
ScriptExecutionResult
ScriptingService. evaluateExpression(ScriptingExpressionType expression, Task task, OperationResult result)
Synchronously executes any scripting expression (with no input data).void
ScriptingService. evaluateExpressionInBackground(ExecuteScriptType executeScriptCommand, Task task, OperationResult parentResult)
void
ScriptingService. evaluateExpressionInBackground(ScriptingExpressionType expression, Task task, OperationResult parentResult)
Asynchronously executes any scripting expression.MappingEvaluationResponseType
ModelDiagnosticService. evaluateMapping(MappingEvaluationRequestType request, Task task, OperationResult parentResult)
Execute arbitrary mapping.Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelService. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult parentResult)
Execute the provided object deltas.Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelService. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> listeners, OperationResult parentResult)
ExecuteCredentialResetResponseType
ModelInteractionService. executeCredentialsReset(PrismObject<UserType> user, ExecuteCredentialResetRequestType executeCredentialResetRequest, Task task, OperationResult result)
RepositoryQueryDiagResponse
ModelDiagnosticService. executeRepositoryQuery(RepositoryQueryDiagRequest request, Task task, OperationResult parentResult)
Execute arbitrary implementation-specific query.String
ModelDiagnosticService. exportDataModel(ResourceType resource, DataModelVisualizer.Target target, Task task, OperationResult parentResult)
String
ModelDiagnosticService. exportDataModel(Collection<String> resourceOids, DataModelVisualizer.Target target, Task task, OperationResult parentResult)
Exports data model EXPERIMENTAL.<O extends ObjectType>
voidModelInteractionService. generateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
StringModelInteractionService. generateValue(ValuePolicyType policy, int defaultLength, boolean generateMinimalSize, PrismObject<O> object, String shortDesc, Task task, OperationResult inputResult)
TEMPORARY.<O extends ObjectType,R extends AbstractRoleType>
ItemSecurityConstraintsModelInteractionService. getAllowedRequestAssignmentItems(PrismObject<O> object, PrismObject<R> target, Task task, OperationResult result)
Returns decisions for individual items for "assign" authorization.<H extends AssignmentHolderType,R extends AbstractRoleType>
RoleSelectionSpecificationModelInteractionService. getAssignableRoleSpecification(PrismObject<H> assignmentHolder, Class<R> targetType, int assignmentOrder, Task task, OperationResult parentResult)
Returns an object that defines which roles can be assigned by the currently logged-in user.SystemConfigurationAuditType
ModelInteractionService. getAuditConfiguration(OperationResult parentResult)
AuthenticationsPolicyType
ModelInteractionService. getAuthenticationPolicy(PrismObject<UserType> user, Task task, OperationResult parentResult)
Returns an authentications policies as defined in the system configuration security policy.AccessCertificationCasesStatisticsType
AccessCertificationService. getCampaignStatistics(String campaignOid, boolean currentStageOnly, Task task, OperationResult parentResult)
Provides statistical information about outcomes of cases in a given campaign.AccessCertificationConfigurationType
ModelInteractionService. getCertificationConfiguration(OperationResult parentResult)
@NotNull CompiledGuiProfile
ModelInteractionService. getCompiledGuiProfile(Task task, OperationResult parentResult)
Returns currently applicable user profile, compiled for efficient use in the user interface.List<ConnectorOperationalStatus>
ModelInteractionService. getConnectorOperationalStatus(String resourceOid, Task task, OperationResult parentResult)
CredentialsPolicyType
ModelInteractionService. getCredentialsPolicy(PrismObject<? extends FocusType> focus, Task task, OperationResult parentResult)
Returns a credential policy that applies to the specified user.DeploymentInformationType
ModelInteractionService. getDeploymentInformationConfiguration(OperationResult parentResult)
@NotNull List<ObjectReferenceType>
ModelInteractionService. getDeputyAssignees(AbstractWorkItemType workItem, Task task, OperationResult parentResult)
Gets "deputy assignees" i.e.@NotNull List<ObjectReferenceType>
ModelInteractionService. getDeputyAssignees(ObjectReferenceType assignee, QName limitationItemName, Task task, OperationResult parentResult)
<T extends ObjectType>
ObjectFilterModelInteractionService. getDonorFilter(Class<T> searchResultType, ObjectFilter origFilter, String targetAuthorizationAction, Task task, OperationResult parentResult)
Returns filter for lookup of donors of power of attorney.RefinedObjectClassDefinition
ModelInteractionService. getEditObjectClassDefinition(PrismObject<ShadowType> shadow, PrismObject<ResourceType> resource, AuthorizationPhaseType phase, Task task, OperationResult result)
<O extends ObjectType>
PrismObjectDefinition<O>ModelInteractionService. getEditObjectDefinition(PrismObject<O> object, AuthorizationPhaseType phase, Task task, OperationResult result)
Returns a schema that reflects editability of the object in terms of midPoint schema limitations and security.PrismObjectDefinition<ShadowType>
ModelInteractionService. getEditShadowDefinition(ResourceShadowDiscriminator discr, AuthorizationPhaseType phase, Task task, OperationResult result)
<O extends AssignmentHolderType>
List<ArchetypeType>ModelInteractionService. getFilteredArchetypesByHolderType(PrismObject<O> object, OperationResult result)
This method is used to differentiate which archetypes can be added to object with holderType type.RegistrationsPolicyType
ModelInteractionService. getFlowPolicy(PrismObject<? extends FocusType> focus, Task task, OperationResult parentResult)
Returns a policy for registration, e.g.LogFileContentType
ModelDiagnosticService. getLogFileContent(Long fromPosition, Long maxSize, Task task, OperationResult parentResult)
Returns the contents of the log file.long
ModelDiagnosticService. getLogFileSize(Task task, OperationResult parentResult)
List<UserSessionManagementType>
ModelInteractionService. getLoggedInPrincipals(Task task, OperationResult result)
String
ModelDiagnosticService. getMemoryInformation(Task task, OperationResult parentResult)
List<MergeConfigurationType>
ModelInteractionService. getMergeConfiguration(OperationResult parentResult)
<O extends ObjectType>
MetadataItemProcessingSpecModelInteractionService. getMetadataItemProcessingSpec(ItemPath metadataItemPath, PrismObject<O> object, Task task, OperationResult result)
Returns specification of processing of given metadata item (e.g.<T extends ObjectType>
@NotNull PrismObject<T>ModelService. getObject(Class<T> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Returns object for provided OID.ProvisioningDiag
ModelDiagnosticService. getProvisioningDiag(Task task, OperationResult parentResult)
Provide provisioning run-time configuration and diagnostic information.RepositoryDiag
ModelDiagnosticService. getRepositoryDiag(Task task, OperationResult parentResult)
Provide repository run-time configuration and diagnostic information.String
TaskService. getRunningTasksThreadsDump(@NotNull Task task, @NotNull OperationResult parentResult)
<C extends Containerable>
ModelInteractionService.SearchSpec<C>ModelInteractionService. getSearchSpecificationFromCollection(CompiledObjectCollectionView collection, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> options, VariablesMap variables, Task task, OperationResult result)
TODO document and clean up the interfaceSecurityPolicyType
ModelInteractionService. getSecurityPolicy(RefinedObjectClassDefinition rOCDef, Task task, OperationResult parentResult)
<F extends FocusType>
SecurityPolicyTypeModelInteractionService. getSecurityPolicy(PrismObject<F> focus, Task task, OperationResult parentResult)
SystemConfigurationType
ModelInteractionService. getSystemConfiguration(OperationResult parentResult)
PrismObject<TaskType>
TaskService. getTaskByIdentifier(String identifier, Collection<SelectorOptions<GetOperationOptions>> options, Task operationTask, OperationResult parentResult)
Returns information about task, given its identifier.String
TaskService. getTaskThreadsDump(@NotNull String taskOid, @NotNull Task task, @NotNull OperationResult parentResult)
String
TaskService. getThreadsDump(@NotNull Task task, @NotNull OperationResult parentResult)
void
ModelService. importFromResource(String shadowOid, Task task, OperationResult parentResult)
Import single account from resource.void
ModelService. importFromResource(String resourceOid, QName objectClass, Task task, OperationResult parentResult)
Import accounts from resource.void
ModelService. importObject(PrismObject object, ImportOptionsType options, Task task, OperationResult parentResult)
Import object.void
ModelService. importObjectsFromFile(File input, ImportOptionsType options, Task task, OperationResult parentResult)
Import objects from file.void
ModelService. importObjectsFromStream(InputStream input, String language, ImportOptionsType options, Task task, OperationResult parentResult)
Import objects from stream.ArchetypePolicyType
ModelInteractionService. mergeArchetypePolicies(PrismObject<ArchetypeType> archetype, OperationResult result)
GuiObjectDetailsPageType
AdminGuiConfigurationMergeManager. mergeObjectDetailsPageConfiguration(GuiObjectDetailsPageType defaultPageConfiguration, ArchetypePolicyType archetypePolicyType, OperationResult result)
<O extends ObjectType>
Collection<ObjectDeltaOperation<? extends ObjectType>>ModelService. mergeObjects(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
Merge two objects into one.<O extends ObjectType>
MergeDeltas<O>ModelInteractionService. mergeObjectsPreviewDeltas(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
<O extends ObjectType>
PrismObject<O>ModelInteractionService. mergeObjectsPreviewObject(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
void
ModelService. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription, Task task, OperationResult parentResult)
void
AccessCertificationService. openNextStage(String campaignOid, Task task, OperationResult parentResult)
Opens the next review stage in the certification campaign.void
ModelService. postInit(OperationResult parentResult)
Finish initialization of the model and lower system components (provisioning, repository, etc).<F extends ObjectType>
ModelContext<F>ModelInteractionService. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult result)
Computes the most likely changes triggered by the provided delta.<F extends ObjectType>
ModelContext<F>ModelInteractionService. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> listeners, OperationResult result)
void
ModelInteractionService. processObjectsFromCollection(CollectionRefSpecificationType collection, QName typeForFilter, Predicate<PrismContainer> handler, Collection<SelectorOptions<GetOperationOptions>> options, VariablesMap variables, Task task, OperationResult result, boolean recordProgress)
TODO documentvoid
TaskService. reactivateServiceThreads(Task operationTask, OperationResult parentResult)
Re-activates the service threads after they have been deactivated.<F extends ObjectType>
voidModelService. recompute(Class<F> type, String oid, ModelExecuteOptions options, Task task, OperationResult parentResult)
Recomputes focal object with the specified OID.void
TaskService. reconcileWorkers(String oid, Task opTask, OperationResult result)
<O extends ObjectType>
PrismObject<O>ModelAuditService. reconstructObject(Class<O> type, String oid, String eventIdentifier, Task task, OperationResult result)
void
AccessCertificationService. recordDecision(String campaignOid, long caseId, long workItemId, AccessCertificationResponseType response, String comment, Task task, OperationResult parentResult)
Records a particular decision of a reviewer.String
TaskService. recordRunningTasksThreadsDump(String cause, @NotNull Task task, @NotNull OperationResult parentResult)
void
AccessCertificationService. reiterateCampaign(String campaignOid, Task task, OperationResult result)
Reiterates a closed campaign.void
WorkflowService. releaseWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
void
ModelDiagnosticService. repositoryTestOrgClosureConsistency(Task task, boolean repairIfNecessary, OperationResult result)
Checks a org closure table for consistency, repairing any problems found.void
TaskService. resumeTask(String taskOid, Task operationTask, OperationResult parentResult)
void
TaskService. resumeTasks(Collection<String> taskOids, Task operationTask, OperationResult parentResult)
Resume suspended tasks.void
TaskService. resumeTaskTree(String coordinatorOid, Task operationTask, OperationResult parentResult)
<T> T
ModelInteractionService. runUnderPowerOfAttorney(Producer<T> producer, PrismObject<? extends FocusType> donor, Task task, OperationResult result)
default <T> T
ModelInteractionService. runUnderPowerOfAttorneyChecked(CheckedProducer<T> producer, PrismObject<? extends FocusType> donor, Task task, OperationResult result)
void
TaskService. scheduleTaskNow(String taskOid, Task operationTask, OperationResult parentResult)
void
TaskService. scheduleTasksNow(Collection<String> taskOids, Task operationTask, OperationResult parentResult)
Schedules a RUNNABLE/CLOSED tasks to be run immediately.<T extends Containerable>
SearchResultList<T>ModelService. searchContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Search for "sub-object" structures, i.e.@NotNull SearchResultList<AuditEventRecordType>
ModelAuditService. searchObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
SearchResultList<PrismObject<T>>ModelService. searchObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Search for objects.List<? extends Containerable>
ModelInteractionService. searchObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, ObjectPaging usedPaging, VariablesMap variables, Task task, OperationResult result)
void
ModelAuditService. searchObjectsIterative(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull AuditResultHandler handler, @NotNull Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
SearchResultMetadataModelService. searchObjectsIterative(Class<T> type, ObjectQuery query, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Search for objects in iterative fashion (using callback).List<AccessCertificationWorkItemType>
AccessCertificationService. searchOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
TODO update description Returns a set of certification decisions for currently logged-in user.default List<AccessCertificationWorkItemType>
AccessCertificationService. searchOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
PrismObject<? extends FocusType>
ModelService. searchShadowOwner(String shadowOid, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Returns the Focus object representing owner of specified shadow.void
ProgressInformation. setOperationResult(OperationResult operationResult)
void
PipelineItem. setResult(@NotNull OperationResult result)
void
AccessCertificationService. startRemediation(String campaignOid, Task task, OperationResult result)
Starts the remediation phase for the campaign.void
TaskService. startSchedulers(Collection<String> nodeIdentifiers, Task operationTask, OperationResult result)
Starts the scheduler on a given nodes.void
TaskService. stopSchedulers(Collection<String> nodeIdentifiers, Task operationTask, OperationResult parentResult)
Stops the schedulers on a given nodes.boolean
TaskService. stopSchedulersAndTasks(Collection<String> nodeIdentifiers, long waitTime, Task operationTask, OperationResult parentResult)
Stops a set of schedulers (on their nodes) and tasks that are executing on these nodes.@NotNull TaskType
ModelInteractionService. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems, Task opTask, OperationResult result)
@NotNull TaskType
ModelInteractionService. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues, Task opTask, OperationResult result)
void
TaskService. suspendAndDeleteTask(String taskOid, long waitForStop, boolean alsoSubtasks, Task operationTask, OperationResult parentResult)
void
TaskService. suspendAndDeleteTasks(Collection<String> taskOids, long waitForStop, boolean alsoSubtasks, Task operationTask, OperationResult parentResult)
Suspends tasks and deletes them.boolean
TaskService. suspendTask(String taskOid, long waitForStop, Task operationTask, OperationResult parentResult)
boolean
TaskService. suspendTasks(Collection<String> taskOids, long waitForStop, Task operationTask, OperationResult parentResult)
Suspends a set of tasks.boolean
TaskService. suspendTaskTree(String taskOid, long waitForStop, Task operationTask, OperationResult parentResult)
void
TaskService. synchronizeTasks(Task operationTask, OperationResult parentResult)
Synchronizes information in midPoint repository and task scheduling database.void
ModelInteractionService. terminateSessions(TerminateSessionEvent terminateSessionEvent, Task task, OperationResult result)
Terminates specified sessions (clusterwide).<F extends ObjectType>
ModelContext<F>ModelInteractionService. unwrapModelContext(LensContextType wrappedContext, Task task, OperationResult result)
<O extends ObjectType>
voidModelInteractionService. validateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
List<StringLimitationResult>ModelInteractionService. validateValue(ProtectedStringType protectedStringValue, ValuePolicyType pp, PrismObject<O> object, Task task, OperationResult parentResult)
String
DataModelVisualizer. visualize(ResourceType resource, DataModelVisualizer.Target target, Task task, OperationResult result)
String
DataModelVisualizer. visualize(Collection<String> resourceOids, DataModelVisualizer.Target target, Task task, OperationResult result)
@NotNull Scene
ModelInteractionService. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, boolean includeOriginalObject, Task task, OperationResult result)
@NotNull Scene
ModelInteractionService. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, Task task, OperationResult result)
@NotNull Scene
ModelInteractionService. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, ObjectReferenceType objectRef, Task task, OperationResult result)
@NotNull Scene
ModelInteractionService. visualizeDelta(ObjectDelta<? extends ObjectType> delta, Task task, OperationResult result)
List<? extends Scene>
ModelInteractionService. visualizeDeltas(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult result)
Constructors in com.evolveum.midpoint.model.api with parameters of type OperationResult Constructor Description PipelineItem(@NotNull PrismValue value, @NotNull OperationResult result)
PipelineItem(@NotNull PrismValue value, @NotNull OperationResult result, @NotNull VariablesMap variables)
ProgressInformation(ProgressInformation.ActivityType activityType, ResourceShadowDiscriminator resourceShadowDiscriminator, OperationResult operationResult)
ProgressInformation(ProgressInformation.ActivityType activityType, OperationResult operationResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.api.authentication
Methods in com.evolveum.midpoint.model.api.authentication with parameters of type OperationResult Modifier and Type Method Description List<UserSessionManagementType>
ClusterwideUserSessionManager. getLoggedInPrincipals(Task task, OperationResult result)
Collects logged in principals (on local and remote nodes).GuiProfiledPrincipal
GuiProfiledPrincipalManager. getPrincipal(PrismObject<? extends FocusType> focus, AuthorizationTransformer authorizationTransformer, OperationResult result)
void
ClusterwideUserSessionManager. terminateSessions(TerminateSessionEvent terminateSessionEvent, Task task, OperationResult result)
Terminates specified sessions (on local and remote nodes). -
Uses of OperationResult in com.evolveum.midpoint.model.api.context
Methods in com.evolveum.midpoint.model.api.context with parameters of type OperationResult Modifier and Type Method Description static ExtensionType
AssignmentPath. collectExtensions(AssignmentPathType path, int startAt, ModelService modelService, Task task, OperationResult result)
@NotNull DeltaSetTriple<EvaluatedResourceObjectConstruction>
EvaluatedAssignment. getEvaluatedConstructions(@NotNull Task task, @NotNull OperationResult result)
String
ModelContext. getTaskTreeOid(Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.api.expr
Methods in com.evolveum.midpoint.model.api.expr that return OperationResult Modifier and Type Method Description OperationResult
MidpointFunctions. getCurrentResult()
OperationResult
MidpointFunctions. getCurrentResult(String operationName)
OperationResult
MidpointFunctions. testResource(String resourceOid)
Test the resource connection and basic resource connector functionality.Methods in com.evolveum.midpoint.model.api.expr with parameters of type OperationResult Modifier and Type Method Description TaskType
MidpointFunctions. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid, Task opTask, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.api.hooks
Methods in com.evolveum.midpoint.model.api.hooks with parameters of type OperationResult Modifier and Type Method Description <O extends ObjectType>
HookOperationModeChangeHook. invoke(@NotNull ModelContext<O> context, @NotNull Task task, @NotNull OperationResult result)
Generic method to be implemented by the hook.<T extends ObjectType>
voidReadHook. invoke(PrismObject<T> object, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
todovoid
ChangeHook. invokeOnException(@NotNull ModelContext context, @NotNull Throwable throwable, @NotNull Task task, @NotNull OperationResult result)
This method is invoked by the clockwork when an exception occurs.default void
ChangeHook. invokePreview(@NotNull ModelContext<? extends ObjectType> context, Task task, OperationResult result)
Invokes the hook in "preview mode". -
Uses of OperationResult in com.evolveum.midpoint.model.api.interaction
Methods in com.evolveum.midpoint.model.api.interaction with parameters of type OperationResult 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)
CollectionRefSpecificationType
DashboardService. getCollectionRefSpecificationType(DashboardWidgetType widget, Task task, OperationResult result)
ObjectCollectionType
DashboardService. getObjectCollectionType(DashboardWidgetType widget, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.api.util
Methods in com.evolveum.midpoint.model.api.util with parameters of type OperationResult Modifier and Type Method Description static ExtensionType
AssignmentPathUtil. collectExtensions(AssignmentPathType path, int startAt, ModelService modelService, Task task, OperationResult result)
static void
ResourceUtils. deleteSchema(PrismObject<? extends ResourceType> resource, ModelService modelService, PrismContext prismContext, Task task, OperationResult parentResult)
ObjectFilter
ReferenceResolver.FilterEvaluator. evaluate(ObjectFilter rawFilter, OperationResult result)
static boolean
DashboardUtils. isAuditCollection(CollectionRefSpecificationType collectionRef, ModelService modelService, Task task, OperationResult result)
List<PrismObject<? extends ObjectType>>
ReferenceResolver. resolve(@NotNull ObjectReferenceType reference, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull ReferenceResolver.Source source, ReferenceResolver.FilterEvaluator filterEvaluator, Task task, OperationResult result)
static <O extends ObjectType>
ModelContext<O>ModelContextUtil. unwrapModelContext(LensContextType lensContextType, ModelInteractionService modelInteractionService, Task opTask, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.api.validator
Methods in com.evolveum.midpoint.model.api.validator with parameters of type OperationResult Modifier and Type Method Description @NotNull ValidationResult
ResourceValidator. validate(@NotNull PrismObject<ResourceType> resourceObject, @NotNull Scope scope, @Nullable Locale locale, @NotNull Task task, @NotNull OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.common
-
Uses of OperationResult in com.evolveum.midpoint.model.common.expression
Methods in com.evolveum.midpoint.model.common.expression that return OperationResult Modifier and Type Method Description OperationResult
ExpressionEnvironment. getCurrentResult()
static OperationResult
ModelExpressionThreadLocalHolder. getCurrentResult()
Constructors in com.evolveum.midpoint.model.common.expression with parameters of type OperationResult Constructor Description ExpressionEnvironment(ModelContext<F> lensContext, ModelProjectionContext projectionContext, Mapping<V,D> mapping, Task currentTask, OperationResult currentResult)
ExpressionEnvironment(ModelContext<F> lensContext, ModelProjectionContext projectionContext, Task currentTask, OperationResult currentResult)
ExpressionEnvironment(Task currentTask, OperationResult currentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.common.expression.evaluator
Methods in com.evolveum.midpoint.model.common.expression.evaluator with parameters of type OperationResult Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>AssignmentTargetSearchExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>AssociationFromLinkExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>AssociationTargetSearchExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ConstExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>FunctionExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>GenerateExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ProportionalExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ReferenceSearchExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
PrismValueDeltaSetTriple<PrismContainerValue<ShadowAssociationType>>
AssociationFromLinkExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult result)
PrismValueDeltaSetTriple<V>
ConstExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult result)
PrismValueDeltaSetTriple<V>
FunctionExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult parentResult)
PrismValueDeltaSetTriple<V>
GenerateExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult result)
PrismValueDeltaSetTriple<V>
ProportionalExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult result)
protected @NotNull List<V>
AbstractSearchExpressionEvaluator. transformSingleValue(VariablesMap variables, PlusMinusZero valueDestination, boolean useNew, ExpressionEvaluationContext context, String contextDescription, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.common.expression.evaluator.path
Methods in com.evolveum.midpoint.model.common.expression.evaluator.path with parameters of type OperationResult Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>PathExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
PrismValueDeltaSetTriple<V>
PathExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.common.expression.evaluator.transformation
Methods in com.evolveum.midpoint.model.common.expression.evaluator.transformation with parameters of type OperationResult Modifier and Type Method Description PrismValueDeltaSetTriple<V>
AbstractValueTransformationExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult parentResult)
protected abstract @NotNull List<V>
AbstractValueTransformationExpressionEvaluator. transformSingleValue(VariablesMap variables, PlusMinusZero valueDestination, boolean useNew, ExpressionEvaluationContext context, String contextDescription, Task task, OperationResult result)
Transforms single value tuple. -
Uses of OperationResult in com.evolveum.midpoint.model.common.expression.script
Methods in com.evolveum.midpoint.model.common.expression.script that return OperationResult Modifier and Type Method Description OperationResult
ScriptExpressionEvaluationContext. getResult()
Methods in com.evolveum.midpoint.model.common.expression.script with parameters of type OperationResult Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ScriptExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
ScriptExpression
ScriptExpressionFactory. createScriptExpression(ScriptExpressionEvaluatorType expressionType, ItemDefinition<?> outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, OperationResult result)
void
ScriptExpressionEvaluationContext. setResult(OperationResult result)
protected @NotNull List<V>
ScriptExpressionEvaluator. transformSingleValue(VariablesMap variables, PlusMinusZero valueDestination, boolean useNew, ExpressionEvaluationContext eCtx, String contextDescription, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.common.mapping
Methods in com.evolveum.midpoint.model.common.mapping with parameters of type OperationResult Modifier and Type Method Description protected abstract TransformationValueMetadataComputer
AbstractMappingImpl. createValueMetadataComputer(OperationResult result)
protected TransformationValueMetadataComputer
MappingImpl. createValueMetadataComputer(OperationResult result)
void
AbstractMappingImpl. evaluate(Task task, OperationResult parentResult)
Evaluate the mapping.void
AbstractMappingImpl. evaluateTimeValidity(Task task, OperationResult parentResult)
Evaluate the time validity.void
MappingPreExpression. mappingPreExpression(ExpressionEvaluationContext context, OperationResult result)
void
AbstractMappingImpl. prepare(OperationResult parentResult)
Prepare mapping for evaluation. -
Uses of OperationResult in com.evolveum.midpoint.model.common.mapping.metadata
Methods in com.evolveum.midpoint.model.common.mapping.metadata with parameters of type OperationResult Modifier and Type Method Description protected TransformationValueMetadataComputer
MetadataMappingImpl. createValueMetadataComputer(OperationResult result)
@NotNull ValueMetadataType
ValueMetadataComputation. execute(OperationResult parentResult)
void
ItemValueMetadataProcessingSpec. populateFromCurrentFocusTemplate(ModelContext<?> lensContext, ItemPath dataPath, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result)
void
ItemValueMetadataProcessingSpec. populateFromCurrentFocusTemplate(ItemPath dataPath, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result)
void
MetadataItemProcessingSpecImpl. populateFromObjectTemplate(ObjectReferenceType templateRef, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.common.stringpolicy
Methods in com.evolveum.midpoint.model.common.stringpolicy that return OperationResult Modifier and Type Method Description OperationResult
ObjectValuePolicyEvaluator. validateMinOccurs(int valuesCount, OperationResult parentResult)
OperationResult
ObjectValuePolicyEvaluator. validateProtectedStringValue(ProtectedStringType value, OperationResult parentResult)
OperationResult
ObjectValuePolicyEvaluator. validateStringValue(String clearValue, OperationResult parentResult)
Methods in com.evolveum.midpoint.model.common.stringpolicy with parameters of type OperationResult Modifier and Type Method Description String
ValuePolicyProcessor. generate(ItemPath path, ValuePolicyType policy, int defaultLength, boolean generateMinimalSize, ObjectBasedValuePolicyOriginResolver<?> originResolver, String shortDesc, Task task, OperationResult parentResult)
<R extends ObjectType>
voidAbstractValuePolicyOriginResolver. resolve(ProhibitedValueItemType prohibitedValueItem, ResultHandler<R> handler, String contextDescription, Task task, OperationResult result)
<R extends ObjectType>
voidValuePolicyOriginResolver. resolve(ProhibitedValueItemType prohibitedValueItemType, ResultHandler<R> handler, String contextDescription, Task task, OperationResult result)
Resolves "origin object" in given prohibitedValueItem: calls handler for each origin object found.OperationResult
ObjectValuePolicyEvaluator. validateMinOccurs(int valuesCount, OperationResult parentResult)
OperationResult
ObjectValuePolicyEvaluator. validateProtectedStringValue(ProtectedStringType value, OperationResult parentResult)
OperationResult
ObjectValuePolicyEvaluator. validateStringValue(String clearValue, OperationResult parentResult)
List<StringLimitationResult>
ValuePolicyProcessor. validateValue(String newValue, ValuePolicyType pp, ObjectBasedValuePolicyOriginResolver<?> originResolver, String shortDesc, Task task, OperationResult parentResult)
List<StringLimitationResult>
ValuePolicyProcessor. validateValue(String newValue, ValuePolicyType pp, ObjectBasedValuePolicyOriginResolver<?> originResolver, List<LocalizableMessage> messages, String shortDesc, Task task, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.common.util
-
Uses of OperationResult in com.evolveum.midpoint.model.impl
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.cleanup
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.controller
Methods in com.evolveum.midpoint.model.impl.controller that return OperationResult Modifier and Type Method Description OperationResult
ModelDiagController. provisioningSelfTest(Task task)
OperationResult
ModelDiagController. repositorySelfTest(Task task)
OperationResult
ModelController. testResource(String resourceOid, Task task)
Methods in com.evolveum.midpoint.model.impl.controller with parameters of type OperationResult Modifier and Type Method Description <O extends ObjectType>
voidSchemaTransformer. applyObjectTemplateToDefinition(PrismObjectDefinition<O> objectDefinition, ObjectTemplateType objectTemplateType, OperationResult result)
<C extends Containerable,T extends ObjectType>
SearchResultList<C>SchemaTransformer. applySchemasAndSecurityToContainers(SearchResultList<C> originalResultList, Class<T> parentObjectType, ItemName childItemName, GetOperationOptions rootOptions, Collection<SelectorOptions<GetOperationOptions>> options, AuthorizationPhaseType phase, Task task, OperationResult result)
<T extends ObjectType>
voidSchemaTransformer. applySchemasAndSecurityToObjectTypes(List<T> objectTypes, GetOperationOptions rootOptions, Collection<SelectorOptions<GetOperationOptions>> options, AuthorizationPhaseType phase, Task task, OperationResult result)
MidPointPrincipal
ModelInteractionServiceImpl. assumePowerOfAttorney(PrismObject<? extends FocusType> donor, Task task, OperationResult result)
void
AuditController. audit(AuditEventRecord record, Task task, OperationResult result)
void
ModelController. cancelCase(String caseOid, Task task, OperationResult parentResult)
<T extends ObjectType,O extends ObjectType>
booleanModelInteractionServiceImpl. canSearch(Class<T> resultType, Class<O> objectType, String objectOid, boolean includeSpecial, ObjectQuery query, Task task, OperationResult result)
boolean
ModelInteractionServiceImpl. checkPassword(String userOid, ProtectedStringType password, Task task, OperationResult parentResult)
void
ModelController. claimWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
void
AuditController. cleanupAudit(CleanupPolicyType policy, Task task, OperationResult parentResult)
void
ModelController. cleanupCampaigns(@NotNull CleanupPolicyType policy, Task task, OperationResult result)
protected void
ModelController. cleanupOperationResult(OperationResult result)
void
ModelController. closeCampaign(String campaignOid, Task task, OperationResult result)
void
ModelController. closeCurrentStage(String campaignOid, Task task, OperationResult parentResult)
<T extends ObjectType>
CompareResultTypeModelController. compareObject(PrismObject<T> provided, Collection<SelectorOptions<GetOperationOptions>> rawReadOptions, ModelCompareOptions compareOptions, @NotNull List<? extends ItemPath> ignoreItems, Task task, OperationResult parentResult)
void
CollectionProcessor. compileObjectCollectionView(CompiledObjectCollectionView existingView, CollectionRefSpecificationType collectionSpec, Class<? extends Containerable> targetTypeClass, Task task, OperationResult result)
CompiledObjectCollectionView
CollectionProcessor. compileObjectCollectionView(CollectionRefSpecificationType collectionRef, Class<? extends Containerable> targetTypeClass, Task task, OperationResult result)
@NotNull CompiledObjectCollectionView
ModelInteractionServiceImpl. compileObjectCollectionView(@NotNull CollectionRefSpecificationType collectionRef, @Nullable Class<? extends Containerable> targetTypeClass, @NotNull Task task, @NotNull OperationResult result)
void
CollectionProcessor. compileView(CompiledObjectCollectionView existingView, GuiObjectListViewType objectListViewType, Task task, OperationResult result)
void
ModelInteractionServiceImpl. compileView(CompiledObjectCollectionView existingView, GuiObjectListViewType objectListViewsType, Task task, OperationResult result)
void
ModelController. completeWorkItem(@NotNull WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, @NotNull Task task, @NotNull OperationResult parentResult)
void
ModelController. completeWorkItem(WorkItemId workItemId, @NotNull AbstractWorkItemOutputType output, ObjectDelta additionalDelta, Task task, OperationResult parentResult)
Integer
DashboardServiceImpl. countAuditEvents(CollectionRefSpecificationType collectionRef, ObjectCollectionType collection, Task task, OperationResult result)
<T extends Containerable>
IntegerModelController. countContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
int
AuditController. countObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
IntegerModelController. countObjects(Class<T> type, ObjectQuery origQuery, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
Integer
ModelInteractionServiceImpl. countObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, ObjectPaging usedPaging, VariablesMap variables, Task task, OperationResult result)
int
ModelController. countOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
AccessCertificationCampaignType
ModelController. createCampaign(String definitionOid, Task task, OperationResult parentResult)
@NotNull LocalizableMessageType
ModelInteractionServiceImpl. createLocalizableMessageType(LocalizableMessageTemplateType template, VariablesMap variables, Task task, OperationResult result)
DashboardWidget
DashboardServiceImpl. createWidgetData(DashboardWidgetType widget, boolean useDisplaySource, Task task, OperationResult result)
boolean
ModelController. deactivateServiceThreads(long timeToWait, Task operationTask, OperationResult parentResult)
void
ModelController. delegateWorkItem(WorkItemId workItemId, WorkItemDelegationRequestType delegationRequest, Task task, OperationResult parentResult)
void
ModelController. deleteActivityStateAndWorkers(String rootTaskOid, boolean deleteWorkers, long subtasksWaitTime, Task operationTask, OperationResult parentResult)
<O extends AssignmentHolderType>
ArchetypePolicyTypeModelInteractionServiceImpl. determineArchetypePolicy(PrismObject<O> assignmentHolder, OperationResult result)
<O extends AbstractRoleType>
AssignmentCandidatesSpecificationModelInteractionServiceImpl. determineAssignmentHolderSpecification(PrismObject<O> assignmentTarget, OperationResult result)
<O extends AssignmentHolderType>
AssignmentCandidatesSpecificationModelInteractionServiceImpl. determineAssignmentTargetSpecification(PrismObject<O> object, OperationResult result)
<O extends ObjectType>
CollectionStatsCollectionProcessor. determineCollectionStats(CompiledObjectCollectionView collectionView, Task task, OperationResult result)
<O extends ObjectType>
@NotNull CollectionStatsModelInteractionServiceImpl. determineCollectionStats(@NotNull CompiledObjectCollectionView collectionView, @NotNull Task task, @NotNull OperationResult result)
<O extends ObjectType>
ObjectTemplateTypeSchemaTransformer. determineObjectTemplate(PrismObject<O> object, AuthorizationPhaseType phase, OperationResult result)
<O extends ObjectType>
ObjectTemplateTypeSchemaTransformer. determineObjectTemplate(Class<O> objectClass, AuthorizationPhaseType phase, OperationResult result)
Set<ConnectorType>
ModelController. discoverConnectors(ConnectorHostType hostType, Task task, OperationResult parentResult)
MidPointPrincipal
ModelInteractionServiceImpl. dropPowerOfAttorney(Task task, OperationResult result)
@NotNull Collection<EvaluatedPolicyRule>
ModelInteractionServiceImpl. evaluateCollectionPolicyRules(@NotNull PrismObject<ObjectCollectionType> collection, @Nullable CompiledObjectCollectionView collectionView, @Nullable Class<? extends ObjectType> targetTypeClass, @NotNull Task task, @NotNull OperationResult result)
ScriptExecutionResult
ModelController. evaluateExpression(@NotNull ExecuteScriptType scriptExecutionCommand, @NotNull VariablesMap initialVariables, boolean recordProgressAndIterationStatistics, @NotNull Task task, @NotNull OperationResult result)
ScriptExecutionResult
ModelController. evaluateExpression(ScriptingExpressionType expression, Task task, OperationResult result)
void
ModelController. evaluateExpressionInBackground(ExecuteScriptType executeScriptCommand, Task task, OperationResult parentResult)
void
ModelController. evaluateExpressionInBackground(ScriptingExpressionType expression, Task task, OperationResult parentResult)
MappingEvaluationResponseType
MappingDiagEvaluator. evaluateMapping(@NotNull MappingEvaluationRequestType request, @NotNull Task task, @NotNull OperationResult result)
MappingEvaluationResponseType
ModelDiagController. evaluateMapping(MappingEvaluationRequestType request, Task task, OperationResult parentResult)
Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelController. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult parentResult)
Collection<ObjectDeltaOperation<? extends ObjectType>>
ModelController. executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> statusListeners, OperationResult parentResult)
ExecuteCredentialResetResponseType
ModelInteractionServiceImpl. executeCredentialsReset(PrismObject<UserType> user, ExecuteCredentialResetRequestType executeCredentialResetRequest, Task task, OperationResult parentResult)
RepositoryQueryDiagResponse
ModelDiagController. executeRepositoryQuery(RepositoryQueryDiagRequest request, Task task, OperationResult parentResult)
String
ModelDiagController. exportDataModel(ResourceType resource, DataModelVisualizer.Target target, Task task, OperationResult parentResult)
String
ModelDiagController. exportDataModel(Collection<String> resourceOids, DataModelVisualizer.Target target, Task task, OperationResult parentResult)
<O extends ObjectType>
voidModelInteractionServiceImpl. generateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
StringModelInteractionServiceImpl. generateValue(ValuePolicyType policy, int defaultLength, boolean generateMinimalSize, PrismObject<O> object, String shortDesc, Task task, OperationResult parentResult)
<O extends ObjectType,R extends AbstractRoleType>
ItemSecurityConstraintsModelInteractionServiceImpl. getAllowedRequestAssignmentItems(PrismObject<O> object, PrismObject<R> target, Task task, OperationResult result)
<H extends AssignmentHolderType,R extends AbstractRoleType>
RoleSelectionSpecificationModelInteractionServiceImpl. getAssignableRoleSpecification(PrismObject<H> focus, Class<R> targetType, int assignmentOrder, Task task, OperationResult parentResult)
SystemConfigurationAuditType
ModelInteractionServiceImpl. getAuditConfiguration(OperationResult parentResult)
AuthenticationsPolicyType
ModelInteractionServiceImpl. getAuthenticationPolicy(PrismObject<UserType> user, Task task, OperationResult parentResult)
AccessCertificationCasesStatisticsType
ModelController. getCampaignStatistics(String campaignOid, boolean currentStageOnly, Task task, OperationResult parentResult)
AccessCertificationConfigurationType
ModelInteractionServiceImpl. getCertificationConfiguration(OperationResult parentResult)
CollectionRefSpecificationType
DashboardServiceImpl. getCollectionRefSpecificationType(DashboardWidgetType widget, Task task, OperationResult result)
@NotNull CompiledGuiProfile
ModelInteractionServiceImpl. getCompiledGuiProfile(Task task, OperationResult parentResult)
List<ConnectorOperationalStatus>
ModelInteractionServiceImpl. getConnectorOperationalStatus(String resourceOid, Task task, OperationResult parentResult)
CredentialsPolicyType
ModelInteractionServiceImpl. getCredentialsPolicy(PrismObject<? extends FocusType> focus, Task task, OperationResult parentResult)
DeploymentInformationType
ModelInteractionServiceImpl. getDeploymentInformationConfiguration(OperationResult parentResult)
@NotNull List<ObjectReferenceType>
ModelInteractionServiceImpl. getDeputyAssignees(AbstractWorkItemType workItem, Task task, OperationResult parentResult)
@NotNull List<ObjectReferenceType>
ModelInteractionServiceImpl. getDeputyAssignees(ObjectReferenceType assigneeRef, QName limitationItemName, Task task, OperationResult parentResult)
<T extends ObjectType>
ObjectFilterModelInteractionServiceImpl. getDonorFilter(Class<T> searchResultType, ObjectFilter origFilter, String targetAuthorizationAction, Task task, OperationResult parentResult)
RefinedObjectClassDefinition
ModelInteractionServiceImpl. getEditObjectClassDefinition(PrismObject<ShadowType> shadow, PrismObject<ResourceType> resource, AuthorizationPhaseType phase, Task task, OperationResult result)
<O extends ObjectType>
PrismObjectDefinition<O>ModelInteractionServiceImpl. getEditObjectDefinition(PrismObject<O> object, AuthorizationPhaseType phase, Task task, OperationResult parentResult)
PrismObjectDefinition<ShadowType>
ModelInteractionServiceImpl. getEditShadowDefinition(ResourceShadowDiscriminator discr, AuthorizationPhaseType phase, Task task, OperationResult parentResult)
<O extends AssignmentHolderType>
List<ArchetypeType>ModelInteractionServiceImpl. getFilteredArchetypesByHolderType(PrismObject<O> object, OperationResult result)
RegistrationsPolicyType
ModelInteractionServiceImpl. getFlowPolicy(PrismObject<? extends FocusType> focus, Task task, OperationResult parentResult)
LogFileContentType
ModelDiagController. getLogFileContent(Long fromPosition, Long maxSize, Task task, OperationResult parentResult)
long
ModelDiagController. getLogFileSize(Task task, OperationResult parentResult)
List<UserSessionManagementType>
ModelInteractionServiceImpl. getLoggedInPrincipals(Task task, OperationResult result)
String
ModelDiagController. getMemoryInformation(Task task, OperationResult parentResult)
List<MergeConfigurationType>
ModelInteractionServiceImpl. getMergeConfiguration(OperationResult parentResult)
<O extends ObjectType>
MetadataItemProcessingSpecModelInteractionServiceImpl. getMetadataItemProcessingSpec(ItemPath metadataItemPath, PrismObject<O> object, Task task, OperationResult result)
<T extends ObjectType>
@NotNull PrismObject<T>ModelController. getObject(Class<T> clazz, String oid, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
ObjectCollectionType
DashboardServiceImpl. getObjectCollectionType(DashboardWidgetType widget, Task task, OperationResult result)
ProvisioningDiag
ModelDiagController. getProvisioningDiag(Task task, OperationResult parentResult)
RepositoryDiag
ModelDiagController. getRepositoryDiag(Task task, OperationResult parentResult)
String
ModelController. getRunningTasksThreadsDump(@NotNull Task task, @NotNull OperationResult parentResult)
<C extends Containerable>
ModelInteractionService.SearchSpec<C>ModelInteractionServiceImpl. getSearchSpecificationFromCollection(CompiledObjectCollectionView compiledCollection, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, VariablesMap variables, Task task, OperationResult result)
SecurityPolicyType
ModelInteractionServiceImpl. getSecurityPolicy(RefinedObjectClassDefinition rOCDef, Task task, OperationResult parentResult)
<F extends FocusType>
SecurityPolicyTypeModelInteractionServiceImpl. getSecurityPolicy(PrismObject<F> focus, Task task, OperationResult parentResult)
SystemConfigurationType
ModelInteractionServiceImpl. getSystemConfiguration(OperationResult parentResult)
PrismObject<TaskType>
ModelController. getTaskByIdentifier(String identifier, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task operationTask, OperationResult parentResult)
String
ModelController. getTaskThreadsDump(@NotNull String taskOid, @NotNull Task task, @NotNull OperationResult parentResult)
String
ModelController. getThreadsDump(@NotNull Task task, @NotNull OperationResult parentResult)
void
ModelController. importFromResource(String shadowOid, Task task, OperationResult parentResult)
void
ModelController. importFromResource(String resourceOid, QName objectClass, Task task, OperationResult parentResult)
void
ModelController. importObject(PrismObject object, ImportOptionsType options, Task task, OperationResult parentResult)
void
ModelController. importObjectsFromFile(File input, ImportOptionsType options, Task task, OperationResult parentResult)
void
ModelController. importObjectsFromStream(InputStream input, String language, ImportOptionsType options, Task task, OperationResult parentResult)
protected boolean
ModelController. isFilterNone(ObjectQuery query, OperationResult result)
ArchetypePolicyType
ModelInteractionServiceImpl. mergeArchetypePolicies(PrismObject<ArchetypeType> archetype, OperationResult result)
GuiObjectDetailsPageType
AdminGuiConfigurationMergeManagerImpl. mergeObjectDetailsPageConfiguration(@NotNull GuiObjectDetailsPageType defaultPageConfiguration, ArchetypePolicyType archetypePolicyType, OperationResult result)
<O extends ObjectType>
Collection<ObjectDeltaOperation<? extends ObjectType>>ModelController. mergeObjects(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult parentResult)
<O extends ObjectType>
Collection<ObjectDeltaOperation<? extends ObjectType>>ObjectMerger. mergeObjects(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult result)
<O extends ObjectType>
MergeDeltas<O>ModelInteractionServiceImpl. mergeObjectsPreviewDeltas(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult parentResult)
<O extends ObjectType>
PrismObject<O>ModelInteractionServiceImpl. mergeObjectsPreviewObject(Class<O> type, String leftOid, String rightOid, String mergeConfigurationName, Task task, OperationResult parentResult)
void
ModelController. notifyChange(ResourceObjectShadowChangeDescriptionType changeDescription, Task task, OperationResult parentResult)
void
ModelController. openNextStage(String campaignOid, Task task, OperationResult parentResult)
void
ModelController. postInit(OperationResult parentResult)
<F extends ObjectType>
ModelContext<F>ModelInteractionServiceImpl. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult parentResult)
<F extends ObjectType>
ModelContext<F>ModelInteractionServiceImpl. previewChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, Collection<ProgressListener> listeners, OperationResult parentResult)
void
ModelInteractionServiceImpl. processObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Predicate<PrismContainer> handler, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, VariablesMap variables, Task task, OperationResult result, boolean recordProgress)
void
ModelController. reactivateServiceThreads(Task operationTask, OperationResult parentResult)
<F extends ObjectType>
voidModelController. recompute(Class<F> type, String oid, ModelExecuteOptions options, Task task, OperationResult parentResult)
void
ModelController. reconcileWorkers(String oid, Task opTask, OperationResult result)
<O extends ObjectType>
PrismObject<O>AuditController. reconstructObject(Class<O> type, String oid, String eventIdentifier, Task task, OperationResult result)
void
ModelController. recordDecision(String campaignOid, long caseId, long workItemId, AccessCertificationResponseType response, String comment, Task task, OperationResult parentResult)
String
ModelController. recordRunningTasksThreadsDump(String cause, @NotNull Task task, @NotNull OperationResult parentResult)
void
ModelController. reiterateCampaign(String campaignOid, Task task, OperationResult result)
void
ModelController. releaseWorkItem(WorkItemId workItemId, Task task, OperationResult parentResult)
void
ModelDiagController. repositoryTestOrgClosureConsistency(Task task, boolean repairIfNecessary, OperationResult parentResult)
void
ModelController. resumeTask(String taskOid, Task operationTask, OperationResult parentResult)
void
ModelController. resumeTasks(Collection<String> taskOids, Task operationTask, OperationResult parentResult)
void
ModelController. resumeTaskTree(String coordinatorOid, Task operationTask, OperationResult parentResult)
<T> T
ModelInteractionServiceImpl. runUnderPowerOfAttorney(Producer<T> producer, PrismObject<? extends FocusType> donor, Task task, OperationResult result)
void
ModelController. scheduleTaskNow(String taskOid, Task operationTask, OperationResult parentResult)
void
ModelController. scheduleTasksNow(Collection<String> taskOids, Task operationTask, OperationResult parentResult)
<T extends Containerable>
SearchResultList<T>ModelController. searchContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
@NotNull SearchResultList<AuditEventRecordType>
AuditController. searchObjects(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
SearchResultList<PrismObject<T>>ModelController. searchObjects(Class<T> type, ObjectQuery origQuery, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
List<? extends Containerable>
ModelInteractionServiceImpl. searchObjectsFromCollection(CollectionRefSpecificationType collectionConfig, QName typeForFilter, Collection<SelectorOptions<GetOperationOptions>> defaultOptions, ObjectPaging usedPaging, VariablesMap variables, Task task, OperationResult result)
void
AuditController. searchObjectsIterative(@Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull AuditResultHandler handler, @NotNull Task task, @NotNull OperationResult parentResult)
<T extends ObjectType>
SearchResultMetadataModelController. searchObjectsIterative(Class<T> type, ObjectQuery origQuery, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
List<AccessCertificationWorkItemType>
ModelController. searchOpenWorkItems(ObjectQuery baseWorkItemsQuery, boolean notDecidedOnly, boolean allItems, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
PrismObject<? extends FocusType>
ModelController. searchShadowOwner(String shadowOid, Collection<SelectorOptions<GetOperationOptions>> rawOptions, Task task, OperationResult parentResult)
void
ModelController. startRemediation(String campaignOid, Task task, OperationResult result)
void
ModelController. startSchedulers(Collection<String> nodeIdentifiers, Task operationTask, OperationResult parentResult)
void
ModelController. stopSchedulers(Collection<String> nodeIdentifiers, Task operationTask, OperationResult parentResult)
boolean
ModelController. stopSchedulersAndTasks(Collection<String> nodeIdentifiers, long waitTime, Task operationTask, OperationResult parentResult)
@NotNull TaskType
ModelInteractionServiceImpl. submitTaskFromTemplate(String templateTaskOid, List<Item<?,?>> extensionItems, Task opTask, OperationResult parentResult)
@NotNull TaskType
ModelInteractionServiceImpl. submitTaskFromTemplate(String templateTaskOid, Map<QName,Object> extensionValues, Task opTask, OperationResult parentResult)
void
ModelController. suspendAndDeleteTask(String taskOid, long waitForStop, boolean alsoSubtasks, Task operationTask, OperationResult parentResult)
void
ModelController. suspendAndDeleteTasks(Collection<String> taskOids, long waitForStop, boolean alsoSubtasks, Task operationTask, OperationResult parentResult)
boolean
ModelController. suspendTask(String taskOid, long waitForStop, Task operationTask, OperationResult parentResult)
boolean
ModelController. suspendTasks(Collection<String> taskOids, long waitForStop, Task operationTask, OperationResult parentResult)
boolean
ModelController. suspendTaskTree(String taskOid, long waitForStop, Task operationTask, OperationResult parentResult)
void
ModelController. synchronizeTasks(Task operationTask, OperationResult parentResult)
void
ModelInteractionServiceImpl. terminateSessions(TerminateSessionEvent terminateSessionEvent, Task task, OperationResult result)
<F extends ObjectType>
ModelContext<F>ModelInteractionServiceImpl. unwrapModelContext(LensContextType wrappedContext, Task task, OperationResult result)
<O extends ObjectType>
voidModelInteractionServiceImpl. validateValue(PrismObject<O> object, PolicyItemsDefinitionType policyItemsDefinition, Task task, OperationResult parentResult)
<O extends ObjectType>
List<StringLimitationResult>ModelInteractionServiceImpl. validateValue(ProtectedStringType protectedStringValue, ValuePolicyType pp, PrismObject<O> object, Task task, OperationResult parentResult)
@NotNull Scene
ModelInteractionServiceImpl. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, boolean includeOriginalObject, Task task, OperationResult result)
@NotNull Scene
ModelInteractionServiceImpl. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, Task task, OperationResult result)
@NotNull Scene
ModelInteractionServiceImpl. visualizeDelta(ObjectDelta<? extends ObjectType> delta, boolean includeOperationalItems, ObjectReferenceType objectRef, Task task, OperationResult result)
@NotNull Scene
ModelInteractionServiceImpl. visualizeDelta(ObjectDelta<? extends ObjectType> delta, Task task, OperationResult result)
List<? extends Scene>
ModelInteractionServiceImpl. visualizeDeltas(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.dataModel
Methods in com.evolveum.midpoint.model.impl.dataModel with parameters of type OperationResult Modifier and Type Method Description String
DataModelVisualizerImpl. visualize(ResourceType resource, DataModelVisualizer.Target target, Task task, OperationResult result)
String
DataModelVisualizerImpl. visualize(Collection<String> resourceOids, DataModelVisualizer.Target target, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.expr
Methods in com.evolveum.midpoint.model.impl.expr that return OperationResult Modifier and Type Method Description OperationResult
MidpointFunctionsImpl. getCurrentResult()
OperationResult
MidpointFunctionsImpl. getCurrentResult(String operationName)
OperationResult
MidpointFunctionsImpl. testResource(String resourceOid)
Methods in com.evolveum.midpoint.model.impl.expr with parameters of type OperationResult Modifier and Type Method Description <V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>SequentialValueExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
PrismValueDeltaSetTriple<V>
SequentialValueExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult result)
boolean
ExpressionHandler. evaluateConfirmationExpression(UserType user, ShadowType shadow, ExpressionType expressionType, Task task, OperationResult result)
String
ExpressionHandler. evaluateExpression(ShadowType shadow, ExpressionType expressionType, String shortDesc, Task task, OperationResult result)
TaskType
MidpointFunctionsImpl. executeChangesAsynchronously(Collection<ObjectDelta<?>> deltas, ModelExecuteOptions options, String templateTaskOid, Task opTask, OperationResult result)
ObjectType
ExpressionHandler. resolveRef(ObjectReferenceType ref, String contextDescription, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.importer
Methods in com.evolveum.midpoint.model.impl.importer with parameters of type OperationResult Modifier and Type Method Description void
ObjectImporter. importObject(PrismObject object, ImportOptionsType options, Task task, OperationResult result)
void
ObjectImporter. importObjects(InputStream input, String language, ImportOptionsType options, Task task, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.integrity.shadows
Methods in com.evolveum.midpoint.model.impl.integrity.shadows with parameters of type OperationResult Modifier and Type Method Description void
ShadowIntegrityCheckActivityRun. afterRun(OperationResult result)
void
ShadowIntegrityCheckActivityRun. beforeRun(OperationResult result)
AbstractActivityRun<ShadowIntegrityCheckWorkDefinition,ShadowIntegrityCheckActivityHandler,?>
ShadowIntegrityCheckActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<ShadowIntegrityCheckWorkDefinition,ShadowIntegrityCheckActivityHandler> context, @NotNull OperationResult result)
boolean
ShadowIntegrityCheckActivityRun. processItem(@NotNull ShadowType shadow, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result)
boolean
ShadowIntegrityCheckItemProcessor. processObject(PrismObject<ShadowType> shadow, RunningTask workerTask, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens
Methods in com.evolveum.midpoint.model.impl.lens with parameters of type OperationResult Modifier and Type Method Description <F extends ObjectType>
voidClockworkAuthorizationHelper. authorizeContextRequest(LensContext<F> context, Task task, OperationResult parentResult)
static <F extends ObjectType>
voidLensUtil. checkContextSanity(LensContext<F> context, String activityDescription, OperationResult result)
<F extends ObjectType>
@NotNull HookOperationModeClockwork. click(@NotNull LensContext<F> context, @NotNull Task task, @NotNull OperationResult parentResult)
HookOperationMode
ClockworkClick. click(OperationResult parentResult)
<AH extends AssignmentHolderType>
Collection<EvaluatedAssignment<AH>>AssignmentCollector. collect(PrismObject<AH> focus, boolean loginMode, Task task, OperationResult result)
<AH extends AssignmentHolderType>
voidEvaluatedPolicyRuleImpl. computeEnabledActions(@Nullable PolicyRuleEvaluationContext<AH> rctx, PrismObject<AH> object, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
<F extends ObjectType>
LensContext<F>ContextFactory. createContext(Collection<ObjectDelta<? extends ObjectType>> deltas, ModelExecuteOptions options, Task task, OperationResult result)
static <F extends ObjectType>
LensObjectDeltaOperation<F>LensUtil. createObjectDeltaOperation(ObjectDelta<F> focusDelta, OperationResult result, LensElementContext<F> focusContext, LensProjectionContext projCtx)
static <T extends ObjectType>
LensObjectDeltaOperation<T>LensUtil. createObjectDeltaOperation(ObjectDelta<T> objectDelta, OperationResult result, LensElementContext<T> objectContext, LensProjectionContext projCtx, ResourceType resource)
<F extends ObjectType,O extends ObjectType>
LensContext<F>ContextFactory. createRecomputeContext(@NotNull PrismObject<O> object, ModelExecuteOptions options, @NotNull Task task, @NotNull OperationResult result)
<F extends ObjectType>
LensContext<F>ContextFactory. createRecomputeProjectionContext(@NotNull PrismObject<ShadowType> shadow, ModelExecuteOptions options, Task task, OperationResult result)
static ConsolidationValueMetadataComputer
LensMetadataUtil. createValueMetadataConsolidationComputer(ItemPath itemPath, LensContext<?> lensContext, ModelBeans beans, MappingEvaluationEnvironment env, OperationResult result)
static boolean
LensUtil. evaluateBoolean(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
static <T> T
LensUtil. evaluateExpressionSingle(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result, QName typeName, T defaultValue, Function<Object,Object> additionalConvertor)
static <F extends ObjectType>
booleanLensUtil. evaluateIterationCondition(LensContext<F> context, LensElementContext<?> accountContext, IterationSpecificationType iterationSpecification, int iteration, String iterationToken, boolean beforeIteration, ExpressionFactory expressionFactory, VariablesMap variables, Task task, OperationResult result)
static LocalizableMessageType
LensUtil. evaluateLocalizableMessageType(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
static String
LensUtil. evaluateString(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
<O extends ObjectType>
booleanChangeExecutor. executeChanges(LensContext<O> context, Task task, OperationResult parentResult)
Returns true if current wave has to be restarted, seeObjectAlreadyExistsException
handling.static <F extends ObjectType>
StringLensUtil. formatIterationToken(LensContext<F> context, LensElementContext<?> accountContext, IterationSpecificationType iterationType, int iteration, ExpressionFactory expressionFactory, VariablesMap variables, Task task, OperationResult result)
static <T extends ObjectType>
LensContext<T>LensContext. fromLensContextBean(LensContextType bean, Task task, OperationResult parentResult)
static LensContext.ExportType
LensUtil. getExportType(TraceType trace, OperationResult result)
static LensContext.ExportType
LensUtil. getExportTypeTraceOrReduced(TraceType trace, OperationResult result)
static <R extends AbstractRoleType>
@NotNull Collection<AssignmentType>LensUtil. getForcedAssignments(LifecycleStateModelType lifecycleModel, String targetLifecycle, ObjectResolver objectResolver, PrismContext prismContext, Task task, OperationResult result)
static <F extends FocusType>
LensProjectionContextLensUtil. getProjectionContext(LensContext<F> context, PrismObject<ShadowType> equivalentAccount, ProvisioningService provisioningService, PrismContext prismContext, Task task, OperationResult result)
static <F extends ObjectType>
ResourceTypeLensUtil. getResourceReadOnly(LensContext<F> context, String resourceOid, ProvisioningService provisioningService, Task task, OperationResult result)
static <F extends ObjectType>
@NotNull ResourceTypeLensUtil. getResourceReadOnly(LensContext<F> context, String resourceOid, ObjectResolver objectResolver, Task task, OperationResult result)
LinkTypeDefinitionType
LensFocusContext. getSourceLinkTypeDefinition(@NotNull String linkTypeName, LinkManager linkManager, OperationResult result)
LinkTypeDefinitionType
LensFocusContext. getTargetLinkTypeDefinition(@NotNull String linkTypeName, LinkManager linkManager, OperationResult result)
String
LensContext. getTaskTreeOid(Task task, OperationResult result)
static @NotNull SingleLocalizableMessageType
LensUtil. interpretLocalizableMessageTemplate(LocalizableMessageTemplateType template, VariablesMap var, ExpressionFactory expressionFactory, PrismContext prismContext, Task task, OperationResult result)
boolean
ClockworkMedic. partialExecute(String componentName, ProjectorProcessor processor, ProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, @NotNull String activityDescription, XMLGregorianCalendar now, Task task, OperationResult parentResult)
boolean
ClockworkMedic. partialExecute(String componentName, ProjectorProcessor processor, ProjectionAwareProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult parentResult)
boolean
ClockworkMedic. partialExecute(String componentName, ProjectorProcessor processor, SimplifiedProcessorMethodRef method, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, XMLGregorianCalendar now, Task task, OperationResult parentResult)
void
ClockworkMedic. partialExecute(String baseComponentName, ProjectorComponentRunnable runnable, Supplier<PartialProcessingTypeType> optionSupplier, Class<?> executingClass, LensContext<?> context, LensProjectionContext projectionContext, OperationResult initialParentResult)
<F extends ObjectType>
LensContext<F>Clockwork. previewChanges(LensContext<F> context, Collection<ProgressListener> listeners, Task task, OperationResult result)
static <F extends ObjectType>
voidLensUtil. reclaimSequences(LensContext<F> context, RepositoryService repositoryService, Task task, OperationResult result)
IvwoConsolidatorBuilder<V,D,I>
IvwoConsolidatorBuilder. result(OperationResult val)
<F extends ObjectType>
HookOperationModeClockwork. run(LensContext<F> context, Task task, OperationResult parentResult)
void
ProjectorComponentRunnable. run(OperationResult result)
void
LensProjectionContext. updateCoordinates(Task task, OperationResult result)
Updates basic "coordinates": resource shadow discriminator, resource OID (and resource itself), and shadow OID.void
LensContext. updateSystemConfiguration(OperationResult result)
Constructors in com.evolveum.midpoint.model.impl.lens with parameters of type OperationResult Constructor Description LensOwnerResolver(LensContext<F> context, ObjectResolver objectResolver, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.assignments
Methods in com.evolveum.midpoint.model.impl.lens.assignments with parameters of type OperationResult Modifier and Type Method Description EvaluatedAssignmentImpl<AH>
AssignmentEvaluator. evaluate(ItemDeltaItem<PrismContainerValue<AssignmentType>,PrismContainerDefinition<AssignmentType>> assignmentIdi, PlusMinusZero primaryAssignmentMode, boolean evaluateOld, AssignmentHolderType source, String sourceDescription, AssignmentOrigin origin, Task task, OperationResult parentResult)
Main entry point: evaluates a given focus-attached (direct) assignment.void
EvaluatedAssignmentImpl. evaluateConstructions(ObjectDeltaObject<AH> focusOdoAbsolute, Consumer<ResourceType> resourceConsumer, Task task, OperationResult result)
Evaluates constructions in this assignment.@NotNull DeltaSetTriple<EvaluatedResourceObjectConstruction>
EvaluatedAssignmentImpl. getEvaluatedConstructions(@NotNull Task task, @NotNull OperationResult result)
Construction is not a part of model-api. -
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.construction
Methods in com.evolveum.midpoint.model.impl.lens.construction with parameters of type OperationResult Modifier and Type Method Description NextRecompute
EvaluatedResourceObjectConstructionImpl. evaluate(Task task, OperationResult parentResult)
NextRecompute
ResourceObjectConstruction. evaluate(Task task, OperationResult parentResult)
Evaluates this construction.protected NextRecompute
ResourceObjectConstruction. evaluateConstructions(Task task, OperationResult result)
protected void
ResourceObjectConstruction. loadFullShadow(LensProjectionContext projectionContext, String desc, Task task, OperationResult result)
protected void
AssignedResourceObjectConstruction. resolveResource(Task task, OperationResult result)
protected void
PlainResourceObjectConstruction. resolveResource(Task task, OperationResult result)
protected abstract void
ResourceObjectConstruction. resolveResource(Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.executor
Methods in com.evolveum.midpoint.model.impl.lens.executor with parameters of type OperationResult Modifier and Type Method Description void
FocusChangeExecution. execute(OperationResult parentResult)
void
ProjectionChangeExecution. execute(OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector
Methods in com.evolveum.midpoint.model.impl.lens.projector with parameters of type OperationResult Modifier and Type Method Description void
ShadowConstraintsChecker. check(Task task, OperationResult result)
<F extends ObjectType>
ArchetypePolicyTypeContextLoader. determineArchetypePolicy(LensContext<F> context, OperationResult result)
<O extends ObjectType>
voidContextLoader. loadFocusContext(LensContext<O> context, Task task, OperationResult parentResult)
void
ContextLoader. loadFullShadow(@NotNull LensProjectionContext projCtx, String reason, Task task, OperationResult parentResult)
<F extends ObjectType>
voidContextLoader. loadSecurityPolicy(LensContext<F> context, Task task, OperationResult result)
<F extends FocusType>
voidProjectionValuesProcessor. process(LensContext<F> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
<F extends ObjectType>
voidProjector. project(@NotNull LensContext<F> context, @NotNull String activityDescription, @NotNull Task task, @NotNull OperationResult parentResult)
Runs one projection wave, starting at current execution wave.<F extends ObjectType>
voidProjector. projectAllWaves(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult)
Executes projector from current execution wave to the last computed wave.<F extends FocusType>
voidContextLoader. reloadSecurityPolicyIfNeeded(@NotNull LensContext<F> context, @NotNull LensFocusContext<F> focusContext, Task task, OperationResult result)
<F extends ObjectType>
voidProjector. resume(LensContext<F> context, String activityDescription, Task task, OperationResult parentResult)
Resumes projection at current projection wave.<F extends ObjectType>
voidDependencyProcessor. sortProjectionsToWaves(LensContext<F> context, OperationResult parentResult)
<F extends AssignmentHolderType>
voidContextLoader. updateArchetype(LensContext<F> context, Task task, OperationResult result)
<F extends ObjectType>
voidContextLoader. updateArchetypePolicy(LensContext<F> context, OperationResult result)
<F extends ObjectType>
voidContextLoader. updateFocusTemplate(LensContext<F> context, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector.credentials
Methods in com.evolveum.midpoint.model.impl.lens.projector.credentials with parameters of type OperationResult Modifier and Type Method Description <F extends FocusType>
voidCredentialsProcessor. processFocusCredentials(LensContext<F> context, XMLGregorianCalendar now, Task task, OperationResult result)
<F extends FocusType>
voidProjectionCredentialsProcessor. processProjectionCredentials(LensContext<F> context, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
CredentialPolicyEvaluator.Builder<F>
CredentialPolicyEvaluator.Builder. result(OperationResult val)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector.focus
Methods in com.evolveum.midpoint.model.impl.lens.projector.focus with parameters of type OperationResult Modifier and Type Method Description boolean
FocusConstraintsChecker. check(PrismObject<AH> objectNew, OperationResult parentResult)
static <F extends AssignmentHolderType,T extends AssignmentHolderType>
TemplateMappingsEvaluation<F,T>TemplateMappingsEvaluation. createForPersonaTemplate(ModelBeans beans, LensContext<F> context, ObjectDeltaObject<F> focusOdoAbsolute, ObjectTemplateType template, @NotNull PrismObject<T> targetObject, ObjectDelta<T> targetAPrioriDelta, String contextDescription, XMLGregorianCalendar now, Task task, OperationResult result)
boolean
PruningOperation. execute(OperationResult parentResult)
<F extends AssignmentHolderType>
voidFocusLifecycleProcessor. process(LensContext<F> context, XMLGregorianCalendar now, Task task, OperationResult result)
<O extends ObjectType,AH extends AssignmentHolderType>
voidAssignmentProcessor. processAssignments(LensContext<O> context, XMLGregorianCalendar now, Task task, OperationResult parentResult)
Processing all the assignments.void
AssignmentProcessor. processAssignmentsAccountValues(LensProjectionContext accountContext, OperationResult result)
<AH extends AssignmentHolderType>
voidAssignmentHolderProcessor. processFocus(LensContext<AH> context, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
<AH extends AssignmentHolderType>
voidObjectTemplateProcessor. processTemplateAfterProjections(LensContext<AH> context, XMLGregorianCalendar now, Task task, OperationResult result)
AssignmentTripleEvaluator.Builder<AH>
AssignmentTripleEvaluator.Builder. result(OperationResult val)
MappingSetEvaluationBuilder<F,T>
MappingSetEvaluationBuilder. result(OperationResult val)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector.focus.consolidation
Constructors in com.evolveum.midpoint.model.impl.lens.projector.focus.consolidation with parameters of type OperationResult Constructor Description DeltaSetTripleMapConsolidation(PathKeyedMap<DeltaSetTriple<ItemValueWithOrigin<?,?>>> outputTripleMap, PrismObject<T> targetObject, ObjectDelta<T> targetAPrioriDelta, Function<ItemPath,Boolean> itemDeltaExistsProvider, Boolean addUnchangedValuesOverride, Consumer<IvwoConsolidatorBuilder> consolidatorBuilderCustomizer, PrismObjectDefinition<T> targetDefinition, MappingEvaluationEnvironment env, ModelBeans beans, LensContext<?> lensContext, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector.loader
Methods in com.evolveum.midpoint.model.impl.lens.projector.loader with parameters of type OperationResult Modifier and Type Method Description void
ContextLoadOperation. load(OperationResult parentResult)
void
FocusLoadOperation. load(OperationResult parentResult)
Tries to load focus context from oid, delta, projections (e.g.void
ProjectionsLoadOperation. load(OperationResult parentResult)
void
ProjectionFullLoadOperation. loadFullShadow(OperationResult parentResult)
void
MissingShadowContextRefresher. refresh(OperationResult result)
void
ProjectionUpdateOperation. update(OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector.mappings
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector.policy
Methods in com.evolveum.midpoint.model.impl.lens.projector.policy with parameters of type OperationResult Modifier and Type Method Description <F extends AssignmentHolderType>
voidPolicyRuleProcessor. addGlobalPolicyRulesToAssignments(LensContext<F> context, DeltaSetTriple<EvaluatedAssignmentImpl<F>> evaluatedAssignmentTriple, Task task, OperationResult result)
<F extends AssignmentHolderType>
voidPolicyRuleProcessor. evaluateAssignmentPolicyRules(LensContext<F> context, DeltaSetTriple<EvaluatedAssignmentImpl<F>> evaluatedAssignmentTriple, Task task, OperationResult result)
Evaluates the policies (policy rules, but also legacy policies).<AH extends AssignmentHolderType>
@NotNull List<EvaluatedPolicyRuleTrigger<?>>PolicyRuleProcessor. evaluateConstraints(PolicyConstraintsType constraints, boolean allMustApply, PolicyRuleEvaluationContext<AH> ctx, OperationResult result)
<AH extends AssignmentHolderType>
voidPolicyRuleProcessor. evaluateObjectPolicyRules(LensContext<AH> context, XMLGregorianCalendar now, Task task, OperationResult result)
<O extends ObjectType>
voidPolicyRuleEnforcer. execute(@NotNull LensContext<O> context, OperationResult parentResult)
<O extends ObjectType>
voidPolicyRuleSuspendTaskExecutor. execute(@NotNull ModelContext<O> context, Task task, OperationResult result)
<AH extends AssignmentHolderType>
voidPolicyRuleCounterUpdater. updateCounters(LensContext<AH> context, XMLGregorianCalendar now, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector.policy.evaluators
Methods in com.evolveum.midpoint.model.impl.lens.projector.policy.evaluators with parameters of type OperationResult Modifier and Type Method Description <AH extends AssignmentHolderType>
LocalizableMessageConstraintEvaluatorHelper. createLocalizableMessage(javax.xml.bind.JAXBElement<? extends AbstractPolicyConstraintType> constraintElement, PolicyRuleEvaluationContext<AH> rctx, LocalizableMessage builtInMessage, OperationResult result)
<AH extends AssignmentHolderType>
LocalizableMessageConstraintEvaluatorHelper. createLocalizableShortMessage(javax.xml.bind.JAXBElement<? extends AbstractPolicyConstraintType> constraintElement, PolicyRuleEvaluationContext<AH> rctx, LocalizableMessage builtInMessage, OperationResult result)
<AH extends AssignmentHolderType>
EvaluatedAlwaysTrueTriggerAlwaysTrueConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<AlwaysTruePolicyConstraintType> constraint, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedModificationTriggerAssignmentModificationConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<AssignmentModificationPolicyConstraintType> constraintElement, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedCompositeTriggerCompositeConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<PolicyConstraintsType> constraint, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedExclusionTriggerExclusionConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<ExclusionPolicyConstraintType> constraint, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedHasAssignmentTriggerHasAssignmentConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<HasAssignmentPolicyConstraintType> constraintElement, @NotNull PolicyRuleEvaluationContext<AH> ctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedMultiplicityTriggerMultiplicityConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<MultiplicityPolicyConstraintType> constraint, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedModificationTriggerObjectModificationConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<ModificationPolicyConstraintType> constraint, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedOrphanedTriggerOrphanedConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<OrphanedPolicyConstraintType> constraint, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedPolicyRuleTrigger<?>PolicyConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<T> constraint, @NotNull PolicyRuleEvaluationContext<AH> ctx, OperationResult result)
<AH extends AssignmentHolderType>
EvaluatedSituationTriggerPolicySituationConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<PolicySituationPolicyConstraintType> constraint, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedStateTriggerStateConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<StatePolicyConstraintType> constraint, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
<AH extends AssignmentHolderType>
EvaluatedPolicyRuleTriggerTransitionConstraintEvaluator. evaluate(@NotNull javax.xml.bind.JAXBElement<TransitionPolicyConstraintType> constraintElement, @NotNull PolicyRuleEvaluationContext<AH> rctx, OperationResult parentResult)
boolean
ConstraintEvaluatorHelper. evaluateBoolean(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, Task task, OperationResult result)
LocalizableMessageType
ConstraintEvaluatorHelper. evaluateLocalizableMessageType(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, Task task, OperationResult result)
String
ConstraintEvaluatorHelper. evaluateString(ExpressionType expressionBean, VariablesMap VariablesMap, String contextDescription, Task task, OperationResult result)
<AH extends AssignmentHolderType>
SingleLocalizableMessageTypeConstraintEvaluatorHelper. interpretLocalizableMessageTemplate(LocalizableMessageTemplateType template, PolicyRuleEvaluationContext<AH> rctx, javax.xml.bind.JAXBElement<? extends AbstractPolicyConstraintType> constraintElement, OperationResult result)
Constructors in com.evolveum.midpoint.model.impl.lens.projector.policy.evaluators with parameters of type OperationResult Constructor Description ConstraintReferenceMatcher(@NotNull PolicyRuleEvaluationContext<AH> evalContext, @Nullable ObjectReferenceType targetReference, @NotNull ExpressionFactory expressionFactory, @NotNull OperationResult operationResult, @NotNull Trace logger)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector.policy.scriptExecutor
Methods in com.evolveum.midpoint.model.impl.lens.projector.policy.scriptExecutor with parameters of type OperationResult Modifier and Type Method Description void
PolicyRuleScriptExecutor. execute(@NotNull LensContext<?> context, Task task, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.lens.projector.util
Methods in com.evolveum.midpoint.model.impl.lens.projector.util with parameters of type OperationResult Modifier and Type Method Description void
ProcessorMethodRef. run(@NotNull LensContext<X> lensContext, @NotNull String activityDescription, @NotNull XMLGregorianCalendar now, @NotNull Task task, @NotNull OperationResult result)
void
ProjectionAwareProcessorMethodRef. run(LensContext<X> lensContext, LensProjectionContext projectionContext, String activityDescription, XMLGregorianCalendar now, Task task, OperationResult result)
void
SimplifiedProcessorMethodRef. run(LensContext<X> lensContext, XMLGregorianCalendar now, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.migrator
Methods in com.evolveum.midpoint.model.impl.migrator with parameters of type OperationResult Modifier and Type Method Description <F extends ObjectType>
voidMigrator. executeAfterOperationMigration(LensContext<F> context, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.scripting
Methods in com.evolveum.midpoint.model.impl.scripting that return OperationResult Modifier and Type Method Description static @NotNull OperationResult
PipelineData. newOperationResult()
Methods in com.evolveum.midpoint.model.impl.scripting with parameters of type OperationResult Modifier and Type Method Description void
PipelineData. addValue(PrismValue value, OperationResult result, VariablesMap variables)
AbstractActivityRun<NonIterativeScriptingActivityHandler.MyWorkDefinition,NonIterativeScriptingActivityHandler,?>
NonIterativeScriptingActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<NonIterativeScriptingActivityHandler.MyWorkDefinition,NonIterativeScriptingActivityHandler> context, @NotNull OperationResult result)
ExecutionContext
ScriptingExpressionEvaluator. evaluateExpression(@NotNull ExecuteScriptType executeScript, VariablesMap initialVariables, boolean recordProgressAndIterationStatistics, Task task, OperationResult result)
Main entry point.PipelineData
ScriptingExpressionEvaluator. evaluateExpression(ScriptingExpressionType value, PipelineData input, ExecutionContext context, OperationResult parentResult)
ExecutionContext
ScriptingExpressionEvaluator. evaluateExpression(ScriptingExpressionType expression, Task task, OperationResult result)
Convenience method (if we don't have full ExecuteScriptType).PipelineData
ScriptingExpressionEvaluator. evaluateExpression(javax.xml.bind.JAXBElement<? extends ScriptingExpressionType> expression, PipelineData input, ExecutionContext context, OperationResult parentResult)
void
ScriptingExpressionEvaluator. evaluateExpressionInBackground(ExecuteScriptType executeScriptCommand, Task task, OperationResult parentResult)
void
ScriptingExpressionEvaluator. evaluateExpressionInBackground(ScriptingExpressionType expression, Task task, OperationResult parentResult)
Asynchronously executes any scripting expression.ExecutionContext
ScriptingExpressionEvaluator. evaluateExpressionPrivileged(@NotNull ExecuteScriptType executeScript, @NotNull VariablesMap initialVariables, Task task, OperationResult result)
Entry point for privileged execution.PipelineData
ActionExecutor. execute(ActionExpressionType command, PipelineData input, ExecutionContext context, OperationResult globalResult)
Executes given action command.@NotNull List<ObjectReferenceType>
PipelineData. getDataAsReferences(QName defaultTargetType, Class<? extends ObjectType> typeForQuery, ExecutionContext context, OperationResult result)
Returns the pipeline content as a list of references. -
Uses of OperationResult in com.evolveum.midpoint.model.impl.scripting.actions
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.scripting.expressions
Methods in com.evolveum.midpoint.model.impl.scripting.expressions with parameters of type OperationResult Modifier and Type Method Description PipelineData
FilterContentEvaluator. evaluate(FilterContentExpressionType expression, PipelineData input, ExecutionContext context, OperationResult result)
<T extends ObjectType>
PipelineDataSearchEvaluator. evaluate(SearchExpressionType searchExpression, PipelineData input, ExecutionContext context, OperationResult globalResult)
PipelineData
SelectEvaluator. evaluate(SelectExpressionType selectExpression, PipelineData input, ExecutionContext context, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.scripting.helpers
Methods in com.evolveum.midpoint.model.impl.scripting.helpers that return OperationResult Modifier and Type Method Description OperationResult
OperationsHelper. createActionResult(PipelineItem item, ActionExecutor executor, OperationResult globalResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.security
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.sync
Methods in com.evolveum.midpoint.model.impl.sync with parameters of type OperationResult Modifier and Type Method Description @NotNull ResourceObjectClassifier.Classification
ResourceObjectClassifierImpl. classify(@NotNull PrismObject<ShadowType> combinedObject, @NotNull PrismObject<ResourceType> resource, @NotNull Task task, @NotNull OperationResult parentResult)
<F extends FocusType>
@NotNull List<PrismObject<F>>SynchronizationExpressionsEvaluator. findFocusesByCorrelationRule(Class<F> focusType, ShadowType currentShadow, List<ConditionalSearchFilterType> conditionalFilters, ResourceType resourceType, SystemConfigurationType configurationType, Task task, OperationResult result)
String
SynchronizationExpressionsEvaluator. generateTag(ResourceObjectMultiplicityType multiplicity, PrismObject<ShadowType> shadow, PrismObject<ResourceType> resource, PrismObject<SystemConfigurationType> configuration, String shortDesc, Task task, OperationResult parentResult)
SynchronizationReactionType
SynchronizationContext. getReaction(OperationResult result)
<F extends FocusType>
voidAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
static <F extends FocusType>
booleanSynchronizationServiceUtils. isPolicyApplicable(ObjectSynchronizationType synchronizationPolicy, ObjectSynchronizationDiscriminatorType discriminator, ExpressionFactory expressionFactory, SynchronizationContext<F> syncCtx, OperationResult result)
<F extends FocusType>
SynchronizationContext<F>SynchronizationService. loadSynchronizationContext(PrismObject<ShadowType> shadowedResourceObject, ObjectDelta<ShadowType> resourceObjectDelta, PrismObject<ResourceType> resource, String sourceChanel, String itemProcessingIdentifier, PrismObject<SystemConfigurationType> explicitSystemConfiguration, Task task, OperationResult result)
<F extends FocusType>
SynchronizationContext<F>SynchronizationServiceImpl. loadSynchronizationContext(@NotNull PrismObject<ShadowType> shadowedResourceObject, ObjectDelta<ShadowType> resourceObjectDelta, PrismObject<ResourceType> resource, String sourceChanel, String itemProcessingIdentifier, PrismObject<SystemConfigurationType> explicitSystemConfiguration, Task task, OperationResult result)
<F extends FocusType>
booleanSynchronizationExpressionsEvaluator. matchFocusByCorrelationRule(SynchronizationContext<F> syncCtx, PrismObject<F> focus, OperationResult result)
<F extends FocusType>
booleanSynchronizationService. matchUserCorrelationRule(PrismObject<ShadowType> shadowedResourceObject, PrismObject<F> focus, ResourceType resourceType, PrismObject<SystemConfigurationType> configuration, Task task, OperationResult result)
<F extends FocusType>
booleanSynchronizationServiceImpl. matchUserCorrelationRule(PrismObject<ShadowType> shadowedResourceObject, PrismObject<F> focus, ResourceType resourceType, PrismObject<SystemConfigurationType> configuration, Task task, OperationResult result)
Tries to match specified focus and shadow.void
ProjectionLinkUpdater. notify(ShadowDeathEvent event, Task task, OperationResult result)
void
SynchronizationServiceImpl. notifyChange(@NotNull ResourceObjectShadowChangeDescription change, Task task, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.sync.action
Methods in com.evolveum.midpoint.model.impl.sync.action with parameters of type OperationResult Modifier and Type Method Description protected UserType
BaseAction. getUser(String oid, OperationResult result)
<F extends FocusType>
voidAddFocusAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidDeleteFocusAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidDeleteShadowAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidEmptyAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidInactivateFocusAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidInactivateShadowAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidLinkAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
<F extends FocusType>
voidUnlinkAction. handle(@NotNull LensContext<F> context, SynchronizationSituation<F> situation, Map<QName,Object> parameters, Task task, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.sync.tasks
Methods in com.evolveum.midpoint.model.impl.sync.tasks with parameters of type OperationResult Modifier and Type Method Description void
SyncItemProcessingRequest. acknowledge(boolean release, OperationResult result)
@NotNull ResourceObjectClassSpecification
SyncTaskHelper. createObjectClassSpec(@NotNull ResourceObjectSetType resourceObjectSet, Task task, OperationResult opResult)
@NotNull ResourceObjectClassSpecification
SyncTaskHelper. createObjectClassSpecForShadow(ShadowType shadow, Task task, OperationResult opResult)
ResourceSearchSpecification
SyncTaskHelper. createSearchSpecification(@NotNull ResourceObjectSetType set, Task task, OperationResult opResult)
void
Synchronizer. synchronize(PrismObject<ShadowType> shadowObject, String itemProcessingIdentifier, Task workerTask, OperationResult result)
This methods will be called for each search result. -
Uses of OperationResult in com.evolveum.midpoint.model.impl.sync.tasks.async
Methods in com.evolveum.midpoint.model.impl.sync.tasks.async with parameters of type OperationResult Modifier and Type Method Description void
AsyncUpdateActivityRun. beforeRun(OperationResult result)
@NotNull AbstractActivityRun<AsyncUpdateWorkDefinition,AsyncUpdateActivityHandler,AbstractActivityWorkStateType>
AsyncUpdateActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<AsyncUpdateWorkDefinition,AsyncUpdateActivityHandler> context, @NotNull OperationResult result)
void
AsyncUpdateActivityRun. iterateOverItemsInBucket(OperationResult opResult)
boolean
AsyncUpdateActivityRun. processItem(@NotNull ItemProcessingRequest<AsyncUpdateEvent> request, @NotNull RunningTask workerTask, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.sync.tasks.imp
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.sync.tasks.recon
Methods in com.evolveum.midpoint.model.impl.sync.tasks.recon with parameters of type OperationResult Modifier and Type Method Description void
PartialReconciliationActivityRun. beforeRun(OperationResult result)
void
ResourceObjectsReconciliationActivityRun. beforeRun(OperationResult result)
@NotNull com.evolveum.midpoint.model.impl.sync.tasks.recon.ReconciliationActivityRun
ReconciliationActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<ReconciliationWorkDefinition,ReconciliationActivityHandler> context, @NotNull OperationResult result)
Collection<SelectorOptions<GetOperationOptions>>
ResourceObjectsReconciliationActivityRun. customizeSearchOptions(Collection<SelectorOptions<GetOperationOptions>> configuredOptions, OperationResult result)
void
ReconciliationLauncher. launch(ResourceType resource, QName objectclass, Task task, OperationResult parentResult)
Launch an import.boolean
ResourceObjectsReconciliationActivityRun. processItem(@NotNull ShadowType object, @NotNull ItemProcessingRequest<ShadowType> request, RunningTask workerTask, OperationResult result)
ActivityState
PartialReconciliationActivityRun. useOtherActivityStateForCounters(@NotNull OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.sync.tasks.sync
Methods in com.evolveum.midpoint.model.impl.sync.tasks.sync with parameters of type OperationResult Modifier and Type Method Description void
LiveSyncActivityRun. afterRun(OperationResult result)
void
LiveSyncActivityRun. beforeRun(OperationResult result)
AbstractActivityRun<LiveSyncWorkDefinition,LiveSyncActivityHandler,?>
LiveSyncActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<LiveSyncWorkDefinition,LiveSyncActivityHandler> context, @NotNull OperationResult result)
void
LiveSyncActivityRun. iterateOverItemsInBucket(OperationResult opResult)
boolean
LiveSyncActivityRun. processItem(@NotNull ItemProcessingRequest<LiveSyncEvent> request, @NotNull RunningTask workerTask, @NotNull OperationResult result)
void
ActivityTokenStorageImpl. setToken(LiveSyncToken token, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.tasks
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.tasks.cluster
Methods in com.evolveum.midpoint.model.impl.tasks.cluster with parameters of type OperationResult Modifier and Type Method Description void
AutoScalingActivityRun. afterRun(OperationResult result)
void
AutoScalingActivityRun. beforeRun(OperationResult result)
AbstractActivityRun<AutoScalingWorkDefinition,AutoScalingActivityHandler,?>
AutoScalingActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<AutoScalingWorkDefinition,AutoScalingActivityHandler> context, @NotNull OperationResult result)
ObjectQuery
AutoScalingActivityRun. customizeQuery(ObjectQuery configuredQuery, 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 OperationResult in com.evolveum.midpoint.model.impl.tasks.scanner
Methods in com.evolveum.midpoint.model.impl.tasks.scanner with parameters of type OperationResult Modifier and Type Method Description void
ScanActivityRun. afterRun(OperationResult result)
void
ScanActivityRun. beforeRun(OperationResult result)
AbstractActivityRun<FocusValidityScanWorkDefinition,FocusValidityScanActivityHandler,?>
FocusValidityScanActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<FocusValidityScanWorkDefinition,FocusValidityScanActivityHandler> context, @NotNull OperationResult result)
ObjectQuery
FocusValidityScanPartialRun. customizeQuery(ObjectQuery configuredQuery, OperationResult result)
boolean
FocusValidityScanPartialRun. processItem(@NotNull FocusType object, @NotNull ItemProcessingRequest<FocusType> request, RunningTask workerTask, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.tasks.simple
Methods in com.evolveum.midpoint.model.impl.tasks.simple with parameters of type OperationResult Modifier and Type Method Description AbstractActivityRun<WD,SAH,?>
SimpleActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<WD,SAH> context, @NotNull OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.tasks.sources
Methods in com.evolveum.midpoint.model.impl.tasks.sources with parameters of type OperationResult 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 OperationResult in com.evolveum.midpoint.model.impl.trigger
Methods in com.evolveum.midpoint.model.impl.trigger with parameters of type OperationResult Modifier and Type Method Description AbstractActivityRun<TriggerScanWorkDefinition,TriggerScanActivityHandler,?>
TriggerScanActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<TriggerScanWorkDefinition,TriggerScanActivityHandler> context, @NotNull OperationResult result)
<O extends ObjectType>
voidCompletedTaskCleanupTriggerHandler. handle(@NotNull PrismObject<O> object, @NotNull TriggerType trigger, @NotNull RunningTask task, @NotNull OperationResult result)
<O extends ObjectType>
Collection<TriggerType>MultipleTriggersHandler. handle(PrismObject<O> object, Collection<TriggerType> triggers, RunningTask task, OperationResult result)
<O extends ObjectType>
voidRecomputeTriggerHandler. handle(@NotNull PrismObject<O> object, @NotNull TriggerType trigger, @NotNull RunningTask task, @NotNull OperationResult result)
<O extends ObjectType>
voidShadowReconcileTriggerHandler. handle(@NotNull PrismObject<O> object, @NotNull TriggerType trigger, @NotNull RunningTask task, @NotNull OperationResult result)
<O extends ObjectType>
voidSingleTriggerHandler. handle(@NotNull PrismObject<O> object, @NotNull TriggerType trigger, @NotNull RunningTask task, @NotNull OperationResult result)
boolean
TriggerScanItemProcessor. processObject(@NotNull ObjectType object, @NotNull RunningTask workerTask, @NotNull OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.util
Methods in com.evolveum.midpoint.model.impl.util with parameters of type OperationResult Modifier and Type Method Description void
AuditHelper. audit(AuditEventRecord record, ObjectDeltaSchemaLevelUtil.NameResolver externalNameResolver, Task task, OperationResult parentResult)
static void
ModelImplUtils. encrypt(Collection<ObjectDelta<? extends ObjectType>> deltas, Protector protector, ModelExecuteOptions options, OperationResult result)
<F extends ObjectType>
AuditEventRecordAuditHelper. evaluateRecordingExpression(ExpressionType expression, AuditEventRecord auditRecord, PrismObject<? extends ObjectType> primaryObject, LensContext<F> context, Task task, OperationResult parentResult)
static <V extends PrismValue,F extends ObjectType>
@NotNull List<V>ModelImplUtils. evaluateScript(ScriptExpression scriptExpression, LensContext<F> lensContext, VariablesMap variables, boolean useNew, String shortDesc, Task task, OperationResult parentResult)
static CriticalityType
ModelImplUtils. handleConnectorErrorCriticality(ResourceType resourceType, Throwable e, OperationResult result)
static void
ModelImplUtils. recordFatalError(OperationResult result, String message, Throwable e)
static void
ModelImplUtils. recordFatalError(OperationResult result, Throwable e)
static void
ModelImplUtils. recordPartialError(OperationResult result, String message, Throwable e)
static void
ModelImplUtils. recordPartialError(OperationResult result, Throwable e)
List<PrismObject<? extends ObjectType>>
ReferenceResolverImpl. resolve(@NotNull ObjectReferenceType reference, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull ReferenceResolver.Source source, ReferenceResolver.FilterEvaluator filterEvaluator, Task task, OperationResult result)
static <T extends ObjectType>
voidModelImplUtils. resolveReferences(ObjectDelta<T> objectDelta, RepositoryService repository, boolean enforceReferentialIntegrity, boolean forceFilterReevaluation, EvaluationTimeType resolutionTime, boolean throwExceptionOnFailure, PrismContext prismContext, OperationResult result)
Resolves references contained in ADD and REPLACE value sets for item modifications in a given ObjectDelta.static <T extends ObjectType>
voidModelImplUtils. resolveReferences(PrismObject<T> object, RepositoryService repository, boolean enforceReferentialIntegrity, boolean forceFilterReevaluation, EvaluationTimeType resolutionTime, boolean throwExceptionOnFailure, PrismContext prismContext, OperationResult result)
Resolves references contained in given PrismObject. -
Uses of OperationResult in com.evolveum.midpoint.model.impl.validator
Methods in com.evolveum.midpoint.model.impl.validator with parameters of type OperationResult Modifier and Type Method Description @NotNull ValidationResult
ResourceValidatorImpl. validate(@NotNull PrismObject<ResourceType> resourceObject, @NotNull Scope scope, @Nullable Locale locale, @NotNull Task task, @NotNull OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.model.impl.visualizer
Methods in com.evolveum.midpoint.model.impl.visualizer with parameters of type OperationResult Modifier and Type Method Description <O extends ObjectType>
voidResolver. resolve(ObjectDelta<O> objectDelta, boolean includeOriginalObject, Task task, OperationResult result)
<O extends ObjectType>
voidResolver. resolve(PrismObject<O> object, Task task, OperationResult result)
void
Resolver. resolve(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult result)
SceneImpl
Visualizer. visualize(PrismObject<? extends ObjectType> object, VisualizationContext context, Task task, OperationResult parentResult)
SceneImpl
Visualizer. visualize(PrismObject<? extends ObjectType> object, Task task, OperationResult parentResult)
@NotNull SceneImpl
Visualizer. visualizeDelta(ObjectDelta<? extends ObjectType> objectDelta, Task task, OperationResult parentResult)
@NotNull SceneImpl
Visualizer. visualizeDelta(ObjectDelta<? extends ObjectType> objectDelta, ObjectReferenceType objectRef, boolean includeOperationalItems, boolean includeOriginalObject, Task task, OperationResult parentResult)
@NotNull SceneImpl
Visualizer. visualizeDelta(ObjectDelta<? extends ObjectType> objectDelta, ObjectReferenceType objectRef, Task task, OperationResult parentResult)
List<? extends SceneImpl>
Visualizer. visualizeDeltas(List<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.ninja.impl
Methods in com.evolveum.midpoint.ninja.impl that return OperationResult Modifier and Type Method Description OperationResult
RestService. testResource(String oid)
Constructors in com.evolveum.midpoint.ninja.impl with parameters of type OperationResult Constructor Description RestServiceException(String message, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.ninja.util
Methods in com.evolveum.midpoint.ninja.util that return OperationResult Modifier and Type Method Description OperationResult
OperationStatus. getResult()
static OperationResult
NinjaUtils. parseResult(String result)
Constructors in com.evolveum.midpoint.ninja.util with parameters of type OperationResult Constructor Description OperationStatus(NinjaContext context, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.notifications.api
Methods in com.evolveum.midpoint.notifications.api with parameters of type OperationResult Modifier and Type Method Description boolean
EventHandler. processEvent(E event, C eventHandlerType, Task task, OperationResult result)
void
NotificationManager. processEvent(@NotNull Event event, Task task, OperationResult result)
boolean
NotificationManager. processEvent(@NotNull Event event, EventHandlerType eventHandlerBean, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.notifications.api.events
Methods in com.evolveum.midpoint.notifications.api.events with parameters of type OperationResult Modifier and Type Method Description ObjectType
SimpleObjectRef. resolveObjectType(OperationResult result, boolean allowNotFound)
-
Uses of OperationResult in com.evolveum.midpoint.notifications.api.transports
Methods in com.evolveum.midpoint.notifications.api.transports with parameters of type OperationResult Modifier and Type Method Description void
Transport. send(Message message, String transportName, Event event, Task task, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.provisioning.api
Methods in com.evolveum.midpoint.provisioning.api that return OperationResult Modifier and Type Method Description OperationResult
ResourceOperationDescription. getResult()
Result of the failed operation.OperationResult
ProvisioningService. testResource(String resourceOid, Task task)
Test the resource connection and basic resource connector functionality.Methods in com.evolveum.midpoint.provisioning.api with parameters of type OperationResult Modifier and Type Method Description <T extends ObjectType>
StringProvisioningService. addObject(PrismObject<T> object, OperationProvisioningScriptsType scripts, ProvisioningOperationOptions options, Task task, OperationResult parentResult)
Add new object.void
LiveSyncEventHandler. allEventsSubmitted(OperationResult result)
Invoked when no more events are to be expected during the current synchronization operation.<T extends ObjectType>
voidProvisioningService. applyDefinition(ObjectDelta<T> delta, Objectable object, Task task, OperationResult parentResult)
Applies appropriate definition to the shadow/resource delta (uses provided object to get necessary information)<T extends ObjectType>
voidProvisioningService. applyDefinition(ObjectDelta<T> delta, Task task, OperationResult parentResult)
Applies appropriate definition to the shadow/resource delta.<T extends ObjectType>
voidProvisioningService. applyDefinition(PrismObject<T> object, Task task, OperationResult parentResult)
Applies appropriate definition to the shadow.<T extends ObjectType>
voidProvisioningService. applyDefinition(Class<T> type, ObjectQuery query, Task task, OperationResult parentResult)
Applies appropriate definition to the query.ConstraintsCheckingResult
ProvisioningService. checkConstraints(RefinedObjectClassDefinition shadowDefinition, PrismObject<ShadowType> shadowObject, PrismObject<ShadowType> shadowObjectOld, ResourceType resourceType, String shadowOid, ResourceShadowDiscriminator resourceShadowDiscriminator, ConstraintViolationConfirmer constraintViolationConfirmer, ConstraintsCheckingStrategyType strategy, Task task, OperationResult parentResult)
@NotNull ResourceObjectClassifier.Classification
ResourceObjectClassifier. classify(@NotNull PrismObject<ShadowType> combinedObject, @NotNull PrismObject<ResourceType> resource, @NotNull Task task, @NotNull OperationResult result)
Classifies the shadowed resource object.<O extends ObjectType,T>
ItemComparisonResultProvisioningService. compare(Class<O> type, String oid, ItemPath path, T expectedValue, Task task, OperationResult result)
Compare value on the resource with the provided value.<T extends ObjectType>
IntegerProvisioningService. countObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Options: if noFetch or raw, we count only shadows from the repository.<T extends ObjectType>
PrismObject<T>ProvisioningService. deleteObject(Class<T> type, String oid, ProvisioningOperationOptions option, OperationProvisioningScriptsType scripts, Task task, OperationResult parentResult)
Deletes object with specified OID.void
ProvisioningService. determineShadowState(PrismObject<ShadowType> shadow, Task task, OperationResult parentResult)
Determines shadow lifecycle state (shadow state for short), updating the shadow object.Set<ConnectorType>
ProvisioningService. discoverConnectors(ConnectorHostType hostType, OperationResult parentResult)
Discovers local or remote connectors.Object
ProvisioningService. executeScript(String resourceOid, ProvisioningScriptType script, Task task, OperationResult parentResult)
Executes a single provisioning script.List<ConnectorOperationalStatus>
ProvisioningService. getConnectorOperationalStatus(String resourceOid, Task task, OperationResult parentResult)
<T extends ObjectType>
PrismObject<T>ProvisioningService. getObject(Class<T> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Returns object for provided OID.boolean
SynchronizationEventHandler. handle(E event, OperationResult opResult)
Passes an event to be handled.<T extends ObjectType>
StringProvisioningService. modifyObject(Class<T> type, String oid, Collection<? extends ItemDelta<?,?>> modifications, OperationProvisioningScriptsType scripts, ProvisioningOperationOptions options, Task task, OperationResult parentResult)
Modifies object using relative change description.void
ShadowDeathListener. notify(ShadowDeathEvent event, Task task, OperationResult result)
The caller is notified about particular shadow death event.void
ResourceObjectChangeListener. notifyChange(@NotNull ResourceObjectShadowChangeDescription change, Task task, OperationResult parentResult)
Submits notification about a specific change that happened on the resource.void
ExternalResourceEventListener. notifyEvent(ExternalResourceEvent event, Task task, OperationResult parentResult)
void
ResourceOperationListener. notifyFailure(@NotNull ResourceOperationDescription operationDescription, Task task, OperationResult parentResult)
Submits notification about a failure of provisioning operation.void
ResourceOperationListener. notifyInProgress(@NotNull ResourceOperationDescription operationDescription, Task task, OperationResult parentResult)
Submits notification about provisioning operation that is in progress.void
ResourceOperationListener. notifySuccess(@NotNull ResourceOperationDescription operationDescription, Task task, OperationResult parentResult)
Submits notification about a success of a provisioning operation.void
ProvisioningService. postInit(OperationResult parentResult)
Finish initialization of provisioning system.void
ProvisioningService. processAsynchronousUpdates(@NotNull ResourceShadowDiscriminator shadowCoordinates, @NotNull AsyncUpdateEventHandler handler, @NotNull Task task, @NotNull OperationResult parentResult)
Processes asynchronous updates for a given resource.void
ProvisioningService. provisioningSelfTest(OperationResult parentTestResult, Task task)
Runs a short, non-destructive internal provisioning test.void
ProvisioningService. refreshShadow(PrismObject<ShadowType> shadow, ProvisioningOperationOptions options, Task task, OperationResult parentResult)
Makes sure that the shadow is in accord with the reality.<T extends ObjectType>
@NotNull SearchResultList<PrismObject<T>>ProvisioningService. searchObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, Task task, OperationResult parentResult)
Search for objects.<T extends ObjectType>
SearchResultMetadataProvisioningService. searchObjectsIterative(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ResultHandler<T> handler, Task task, OperationResult parentResult)
Search for objects iteratively.void
ResourceOperationDescription. setResult(OperationResult result)
void
LiveSyncTokenStorage. setToken(LiveSyncToken token, OperationResult result)
Stores the value of the token.@NotNull SynchronizationResult
ProvisioningService. synchronize(@NotNull ResourceShadowDiscriminator shadowCoordinates, LiveSyncOptions options, @NotNull LiveSyncTokenStorage tokenStorage, @NotNull LiveSyncEventHandler handler, @NotNull Task task, @NotNull OperationResult parentResult)
Collect external changes on a resource and call the business logic with the accumulated change data. -
Uses of OperationResult in com.evolveum.midpoint.repo.api
Methods in com.evolveum.midpoint.repo.api with parameters of type OperationResult Modifier and Type Method Description <T extends ObjectType>
voidRepositoryService. addDiagnosticInformation(Class<T> type, String oid, DiagnosticInformationType information, OperationResult parentResult)
Adds a diagnostic information, honoring cleanup rules (deleting obsolete records).<T extends ObjectType>
@NotNull StringRepositoryService. addObject(@NotNull PrismObject<T> object, RepoAddOptions options, @NotNull OperationResult parentResult)
Add new object.long
RepositoryService. advanceSequence(String oid, OperationResult parentResult)
This operation is guaranteed to be atomic.<T extends Containerable>
intRepositoryService. countContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
<T extends ObjectType>
intRepositoryService. countObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
Returns the number of objects that match specified criteria.<T extends ObjectType>
@NotNull DeleteObjectResultRepositoryService. deleteObject(Class<T> type, String oid, OperationResult parentResult)
Deletes object with specified OID.void
SystemConfigurationChangeDispatcher. dispatch(boolean ignoreVersion, boolean allowNotFound, OperationResult result)
Dispatches information on system configuration object change.RepositoryQueryDiagResponse
RepositoryService. executeQueryDiagnostics(RepositoryQueryDiagRequest request, OperationResult result)
A bit of hack - execute arbitrary query, e.g.<O extends ObjectType>
@NotNull PrismObject<O>RepositoryService. getObject(Class<O> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
Returns object for provided OID.<T extends ObjectType>
StringRepositoryService. getVersion(Class<T> type, String oid, OperationResult parentResult)
Returns object version for provided OID.boolean
RepositoryService. hasConflict(ConflictWatcher watcher, OperationResult result)
<T extends ObjectType>
@NotNull ModifyObjectResult<T>RepositoryService. modifyObject(@NotNull Class<T> type, @NotNull String oid, @NotNull Collection<? extends ItemDelta<?,?>> modifications, @NotNull OperationResult parentResult)
Modifies object using relative change description.<T extends ObjectType>
@NotNull ModifyObjectResult<T>RepositoryService. modifyObject(@NotNull Class<T> type, @NotNull String oid, @NotNull Collection<? extends ItemDelta<?,?>> modifications, @Nullable ModificationPrecondition<T> precondition, @Nullable RepoModifyOptions options, @NotNull OperationResult parentResult)
<T extends ObjectType>
@NotNull ModifyObjectResult<T>RepositoryService. modifyObject(@NotNull Class<T> type, @NotNull String oid, @NotNull Collection<? extends ItemDelta<?,?>> modifications, @Nullable RepoModifyOptions options, @NotNull OperationResult parentResult)
default <T extends ObjectType>
@NotNull ModifyObjectResult<T>RepositoryService. modifyObjectDynamically(@NotNull Class<T> type, @NotNull String oid, @Nullable Collection<SelectorOptions<GetOperationOptions>> getOptions, @NotNull RepositoryService.ModificationsSupplier<T> modificationsSupplier, @Nullable RepoModifyOptions modifyOptions, @NotNull OperationResult parentResult)
Modifies an object dynamically.void
RepositoryService. postInit(OperationResult result)
void
RepositoryService. repositorySelfTest(OperationResult parentResult)
Runs a short, non-destructive repository self test.OptimisticLockingRunner.Builder<O,R>
OptimisticLockingRunner.Builder. result(OperationResult result)
void
RepositoryService. returnUnusedValuesToSequence(String oid, Collection<Long> unusedValues, OperationResult parentResult)
The sequence may ignore the values, e.g.<T extends Containerable>
SearchResultList<T>RepositoryService. searchContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
Search for "sub-object" structures, i.e.<T extends ObjectType>
@NotNull SearchResultList<PrismObject<T>>RepositoryService. searchObjects(@NotNull Class<T> type, @Nullable ObjectQuery query, @Nullable Collection<SelectorOptions<GetOperationOptions>> options, @NotNull OperationResult parentResult)
Search for objects in the repository.<T extends ObjectType>
SearchResultMetadataRepositoryService. searchObjectsIterative(Class<T> type, ObjectQuery query, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> options, boolean strictlySequential, OperationResult parentResult)
Search for objects in the repository in an iterative fashion.<F extends FocusType>
PrismObject<F>RepositoryService. searchShadowOwner(String shadowOid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
Deprecated.TODO: we want to remove this in midScalevoid
RepositoryService. testOrgClosureConsistency(boolean repairIfNecessary, OperationResult testResult)
Checks a closure for consistency, repairing any problems found. -
Uses of OperationResult in com.evolveum.midpoint.repo.cache
Methods in com.evolveum.midpoint.repo.cache with parameters of type OperationResult Modifier and Type Method Description <T extends ObjectType>
voidRepositoryCache. addDiagnosticInformation(Class<T> type, String oid, DiagnosticInformationType information, OperationResult parentResult)
<T extends ObjectType>
@NotNull StringRepositoryCache. addObject(@NotNull PrismObject<T> object, RepoAddOptions options, @NotNull OperationResult parentResult)
long
RepositoryCache. advanceSequence(String oid, OperationResult parentResult)
<T extends Containerable>
intRepositoryCache. countContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
<T extends ObjectType>
intRepositoryCache. countObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
<T extends ObjectType>
@NotNull DeleteObjectResultRepositoryCache. deleteObject(Class<T> type, String oid, OperationResult parentResult)
RepositoryQueryDiagResponse
RepositoryCache. executeQueryDiagnostics(RepositoryQueryDiagRequest request, OperationResult parentResult)
<T extends ObjectType>
@NotNull PrismObject<T>RepositoryCache. getObject(Class<T> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
<T extends ObjectType>
StringRepositoryCache. getVersion(Class<T> type, String oid, OperationResult parentResult)
boolean
RepositoryCache. hasConflict(ConflictWatcher watcher, OperationResult result)
<T extends ObjectType>
@NotNull ModifyObjectResult<T>RepositoryCache. modifyObject(@NotNull Class<T> type, @NotNull String oid, @NotNull Collection<? extends ItemDelta<?,?>> modifications, @NotNull OperationResult parentResult)
<T extends ObjectType>
@NotNull ModifyObjectResult<T>RepositoryCache. modifyObject(@NotNull Class<T> type, @NotNull String oid, @NotNull Collection<? extends ItemDelta<?,?>> modifications, ModificationPrecondition<T> precondition, RepoModifyOptions options, @NotNull OperationResult parentResult)
<T extends ObjectType>
@NotNull ModifyObjectResult<T>RepositoryCache. modifyObject(@NotNull Class<T> type, @NotNull String oid, @NotNull Collection<? extends ItemDelta<?,?>> modifications, RepoModifyOptions options, @NotNull OperationResult parentResult)
<T extends ObjectType>
@NotNull ModifyObjectResult<T>RepositoryCache. modifyObjectDynamically(@NotNull Class<T> type, @NotNull String oid, @Nullable Collection<SelectorOptions<GetOperationOptions>> getOptions, @NotNull RepositoryService.ModificationsSupplier<T> modificationsSupplier, @Nullable RepoModifyOptions modifyOptions, @NotNull OperationResult parentResult)
void
RepositoryCache. postInit(OperationResult result)
void
RepositoryCache. repositorySelfTest(OperationResult parentResult)
void
RepositoryCache. returnUnusedValuesToSequence(String oid, Collection<Long> unusedValues, OperationResult parentResult)
<T extends Containerable>
SearchResultList<T>RepositoryCache. searchContainers(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
<T extends ObjectType>
@NotNull SearchResultList<PrismObject<T>>RepositoryCache. searchObjects(@NotNull Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, @NotNull OperationResult parentResult)
<T extends ObjectType>
SearchResultMetadataRepositoryCache. searchObjectsIterative(Class<T> type, ObjectQuery query, ResultHandler<T> handler, Collection<SelectorOptions<GetOperationOptions>> options, boolean strictlySequential, OperationResult parentResult)
<F extends FocusType>
PrismObject<F>RepositoryCache. searchShadowOwner(String shadowOid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
void
RepositoryCache. testOrgClosureConsistency(boolean repairIfNecessary, OperationResult testResult)
-
Uses of OperationResult in com.evolveum.midpoint.repo.cache.handlers
-
Uses of OperationResult in com.evolveum.midpoint.repo.cache.invalidation
Methods in com.evolveum.midpoint.repo.cache.invalidation with parameters of type OperationResult Modifier and Type Method Description <T extends ObjectType>
voidInvalidator. invalidateCacheEntries(Class<T> type, String oid, Object additionalInfo, OperationResult parentResult)
-
Uses of OperationResult in com.evolveum.midpoint.repo.common
-
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity
Methods in com.evolveum.midpoint.repo.common.activity with parameters of type OperationResult Modifier and Type Method Description AbstractActivityRun<WD,AH,?>
ActivityRunSupplier. createActivityRun(@NotNull ActivityRunInstantiationContext<WD,AH> context, @NotNull OperationResult result)
AbstractActivityRun<?,?,?>
Activity. createRun(ActivityBasedTaskRun taskRun, OperationResult result)
void
TaskActivityManager. deleteActivityStateAndWorkers(@NotNull String rootTaskOid, boolean deleteWorkers, long subtasksWaitTime, OperationResult parentResult)
TODO somehow unify with TaskStatePurgerTreeNode<ActivityPerformanceInformation>
TaskActivityManager. getPerformanceInformation(String rootTaskOid, OperationResult result)
ActivityProgressInformation
TaskActivityManager. getProgressInformation(@NotNull String rootTaskOid, @NotNull ActivityProgressInformationBuilder.InformationSource source, @NotNull OperationResult result)
ActivityProgressInformation
TaskActivityManager. getProgressInformationFromTaskTree(String rootTaskOid, OperationResult result)
Assumes that the whole task tree is loaded.void
ActivityTreeStateOverview. markTaskStalled(@NotNull String taskOid, long stalledSince, OperationResult result)
Finds all occurrences of the task in "running" activities and marks them as stalled.void
ActivityTreeStateOverview. purge(OperationResult result)
void
ActivityTree. purgeState(ActivityBasedTaskRun taskRun, OperationResult result)
Purges the activity state (usually before new realization).@NotNull Map<ActivityPath,WorkersReconciliationResultType>
TaskActivityManager. reconcileWorkers(@NotNull String rootTaskOid, @NotNull OperationResult parentResult)
Note that we reconcile only workers for distributed activities that already have their state.void
ActivityTreeStateOverview. recordChildren(@NotNull LocalActivityRun<?,?,?> run, List<Activity<?,?>> children, @NotNull OperationResult result)
We need to know about all the children to be able to display the progress correctly.void
ActivityTreeStateOverview. recordDistributingActivityRealizationFinish(@NotNull DistributingActivityRun<?,?,?> run, @NotNull ActivityRunResult runResult, @NotNull OperationResult result)
Records the finish of distributing (coordinator) activity realization (NOT run).void
ActivityTreeStateOverview. recordDistributingActivityRealizationStart(@NotNull DistributingActivityRun<?,?,?> run, @NotNull OperationResult result)
Records the start of distributing (coordinator) activity realization (NOT run).void
ActivityTreeStateOverview. recordLocalRunFinish(@NotNull LocalActivityRun<?,?,?> run, @Nullable ActivityRunResult runResult, @NotNull OperationResult result)
Records the finish of a local activity run.void
ActivityTreeStateOverview. recordLocalRunStart(@NotNull LocalActivityRun<?,?,?> run, @NotNull OperationResult result)
Records the start of local activity run in the tree overview.void
ActivityTreeStateOverview. recordTaskDead(@NotNull Task task, @NotNull OperationResult result)
Called when a task was found dead.void
PreRunnable. run(@NotNull EmbeddedActivity<WD,AH> activity, @NotNull RunningTask runningTask, @NotNull OperationResult result)
void
ActivityTreeStateOverview. updateBucketAndItemProgress(@NotNull LocalActivityRun<?,?,?> run, @NotNull BucketProgressOverviewType bucketProgress, @NotNull OperationResult result)
Updates bucket (and item) progress information in the activity tree.void
ActivityTreeStateOverview. updateItemProgressIfTimePassed(@NotNull LocalActivityRun<?,?,?> run, long interval, OperationResult result)
Assumes that the activity run is still in progress.void
ActivityTree. updateRealizationState(ActivityTreeRealizationStateType value, OperationResult result)
void
ActivityTreeStateOverview. updateRealizationState(ActivityTreeRealizationStateType value, OperationResult result)
Updates the realization state (including writing to the repository). -
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity.handlers
Methods in com.evolveum.midpoint.repo.common.activity.handlers with parameters of type OperationResult Modifier and Type Method Description AbstractActivityRun<NoOpActivityHandler.MyWorkDefinition,NoOpActivityHandler,?>
NoOpActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<NoOpActivityHandler.MyWorkDefinition,NoOpActivityHandler> context, @NotNull OperationResult result)
@NotNull AbstractActivityRun<CompositeWorkDefinition,PureCompositeActivityHandler,?>
PureCompositeActivityHandler. createActivityRun(@NotNull ActivityRunInstantiationContext<CompositeWorkDefinition,PureCompositeActivityHandler> context, @NotNull OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity.run
Methods in com.evolveum.midpoint.repo.common.activity.run with parameters of type OperationResult Modifier and Type Method Description default void
IterativeActivityRunSpecifics. afterBucketProcessing(OperationResult result)
Called after bucket is processed.default void
IterativeActivityRunSpecifics. afterRun(OperationResult opResult)
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 opResult)
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.@NotNull SearchSpecification<?>
AdvancedActivityRunSupport. createSearchSpecificationFromResourceObjectSetSpec(@NotNull ResourceObjectSetSpecificationImpl resourceObjectSetSpecification, @NotNull RunningTask task, OperationResult result)
protected @NotNull ActivityState
AbstractActivityRun. determineActivityStateForCounters(@NotNull OperationResult result)
protected @NotNull ActivityState
IterativeActivityRun. determineActivityStateForCounters(@NotNull OperationResult result)
@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 @NotNull Task
IterativeActivityRun. getRootTask(OperationResult result)
ErrorHandlingStrategyExecutor.FollowUpAction
IterativeActivityRun. handleError(@NotNull OperationResultStatus status, @NotNull Throwable exception, ItemProcessingRequest<?> request, OperationResult result)
Map<String,Integer>
AbstractActivityRun. incrementCounters(@NotNull ExecutionSupport.CountersGroup counterGroup, @NotNull Collection<String> countersIdentifiers, @NotNull OperationResult result)
protected abstract boolean
IterativeActivityRun. isInRepository(OperationResult result)
Do we execute over items in repository? (Maybe the name should be changed.)protected boolean
PlainIterativeActivityRun. isInRepository(OperationResult result)
We simply do not support repository-related item-counting options in plain-iterative activity runs.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
PlainIterativeActivityRun. prepareItemSourceForCurrentBucket(OperationResult result)
protected void
SearchBasedActivityRun. prepareItemSourceForCurrentBucket(OperationResult result)
protected boolean
SearchBasedActivityRun. processError(C item, @NotNull OperationResultType errorFetchResult, RunningTask workerTask, 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)
@NotNull ActivityRunResult
AbstractActivityRun. run(OperationResult result)
Runs the activity.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
DistributingActivityRun. runInternal(OperationResult result)
protected @NotNull ActivityRunResult
LocalActivityRun. 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)
void
LocalActivityRun. updateItemProgressInTreeOverviewIfTimePassed(OperationResult result)
Updates item progress in the tree overview.void
IterativeActivityRun. updateStatistics(boolean updateThreadLocalStatistics, OperationResult result)
Updates statistics in the coordinator task (including TL if it's safe to do so).default ActivityState
IterativeActivityRunSpecifics. useOtherActivityStateForCounters(@NotNull OperationResult result)
Should we use activity state other than the state of the current activity when keeping the counters (e.g. -
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity.run.buckets
Methods in com.evolveum.midpoint.repo.common.activity.run.buckets with parameters of type OperationResult Modifier and Type Method Description void
BucketingManager. completeWorkBucket(@NotNull String coordinatorTaskOid, @Nullable String workerTaskOid, @NotNull ActivityPath activityPath, int sequentialNumber, @Nullable ActivityBucketManagementStatistics statistics, @Nullable Consumer<BucketProgressOverviewType> bucketProgressConsumer, @NotNull OperationResult result)
Marks a work bucket as complete.void
CompleteBucketOperation. execute(OperationResult result)
WorkBucketType
GetBucketOperation. execute(OperationResult result)
void
ReleaseBucketsOperation. execute(OperationResult result)
WorkBucketType
BucketingManager. getWorkBucket(@NotNull String coordinatorTaskOid, @Nullable String workerTaskOid, @NotNull ActivityPath activityPath, @Nullable GetBucketOperationOptions options, ActivityBucketManagementStatistics statistics, @NotNull OperationResult result)
Obtains work bucket.void
BucketingManager. releaseAllWorkBucketsFromWorker(@NotNull String coordinatorTaskOid, @NotNull String workerTaskOid, @NotNull ActivityPath activityPath, ActivityBucketManagementStatistics statistics, OperationResult result)
Releases all work buckets from a suspended worker.void
BucketingManager. releaseWorkBucket(@NotNull String coordinatorTaskOid, @NotNull String workerTaskOid, @NotNull ActivityPath activityPath, int sequentialNumber, ActivityBucketManagementStatistics statistics, OperationResult result)
Releases work bucket. -
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity.run.distribution
Methods in com.evolveum.midpoint.repo.common.activity.run.distribution with parameters of type OperationResult Modifier and Type Method Description @NotNull WorkersReconciliationResultType
WorkersReconciliation. execute(OperationResult parentResult)
Executes the workers reconciliation.@NotNull List<Task>
WorkersReconciliation. getCurrentWorkers(OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity.run.processing
Methods in com.evolveum.midpoint.repo.common.activity.run.processing with parameters of type OperationResult Modifier and Type Method Description void
ContainerableProcessingRequest. acknowledge(boolean release, OperationResult result)
void
GenericProcessingRequest. acknowledge(boolean release, OperationResult result)
void
ProcessingCoordinator. finishProcessing(OperationResult result)
Tells the workers that they should not expect any more work and waits for their completion (which can occur either because of queue is empty or because canRun is false).C
ItemPreprocessor. preprocess(C originalItem, Task task, OperationResult result)
Pre-processes the item.boolean
ItemProcessingRequest. process(RunningTask workerTask, OperationResult result)
boolean
ItemProcessor. processItem(ItemProcessingRequest<I> request, RunningTask workerTask, OperationResult parentResult)
Does the "pure" processing, free of any reporting, error handling, tracing, and similar issues.boolean
ProcessingCoordinator. submit(ItemProcessingRequest<I> request, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity.run.reports
Methods in com.evolveum.midpoint.repo.common.activity.run.reports with parameters of type OperationResult Modifier and Type Method Description void
InternalOperationsReport. add(@NotNull ItemProcessingRequest<?> request, @NotNull WorkBucketType bucket, @NotNull OperationResult reportedResult, @NotNull RunningTask task, @NotNull OperationResult result)
static @NotNull SimpleReportReader
SimpleReportReader. createForLocalReportData(@NotNull String reportDataOid, @NotNull List<String> columns, @NotNull CommonTaskBeans beans, @NotNull OperationResult result)
void
ConnIdOperationsReport. flush(@NotNull RunningTask task, @NotNull OperationResult result)
void
BucketsReport. recordBucketCompleted(@NotNull BucketProcessingRecordType record, @NotNull RunningTask task, @NotNull OperationResult result)
Writes a line about bucket that was just completed.void
ItemsReport. recordItemProcessed(@NotNull ItemProcessingRecordType record, @NotNull RunningTask task, @NotNull OperationResult result)
Records processing of an item to the report. -
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity.run.sources
Methods in com.evolveum.midpoint.repo.common.activity.run.sources with parameters of type OperationResult 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 OperationResult in com.evolveum.midpoint.repo.common.activity.run.state
Methods in com.evolveum.midpoint.repo.common.activity.run.state with parameters of type OperationResult Modifier and Type Method Description void
ActivityState. flushPendingTaskModifications(OperationResult result)
Flushes pending task modifications.void
ActivityState. flushPendingTaskModificationsChecked(OperationResult result)
Flushes pending task modifications.static @NotNull ActivityState
ActivityState. getActivityStateDownwards(@NotNull ActivityPath activityPath, @NotNull Task task, @NotNull QName workStateTypeName, @NotNull CommonTaskBeans beans, OperationResult result)
Gets the state of the given activity, starting from the `task` and going downwards.static @NotNull ActivityState
ActivityState. getActivityStateUpwards(@NotNull ActivityPath activityPath, @NotNull Task task, @NotNull QName workStateTypeName, @NotNull CommonTaskBeans beans, OperationResult result)
Returns activity state for given path, crawling from the current task upwards.@NotNull ActivityState
ActivityState. getCurrentActivityStateInParentTask(boolean fresh, @NotNull QName workStateTypeName, @Nullable OperationResult result)
Returns the state of the current activity in the parent task.@NotNull ActivityState
ActivityState. getParentActivityState(@NotNull QName workStateTypeName, OperationResult result)
Returns the state of the _parent activity_, e.g.Map<String,Integer>
ActivityState. incrementCounters(ExecutionSupport.CountersGroup counterGroup, @NotNull Collection<String> countersIdentifiers, @NotNull OperationResult result)
void
CurrentActivityState. initialize(OperationResult result)
Puts the activity state into operation: 1.void
ActivityTreePurger. purge(OperationResult result)
Purges state (including task-level stats) from current task and its subtasks. -
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity.run.state.counters
Methods in com.evolveum.midpoint.repo.common.activity.run.state.counters with parameters of type OperationResult Modifier and Type Method Description Map<String,Integer>
CountersIncrementOperation. execute(OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.repo.common.activity.run.task
Methods in com.evolveum.midpoint.repo.common.activity.run.task with parameters of type OperationResult Modifier and Type Method Description void
ActivityBasedTaskHandler. onNodeDown(@NotNull TaskType taskBean, @NotNull OperationResult result)
void
ActivityBasedTaskHandler. onTaskStalled(@NotNull RunningTask task, long stalledSince, @NotNull OperationResult result)
@NotNull TaskRunResult
ActivityBasedTaskRun. run(OperationResult result)
@NotNull TaskRunResult
TaskRun. run(OperationResult result)
Passes control to the run object. -
Uses of OperationResult in com.evolveum.midpoint.repo.common.commandline
Methods in com.evolveum.midpoint.repo.common.commandline with parameters of type OperationResult Modifier and Type Method Description void
CommandLineScriptExecutor. executeScript(CommandLineScriptType scriptType, VariablesMap variables, String shortDesc, Task task, OperationResult parentResult)
Constructors in com.evolveum.midpoint.repo.common.commandline with parameters of type OperationResult Constructor Description CommandLineRunner(String code, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.repo.common.expression
Methods in com.evolveum.midpoint.repo.common.expression with parameters of type OperationResult Modifier and Type Method Description @NotNull ValueMetadataType
ConsolidationValueMetadataComputer. compute(@NotNull List<ValueMetadataType> nonNegativeValues, @NotNull List<ValueMetadataType> existingValues, @NotNull OperationResult result)
ValueMetadataType
TransformationValueMetadataComputer. compute(@NotNull List<PrismValue> inputValues, @NotNull OperationResult result)
static <V extends PrismValue,F extends FocusType>
Collection<V>ExpressionUtil. computeTargetValues(VariableBindingDefinitionType target, TypedValue defaultTargetContext, VariablesMap variables, ObjectResolver objectResolver, String contextDesc, PrismContext prismContext, Task task, OperationResult result)
static TypedValue<?>
ExpressionUtil. convertVariableValue(TypedValue<?> originalTypedValue, String variableName, ObjectResolver objectResolver, String contextDescription, ObjectVariableModeType objectVariableMode, @NotNull ValueVariableModeType valueVariableMode, PrismContext prismContext, Task task, OperationResult result)
static Expression<PrismPropertyValue<Boolean>,PrismPropertyDefinition<Boolean>>
ExpressionUtil. createCondition(ExpressionType conditionExpressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>ExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
Creates an evaluator.PrismValueDeltaSetTriple<V>
Expression. evaluate(ExpressionEvaluationContext context, OperationResult result)
PrismValueDeltaSetTriple<V>
ExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult result)
Executes the evaluation in a given context.static PrismPropertyValue<Boolean>
ExpressionUtil. evaluateCondition(VariablesMap variables, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static boolean
ExpressionUtil. evaluateConditionDefaultFalse(VariablesMap variables, ExpressionType expressionBean, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static boolean
ExpressionUtil. evaluateConditionDefaultTrue(VariablesMap variables, ExpressionType expressionBean, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static <V extends PrismValue,D extends ItemDefinition>
VExpressionUtil. evaluateExpression(VariablesMap variables, D outputDefinition, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static <V extends PrismValue,D extends ItemDefinition>
VExpressionUtil. evaluateExpression(Collection<Source<?,?>> sources, VariablesMap variables, D outputDefinition, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static <V extends PrismValue,D extends ItemDefinition>
Collection<V>ExpressionUtil. evaluateExpressionNative(Collection<Source<?,?>> sources, VariablesMap variables, D outputDefinition, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
static ObjectFilter
ExpressionUtil. evaluateFilterExpressions(ObjectFilter origFilter, VariablesMap variables, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, PrismContext prismContext, String shortDesc, Task task, OperationResult result)
static ObjectQuery
ExpressionUtil. evaluateQueryExpressions(ObjectQuery origQuery, VariablesMap variables, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, PrismContext prismContext, String shortDesc, Task task, OperationResult result)
static Collection<String>
ExpressionUtil. evaluateStringExpression(VariablesMap variables, PrismContext prismContext, ExpressionType expressionType, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String shortDesc, Task task, OperationResult parentResult)
ValuePolicyType
ValuePolicySupplier. get(OperationResult result)
Returns appropriate value policy.<V extends PrismValue,D extends ItemDefinition>
Expression<V,D>ExpressionFactory. makeExpression(ExpressionType expressionType, D outputDefinition, ExpressionProfile expressionProfile, String shortDesc, Task task, OperationResult result)
<T> Expression<PrismPropertyValue<T>,PrismPropertyDefinition<T>>
ExpressionFactory. makePropertyExpression(ExpressionType expressionType, QName outputPropertyName, ExpressionProfile expressionProfile, String shortDesc, Task task, OperationResult result)
void
Expression. parse(ExpressionFactory factory, String contextDescription, Task task, OperationResult result)
static TypedValue<?>
ExpressionUtil. resolvePathGetTypedValue(ItemPath path, VariablesMap variables, boolean normalizeValuesToDelete, TypedValue<?> defaultContext, ObjectResolver objectResolver, PrismContext prismContext, String shortDesc, Task task, OperationResult result)
static Object
ExpressionUtil. resolvePathGetValue(ItemPath path, VariablesMap variables, boolean normalizeValuesToDelete, TypedValue defaultContext, ObjectResolver objectResolver, PrismContext prismContext, String shortDesc, Task task, OperationResult result)
Constructors in com.evolveum.midpoint.repo.common.expression with parameters of type OperationResult Constructor Description ValueSetDefinition(ValueSetDefinitionType setDefinitionBean, D itemDefinition, PrismContainerDefinition<ValueMetadataType> valueMetadataDefinition, ExpressionProfile expressionProfile, String additionalVariableName, MappingSpecificationType mappingSpecification, String localContextDescription, String shortDesc, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.repo.common.expression.evaluator
Methods in com.evolveum.midpoint.repo.common.expression.evaluator with parameters of type OperationResult Modifier and Type Method Description void
AbstractExpressionEvaluator. applyValueMetadata(PrismValueDeltaSetTriple<V> triple, ExpressionEvaluationContext context, OperationResult result)
Applies value metadata to the triple to-be-outputted.<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>AsIsExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
<V extends PrismValue,D extends ItemDefinition>
ExpressionEvaluator<V>LiteralExpressionEvaluatorFactory. createEvaluator(Collection<javax.xml.bind.JAXBElement<?>> evaluatorElements, D outputDefinition, ExpressionProfile expressionProfile, ExpressionFactory expressionFactory, String contextDescription, Task task, OperationResult result)
PrismValueDeltaSetTriple<V>
AsIsExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult result)
PrismValueDeltaSetTriple<V>
LiteralExpressionEvaluator. evaluate(ExpressionEvaluationContext context, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.repo.common.query
Constructors in com.evolveum.midpoint.repo.common.query with parameters of type OperationResult Constructor Description LinkedSelectorToFilterTranslator(@Nullable LinkedObjectSelectorType selector, @NotNull PrismReferenceValue targetObjectRef, @NotNull String contextDescription, @NotNull PrismContext prismContext, @NotNull ExpressionFactory expressionFactory, @NotNull Task task, @NotNull OperationResult result)
SelectorToFilterTranslator(@NotNull ObjectSelectorType selector, @NotNull Class<? extends ObjectType> targetType, @NotNull String contextDescription, @NotNull PrismContext prismContext, @NotNull ExpressionFactory expressionFactory, @NotNull Task task, @NotNull OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.repo.common.util
Methods in com.evolveum.midpoint.repo.common.util with parameters of type OperationResult Modifier and Type Method Description static @NotNull Throwable
RepoCommonUtils. getResultException(@NotNull OperationResult result)
static Throwable
RepoCommonUtils. getResultExceptionIfExists(OperationResult result)
This method tries to determine an exception from an operation result.static void
RepoCommonUtils. processErrorCriticality(Object object, CriticalityType criticality, Throwable e, OperationResult result)
void
OperationExecutionRecorderForTasks. recordOperationExecution(@NotNull OperationExecutionRecorderForTasks.Target target, @NotNull RunningTask task, @NotNull ActivityPath activityPath, @NotNull OperationResult resultToRecord, @NotNull OperationResult result)
Writes an operation execution record.static void
RepoCommonUtils. throwException(Throwable e, OperationResult result)
<O extends ObjectType>
voidOperationExecutionWriter. write(OperationExecutionWriter.Request<O> request, OperationResult parentResult)
Writes operation execution record and deletes the one(s) that have to be deleted, according to the current cleanup policy. -
Uses of OperationResult in com.evolveum.midpoint.repo.sqlbase
Methods in com.evolveum.midpoint.repo.sqlbase with parameters of type OperationResult Modifier and Type Method Description void
SystemConfigurationChangeDispatcherImpl. dispatch(boolean ignoreVersion, boolean allowNotFound, OperationResult result)
static <O extends ObjectType>
voidOperationLogger. logAdd(PrismObject<O> object, RepoAddOptions options, OperationResult subResult)
static <O extends ObjectType>
voidOperationLogger. logDelete(Class<O> type, String oid, OperationResult subResult)
static <O extends ObjectType>
voidOperationLogger. logGetObject(Class<O> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, PrismObject<O> object, OperationResult subResult)
static <O extends ObjectType>
voidOperationLogger. logModify(Class<O> type, String oid, Collection<? extends ItemDelta<?,?>> modifications, ModificationPrecondition<O> precondition, RepoModifyOptions options, OperationResult subResult)
static <O extends ObjectType>
voidOperationLogger. logModifyDynamically(Class<O> type, String oid, ModifyObjectResult<?> modifyObjectResult, RepoModifyOptions modifyOptions, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.report.api
-
Uses of OperationResult in com.evolveum.midpoint.schema
Methods in com.evolveum.midpoint.schema that return OperationResult Modifier and Type Method Description @Nullable OperationResult
ObjectDeltaOperation. getExecutionResult()
OperationResult
RefreshShadowOperation. getRefreshResult()
Methods in com.evolveum.midpoint.schema with parameters of type OperationResult Modifier and Type Method Description void
AcknowledgementSink. acknowledge(boolean release, OperationResult result)
Informs the receiver that a particular item was processed (successfully or not).Exception
RefreshShadowOperation. getCause(OperationResult result)
boolean
AbstractSummarizingResultHandler. handle(PrismObject<T> object, OperationResult parentResult)
boolean
ContainerableResultHandler. handle(C value, OperationResult parentResult)
Handle a single value.boolean
ResultHandler. handle(PrismObject<T> object, OperationResult parentResult)
Handle a single result.protected abstract boolean
AbstractSummarizingResultHandler. handleObject(PrismObject<T> object, OperationResult parentResult)
Handle a single result.void
ObjectDeltaOperation. setExecutionResult(@Nullable OperationResult executionResult)
void
RefreshShadowOperation. setRefreshResult(OperationResult refreshResult)
Constructors in com.evolveum.midpoint.schema with parameters of type OperationResult Constructor Description ObjectDeltaOperation(ObjectDelta<O> objectDelta, @Nullable OperationResult executionResult)
-
Uses of OperationResult in com.evolveum.midpoint.schema.result
Methods in com.evolveum.midpoint.schema.result that return types with arguments of type OperationResult Modifier and Type Method Description List<OperationResult>
OperationResult. findSubresults(String operation)
Finds given operation among subresults of the current op.@NotNull List<OperationResult>
OperationResult. findSubresultsDeeply(@NotNull String operation)
Finds given operation in a subtree rooted by the current op.Stream<OperationResult>
OperationResult. getResultStream()
@NotNull List<OperationResult>
OperationResult. getSubresults()
Method returns list of operation subresultsOperationResult
.Methods in com.evolveum.midpoint.schema.result with parameters of type OperationResult Modifier and Type Method Description void
OperationResult. addSubresult(OperationResult subresult)
static OperationResult
OperationResult. createSubResultOrNewResult(OperationResult parentResult, String operation)
static OperationResult
OperationResult. keepRootOnly(OperationResult result)
OperationResultStatus
AsynchronousOperationQueryable. queryOperationStatus(String asynchronousOperationReference, OperationResult parentResult)
static void
OperationResultRunner. run(OperationResult result, Runnable runnable)
void
AsynchronousOperationResult. setOperationResult(OperationResult operationResult)
static AsynchronousOperationResult
AsynchronousOperationResult. wrap(OperationResult result)
static <T> AsynchronousOperationReturnValue<T>
AsynchronousOperationReturnValue. wrap(T returnValue, OperationResult result)
Method parameters in com.evolveum.midpoint.schema.result with type arguments of type OperationResult Modifier and Type Method Description void
OperationResult. accept(Visitor<OperationResult> visitor)
Constructor parameters in com.evolveum.midpoint.schema.result with type arguments of type OperationResult Constructor Description OperationResult(String operation, Map<String,Collection<String>> params, OperationResultStatus status, long token, String messageCode, String message, LocalizableMessage userFriendlyMessage, Throwable cause, List<OperationResult> subresults)
OperationResult(String operation, Map<String,Collection<String>> params, Map<String,Collection<String>> context, Map<String,Collection<String>> returns, OperationResultStatus status, long token, String messageCode, String message, LocalizableMessage userFriendlyMessage, Throwable cause, List<OperationResult> subresults)
-
Uses of OperationResult in com.evolveum.midpoint.schema.statistics
Methods in com.evolveum.midpoint.schema.statistics that return OperationResult Modifier and Type Method Description OperationResult
ItemProcessing. getResult()
-
Uses of OperationResult in com.evolveum.midpoint.schema.util
Methods in com.evolveum.midpoint.schema.util with parameters of type OperationResult Modifier and Type Method Description <O extends ObjectType>
PrismObject<O>SimpleObjectResolver. getObject(Class<O> type, String oid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
static void
ObjectTypeUtil. recordFetchError(PrismObject<? extends ObjectType> object, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.security.api
Methods in com.evolveum.midpoint.security.api with parameters of type OperationResult Modifier and Type Method Description MidPointPrincipal
MidPointPrincipalManager. getPrincipal(PrismObject<? extends FocusType> focus, AuthorizationTransformer authorizationTransformer, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.security.enforcer.api
Methods in com.evolveum.midpoint.security.enforcer.api with parameters of type OperationResult Modifier and Type Method Description <O extends ObjectType,T extends ObjectType>
voidSecurityEnforcer. authorize(String operationUrl, AuthorizationPhaseType phase, AuthorizationParameters<O,T> params, OwnerResolver ownerResolver, Task task, OperationResult result)
Evaluates authorization: simply returns if the currently logged it user is authorized for a specified action.default void
SecurityEnforcer. authorizeAll(Task task, OperationResult result)
<T extends ObjectType,O extends ObjectType>
booleanSecurityEnforcer. canSearch(String[] operationUrls, AuthorizationPhaseType phase, Class<T> searchResultType, PrismObject<O> object, boolean includeSpecial, ObjectFilter filter, Task task, OperationResult result)
Question: does object make any sense here? E.g.<O extends ObjectType>
ObjectSecurityConstraintsSecurityEnforcer. compileSecurityConstraints(PrismObject<O> object, OwnerResolver ownerResolver, Task task, OperationResult result)
<T extends ObjectType,O extends ObjectType,F>
FSecurityEnforcer. computeSecurityFilter(MidPointPrincipal principal, String[] operationUrls, AuthorizationPhaseType phase, Class<T> searchResultType, PrismObject<O> object, ObjectFilter origFilter, String limitAuthorizationAction, List<OrderConstraintsType> paramOrderConstraints, FilterGizmo<F> gizmo, Task task, OperationResult result)
<F extends FocusType>
MidPointPrincipalSecurityEnforcer. createDonorPrincipal(MidPointPrincipal attorneyPrincipal, String attorneyAuthorizationAction, PrismObject<F> donor, Task task, OperationResult result)
<O extends ObjectType,T extends ObjectType>
AccessDecisionSecurityEnforcer. decideAccess(MidPointPrincipal principal, List<String> requiredActions, AuthorizationParameters<O,T> params, Task task, OperationResult result)
Simple access control decision similar to that used by spring security.AccessDecision
SecurityEnforcer. decideAccess(MidPointPrincipal principal, List<String> requiredActions, Task task, OperationResult result)
Simple access control decision similar to that used by spring security.<O extends ObjectType,T extends ObjectType>
voidSecurityEnforcer. failAuthorization(String operationUrl, AuthorizationPhaseType phase, AuthorizationParameters<O,T> params, OperationResult result)
Produces authorization error with proper message and logs it using proper logger.<O extends ObjectType,R extends AbstractRoleType>
ItemSecurityConstraintsSecurityEnforcer. getAllowedRequestAssignmentItems(MidPointPrincipal midPointPrincipal, String operationUrl, PrismObject<O> object, PrismObject<R> target, OwnerResolver ownerResolver, Task task, OperationResult result)
Returns decisions for individual items for "assign" authorization.<O extends ObjectType,T extends ObjectType>
booleanSecurityEnforcer. isAuthorized(String operationUrl, AuthorizationPhaseType phase, AuthorizationParameters<O,T> params, OwnerResolver ownerResolver, Task task, OperationResult result)
Returns true if the currently logged-in user is authorized for specified action, returns false otherwise.<T extends ObjectType,O extends ObjectType>
ObjectFilterSecurityEnforcer. preProcessObjectFilter(String[] operationUrls, AuthorizationPhaseType phase, Class<T> searchResultType, PrismObject<O> object, ObjectFilter origFilter, String limitAuthorizationAction, List<OrderConstraintsType> paramOrderConstraints, Task task, OperationResult result)
Returns a filter that applies to all the objects/targets for which the principal is authorized. -
Uses of OperationResult in com.evolveum.midpoint.task.api
Methods in com.evolveum.midpoint.task.api that return OperationResult Modifier and Type Method Description OperationResult
ClusterExecutionHelper. execute(@NotNull NodeType node, @NotNull ClusterExecutionHelper.ClientCode code, ClusterExecutionOptions options, String context, OperationResult parentResult)
Executes operation on a specified remote node (by node object).OperationResult
Task. getResult()
Returns a top-level OperationResult stored in the task.Methods in com.evolveum.midpoint.task.api with parameters of type OperationResult Modifier and Type Method Description String
TaskManager. addTask(PrismObject<TaskType> taskPrism, RepoAddOptions options, OperationResult parentResult)
default String
TaskManager. addTask(PrismObject<TaskType> taskPrism, OperationResult parentResult)
Add new task.void
Task. applyDeltasImmediate(Collection<ItemDelta<?,?>> itemDeltas, OperationResult result)
void
TaskManager. cleanupNodes(@NotNull DeadNodeCleanupPolicyType deadNodesPolicy, @NotNull Predicate<NodeType> selector, @NotNull RunningTask task, @NotNull OperationResult opResult)
Deletes dead nodes, i.e.void
TaskManager. cleanupTasks(@NotNull CleanupPolicyType closedTasksPolicy, @NotNull Predicate<TaskType> selector, @NotNull RunningTask task, @NotNull OperationResult opResult)
Deletes obsolete tasks, as specified in the policy.void
TaskManager. closeTask(String taskOid, OperationResult parentResult)
CompiledTracingProfile
Tracer. compileProfile(TracingProfileType profile, OperationResult result)
<T extends ObjectType>
intTaskManager. countObjects(Class<T> type, ObjectQuery query, OperationResult parentResult)
Counts the number of objects.@NotNull Task
TaskManager. createTaskInstance(PrismObject<TaskType> taskPrism, OperationResult parentResult)
Creates task instance from the XML task representation.@NotNull Task
TaskManager. createTaskInstance(PrismObject<TaskType> taskPrism, String operationName, OperationResult parentResult)
Creates task instance from the XML task representation.boolean
TaskManager. deactivateServiceThreads(long timeToWait, OperationResult parentResult)
Deactivates service threads (temporarily).void
TaskManager. deleteNode(String nodeOid, OperationResult result)
Deletes a node from the repository.void
TaskManager. deleteTask(String oid, OperationResult parentResult)
Deletes task with provided OID.void
TaskManager. deleteTaskTree(String rootTaskOid, OperationResult parentResult)
TODO@NotNull ClusterStateType
TaskManager. determineClusterState(OperationResult result)
Retrieves the cluster state needed e.g.static String
TaskDebugUtil. dumpTaskTree(Task rootTask, OperationResult result)
static String
TaskDebugUtil. dumpTaskTree(Task rootTask, Consumer<Task> consumer, OperationResult result)
void
ClusterExecutionHelper.ClientCode. execute(org.apache.cxf.jaxrs.client.WebClient client, NodeType node, OperationResult result)
void
ClusterExecutionHelper. execute(@NotNull ClusterExecutionHelper.ClientCode code, ClusterExecutionOptions options, String context, OperationResult parentResult)
Executes operation on all cluster nodes except for the current one.OperationResult
ClusterExecutionHelper. execute(@NotNull NodeType node, @NotNull ClusterExecutionHelper.ClientCode code, ClusterExecutionOptions options, String context, OperationResult parentResult)
Executes operation on a specified remote node (by node object).void
ClusterExecutionHelper. execute(@NotNull String nodeOid, @NotNull ClusterExecutionHelper.ClientCode code, ClusterExecutionOptions options, String context, OperationResult parentResult)
Executes operation on a specified remote node (by OID).PrismObject<NodeType>
ClusterExecutionHelper. executeWithFallback(@Nullable String nodeOid, @NotNull ClusterExecutionHelper.ClientCode code, ClusterExecutionOptions options, String context, OperationResult parentResult)
Executes operation on a specified remote node (by OID).void
Task. flushPendingModifications(OperationResult parentResult)
Saves modifications done against the in-memory version of the task into the repository.SchedulerInformationType
TaskManager. getLocalSchedulerInformation(OperationResult parentResult)
Returns the local scheduler information.Long
Task. getNextRunStartTime(OperationResult result)
Returns the time when the task should start again.Long
TaskManager. getNextRunStartTime(String oid, OperationResult result)
Gets next scheduled execution time for a given task.<T extends ObjectType>
PrismObject<T>Task. getObject(Class<T> type, OperationResult result)
Returns object that the task is associated with.<T extends ObjectType>
@NotNull PrismObject<T>TaskManager. getObject(Class<T> clazz, String oid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult result)
TODOPrismObject<? extends FocusType>
Task. getOwner(OperationResult result)
Returns object that owns this task.@NotNull ParentAndRoot
Task. getParentAndRoot(OperationResult result)
Looks for OID of the parent and the root of the task tree for this task.Task
Task. getParentTask(OperationResult result)
Returns the parent task, if any.List<Task>
Task. getPathToRootTask(OperationResult result)
Returns the path from this task to the task tree root.default @NotNull Task
Task. getRoot(OperationResult result)
Returns the root of the task tree for this task.String
TaskManager. getRunningTasksThreadsDump(OperationResult parentResult)
@NotNull Task
TaskManager. getTask(String taskOid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
TODO@NotNull Task
TaskManager. getTaskByIdentifier(String identifier, OperationResult parentResult)
Returns a task with a given identifier.@NotNull Task
TaskManager. getTaskPlain(String taskOid, OperationResult parentResult)
Returns a task with specified OID.@NotNull Task
TaskManager. getTaskPlain(String taskOid, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
Gets the task simply by fetching it from repository.String
TaskManager. getTaskThreadsDump(String taskOid, OperationResult parentResult)
default Task
TaskManager. getTaskTree(String rootTaskOid, OperationResult parentResult)
@NotNull PrismObject<TaskType>
TaskManager. getTaskTypeByIdentifier(String identifier, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
TODO@NotNull Task
TaskManager. getTaskWithResult(String taskOid, OperationResult parentResult)
Gets the task (as in getTaskPlain) but with its operation result.Map<String,Integer>
ExecutionSupport. incrementCounters(@NotNull ExecutionSupport.CountersGroup counterGroup, @NotNull Collection<String> countersIdentifiers, @NotNull OperationResult result)
Increments given counters related to the activity execution.void
RunningTaskStatisticsCollector. incrementLegacyProgressAndStoreStatisticsIfTimePassed(OperationResult result)
Convenience method: Increments the legacy progress.boolean
TaskManager. isOrphaned(PrismObject<TaskType> task, OperationResult parentResult)
List<Task>
Task. listDependents(OperationResult result)
Lists all explicit dependents, i.e.List<? extends Task>
Task. listPrerequisiteTasks(OperationResult parentResult)
List all prerequisite tasks for the current tasks, i.e.@NotNull List<? extends Task>
Task. listSubtasks(boolean persistentOnly, OperationResult parentResult)
default @NotNull List<? extends Task>
Task. listSubtasks(OperationResult parentResult)
Lists the (direct) subtasks of a given task.List<? extends Task>
Task. listSubtasksDeeply(boolean persistentOnly, OperationResult result)
Lists all tasks in subtasks tree.List<? extends Task>
Task. listSubtasksDeeply(OperationResult result)
List all the subtasks of a given task, i.e.void
TaskManager. markClosedTaskSuspended(String oid, OperationResult result)
Brings a closed task to suspended state.void
TaskManager. modifyTask(String oid, Collection<? extends ItemDelta<?,?>> modifications, OperationResult parentResult)
Modifies task using relative change 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.void
TaskDeletionListener. onTaskDelete(Task task, OperationResult result)
Called when a given task is to be deleted.void
TaskListener. onTaskFinish(Task task, TaskRunResult runResult, OperationResult result)
Called when a task execution routine (i.e.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.void
TaskListener. onTaskStart(Task task, OperationResult result)
Called when a task execution routine (i.e.void
TaskUpdatedListener. onTaskStatusUpdated(Task task, OperationResult result)
void
TaskListener. onTaskThreadFinish(Task task, OperationResult result)
Called when task's execution thread is finishingvoid
TaskListener. onTaskThreadStart(Task task, boolean isRecovering, OperationResult result)
Called when a task's execution thread is started.void
TaskManager. reactivateServiceThreads(OperationResult parentResult)
Re-activates the service threads after they have been deactivated.String
TaskManager. recordRunningTasksThreadsDump(String cause, OperationResult parentResult)
String
TaskManager. recordTaskThreadsDump(String taskOid, String cause, OperationResult parentResult)
void
Task. refresh(OperationResult result)
Re-reads the task state from the persistent storage.void
TaskManager. registerNodeUp(OperationResult result)
Registers current node as "up".TracingProfileType
Tracer. resolve(TracingProfileType tracingProfile, OperationResult result)
Resolves a tracing profile - i.e.void
TaskManager. resumeTask(Task task, OperationResult parentResult)
Resume suspended task.void
TaskManager. resumeTask(String taskOid, OperationResult parentResult)
void
TaskManager. resumeTasks(Collection<String> taskOids, OperationResult parentResult)
Resume suspended tasks.void
TaskManager. resumeTaskTree(String coordinatorOid, OperationResult parentResult)
void
TaskManager. scheduleTaskNow(Task task, OperationResult parentResult)
Schedules a RUNNABLE task or CLOSED single-run task to be run immediately.void
TaskManager. scheduleTaskNow(String taskOid, OperationResult parentResult)
The same as above.void
TaskManager. scheduleTasksNow(Collection<String> taskOids, OperationResult parentResult)
Schedules RUNNABLE/CLOSED tasks to be run immediately.<T extends ObjectType>
@NotNull SearchResultList<PrismObject<T>>TaskManager. searchObjects(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, OperationResult parentResult)
Notes: Implemented options are: - noFetch: it causes task manager NOT to ask remote nodes about node/task status.<T extends ObjectType>
SearchResultMetadataTaskManager. searchObjectsIterative(Class<T> type, ObjectQuery query, Collection<SelectorOptions<GetOperationOptions>> options, ResultHandler<T> handler, OperationResult parentResult)
void
Task. setDescriptionImmediate(String value, OperationResult result)
Sets task description, immediately storing it into the repo.void
Task. setExtensionPropertyImmediate(PrismProperty<?> property, OperationResult result)
"Immediate" version of the above method.void
Task. setLegacyProgressImmediate(Long progress, OperationResult parentResult)
"Immediate" version ofTask.setLegacyProgress(Long)
.void
Task. setNameImmediate(PolyStringType value, OperationResult result)
Sets the human-readable name of the task, immediately into repository.void
Task. setResult(OperationResult result)
Sets the top-level OperationResult stored in the task.void
TaskManager. startLocalScheduler(OperationResult parentResult)
Starts the local scheduler.void
TaskManager. startScheduler(String nodeIdentifier, OperationResult parentResult)
Starts the scheduler on a given node.void
TaskManager. startSchedulers(Collection<String> nodeIdentifiers, OperationResult parentResult)
void
TaskManager. stopLocalScheduler(OperationResult parentResult)
Stops the local scheduler.void
TaskManager. stopLocalTaskRunInStandardWay(String oid, OperationResult result)
Stops the local task.void
TaskManager. stopScheduler(String nodeIdentifier, OperationResult parentResult)
Stops the scheduler on a given node.void
TaskManager. stopSchedulers(Collection<String> nodeIdentifiers, OperationResult parentResult)
boolean
TaskManager. stopSchedulersAndTasks(Collection<String> nodeIdentifiers, long waitTime, OperationResult parentResult)
Stops a set of schedulers (on their nodes) and tasks that are executing on these nodes.void
RunningTaskStatisticsCollector. storeStatisticsIntoRepository(OperationResult result)
Stores statistics from `task.prism` to the repository.boolean
RunningTaskStatisticsCollector. storeStatisticsIntoRepositoryIfTimePassed(Runnable additionalUpdater, OperationResult result)
Stores statistics from `task.prism` to the repository, if the specified time interval passed.void
Tracer. storeTrace(Task task, OperationResult result, @Nullable OperationResult parentResult)
Stores trace to persistent storage (usually a file in "trace" directory).void
TaskManager. suspendAndCloseTaskNoException(Task task, long suspendTimeout, OperationResult parentResult)
TODOvoid
TaskManager. suspendAndDeleteTask(String taskOid, long suspendTimeout, boolean alsoSubtasks, OperationResult parentResult)
The same as above, but limited to a single task and throws the first exception encountered.void
TaskManager. suspendAndDeleteTasks(Collection<String> taskOidList, long suspendTimeout, boolean alsoSubtasks, OperationResult parentResult)
Suspends tasks and deletes them.boolean
TaskManager. suspendTask(Task task, long waitTime, OperationResult parentResult)
Suspends a task.boolean
TaskManager. suspendTask(String taskOid, long waitTime, OperationResult parentResult)
Suspends a task.boolean
TaskManager. suspendTasks(Collection<String> taskOids, long waitForStop, OperationResult parentResult)
Suspends a set of tasks.boolean
TaskManager. suspendTaskTree(String coordinatorOid, long waitTime, OperationResult parentResult)
void
TaskManager. switchToBackground(Task task, OperationResult parentResult)
Switches the provided task to background, making it asynchronous.void
TaskManager. synchronizeTasks(OperationResult parentResult)
Synchronizes information in midPoint repository and task scheduling database.void
TaskManager. unpauseTask(Task task, OperationResult parentResult)
Puts a WAITING task back into RUNNABLE state.void
RunningTaskStatisticsCollector. updateAndStoreStatisticsIntoRepository(boolean updateThreadLocalStatistics, OperationResult result)
Convenience method: Updates the statistics in `task.prism`, and stores them into the repository.void
TaskManager. waitForTransientChildrenAndCloseThem(RunningTask task, OperationResult result)
Should be called only from the thread that created the children - to avoid race conditions. -
Uses of OperationResult in com.evolveum.midpoint.task.api.test
Methods in com.evolveum.midpoint.task.api.test that return OperationResult Modifier and Type Method Description OperationResult
NullTaskImpl. getResult()
-
Uses of OperationResult in com.evolveum.midpoint.wf.api
Methods in com.evolveum.midpoint.wf.api with parameters of type OperationResult Modifier and Type Method Description void
WorkflowManager. cancelCase(String caseOid, Task task, OperationResult parentResult)
Cancels a case and its subcases.void
WorkflowManager. claimWorkItem(WorkItemId workItemId, Task task, OperationResult result)
void
WorkflowManager. cleanupCases(CleanupPolicyType closedCasesPolicy, RunningTask task, OperationResult opResult)
Deletes obsolete cases, as specified in the policy.void
WorkflowManager. completeWorkItem(WorkItemId workItemId, AbstractWorkItemOutputType output, WorkItemEventCauseInformationType causeInformation, Task task, OperationResult parentResult)
Approves or rejects a work itemvoid
WorkflowManager. delegateWorkItem(WorkItemId workItemId, WorkItemDelegationRequestType delegationRequest, Task task, OperationResult parentResult)
void
WorkflowManager. deleteCase(String caseOid, Task task, OperationResult parentResult)
Cancels and deletes a case and its subcases.ApprovalSchemaExecutionInformationType
WorkflowManager. getApprovalSchemaExecutionInformation(String caseOid, Task opTask, OperationResult parentResult)
Retrieves information about actual or expected execution of an approval schema.List<ApprovalSchemaExecutionInformationType>
WorkflowManager. getApprovalSchemaPreview(ModelContext<?> modelContext, Task opTask, OperationResult parentResult)
Retrieves information about expected approval schema and its execution.ChangesByState
WorkflowManager. getChangesByState(CaseType rootCase, ModelInteractionService modelInteractionService, PrismContext prismContext, Task task, OperationResult result)
ChangesByState
WorkflowManager. getChangesByState(CaseType approvalCase, CaseType rootCase, ModelInteractionService modelInteractionService, PrismContext prismContext, OperationResult result)
boolean
WorkflowManager. isCurrentUserAuthorizedToDelegate(CaseWorkItemType workItem, Task task, OperationResult result)
boolean
WorkflowManager. isCurrentUserAuthorizedToSubmit(CaseWorkItemType workItem, Task task, OperationResult result)
void
WorkflowListener. onProcessInstanceEnd(CaseType aCase, Task task, OperationResult result)
This method is called by wf module when a process instance ends.void
WorkflowListener. onProcessInstanceStart(CaseType aCase, Task task, OperationResult result)
This method is called by wf module when a process instance successfully starts.void
WorkflowListener. onWorkItemAllocationChangeCurrentActors(@NotNull CaseWorkItemType workItem, @NotNull WorkItemAllocationChangeOperationInfo operationInfo, @Nullable WorkItemOperationSourceInfo sourceInfo, Duration timeBefore, CaseType aCase, Task task, OperationResult result)
EXPERIMENTALvoid
WorkflowListener. onWorkItemAllocationChangeNewActors(@NotNull CaseWorkItemType workItem, @NotNull WorkItemAllocationChangeOperationInfo operationInfo, @Nullable WorkItemOperationSourceInfo sourceInfo, CaseType aCase, Task task, OperationResult result)
void
WorkflowListener. onWorkItemCreation(ObjectReferenceType assignee, @NotNull CaseWorkItemType workItem, CaseType aCase, Task task, OperationResult result)
This method is called by wf module when a work item is created.void
WorkflowListener. onWorkItemCustomEvent(ObjectReferenceType assignee, @NotNull CaseWorkItemType workItem, @NotNull WorkItemNotificationActionType notificationAction, @Nullable WorkItemEventCauseInformationType cause, CaseType aCase, Task task, OperationResult result)
void
WorkflowListener. onWorkItemDeletion(ObjectReferenceType assignee, @NotNull CaseWorkItemType workItem, @Nullable WorkItemOperationInfo operationInfo, @Nullable WorkItemOperationSourceInfo sourceInfo, CaseType aCase, Task task, OperationResult result)
This method is called by wf module when a work item is completed.void
WorkflowManager. releaseWorkItem(WorkItemId workItemId, Task task, OperationResult result)
-
Uses of OperationResult in com.evolveum.midpoint.wf.util
Methods in com.evolveum.midpoint.wf.util with parameters of type OperationResult Modifier and Type Method Description static S_FilterExit
QueryUtils. filterForClaimableItems(S_FilterEntryOrEmpty q, String userOid, RepositoryService repositoryService, RelationRegistry relationRegistry, OperationResult result)
String
PerformerCommentsFormatter. formatComment(@NotNull AbstractWorkItemType workItem, Task task, OperationResult result)
String
PerformerCommentsFormatter. formatComment(@NotNull WorkItemCompletionEventType event, Task task, OperationResult result)
-