Tabnine Logo
WorkItemType.getAdditionalInformation
Code IndexAdd Tabnine to your IDE (free)

How to use
getAdditionalInformation
method
in
com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType

Best Java code snippets using com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.getAdditionalInformation (Showing top 5 results out of 315)

origin: Evolveum/midpoint

public WorkItemType additionalInformation(InformationType value) {
  getAdditionalInformation().add(value);
  return this;
}
origin: Evolveum/midpoint

public List<InformationType> createAdditionalInformationList() {
  PrismForJAXBUtil.createProperty(asPrismContainerValue(), F_ADDITIONAL_INFORMATION);
  return getAdditionalInformation();
}
origin: Evolveum/midpoint

@Override
protected void afterFirstClockworkRun(Task rootTask, List<Task> subtasks, List<WorkItemType> workItems,
    OperationResult result) throws Exception {
  ModelContext taskModelContext = wfTaskUtil.getModelContext(rootTask, result);
  ObjectDelta realDelta0 = taskModelContext.getFocusContext().getPrimaryDelta();
  assertTrue("Non-empty primary focus delta: " + realDelta0.debugDump(), realDelta0.isEmpty());
  assertNoObject(employee);
  ExpectedTask expectedTask = new ExpectedTask(null, "Adding role \"" + employee.asObjectable().getName().getOrig() + "\"");
  ExpectedWorkItem expectedWorkItem = new ExpectedWorkItem(userEmployeeOwnerOid, null, expectedTask);
  assertWfContextAfterClockworkRun(rootTask, subtasks, workItems, result,
      null,
      Collections.singletonList(expectedTask),
      Collections.singletonList(expectedWorkItem));
  Collection<SelectorOptions<GetOperationOptions>> options =
      SelectorOptions.createCollection(prismContext.path(F_WORKFLOW_CONTEXT, F_WORK_ITEM), createRetrieve());
  Task opTask = taskManager.createTaskInstance();
  TaskType subtask = modelService.getObject(TaskType.class, subtasks.get(0).getOid(), options, opTask, result).asObjectable();
  WfContextType wfc = subtask.getWorkflowContext();
  ItemApprovalProcessStateType processState = WfContextUtil.getItemApprovalProcessInfo(wfc);
  assertEquals("Wrong # of attached policy rules entries", 1, processState.getPolicyRules().getEntry().size());
  SchemaAttachedPolicyRuleType attachedRule = processState.getPolicyRules().getEntry().get(0);
  assertEquals(1, attachedRule.getStageMin().intValue());
  assertEquals(1, attachedRule.getStageMax().intValue());
  assertEquals("Wrong # of attached triggers", 1, attachedRule.getRule().getTrigger().size());
  EvaluatedPolicyRuleTriggerType trigger = attachedRule.getRule().getTrigger().get(0);
  assertEquals("Wrong constraintKind in trigger", PolicyConstraintKindType.OBJECT_MODIFICATION, trigger.getConstraintKind());
  WorkItemType workItem = wfc.getWorkItem().get(0);
  assertEquals("Wrong # of additional information", 0, workItem.getAdditionalInformation().size());
}
origin: Evolveum/midpoint

assertEquals("Wrong # of additional information", 0, workItem.getAdditionalInformation().size());
origin: Evolveum/midpoint

Map<String, Object> allVariables = activitiEngine.getTaskService().getVariables(task.getId());
wi.setProcessSpecificPart(pmi.extractProcessSpecificWorkItemPart(allVariables));
wi.getAdditionalInformation().addAll(pmi.getAdditionalInformation(allVariables));
com.evolveum.midpoint.xml.ns._public.common.common_3WorkItemTypegetAdditionalInformation

Popular methods of WorkItemType

    Popular in Java

    • Running tasks concurrently on multiple threads
    • onRequestPermissionsResult (Fragment)
    • getSupportFragmentManager (FragmentActivity)
    • onCreateOptionsMenu (Activity)
    • URL (java.net)
      A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
    • Dictionary (java.util)
      Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
    • GregorianCalendar (java.util)
      GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
    • HashMap (java.util)
      HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
    • Hashtable (java.util)
      A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
    • Handler (java.util.logging)
      A Handler object accepts a logging request and exports the desired messages to a target, for example
    • Best plugins for Eclipse
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now