Tabnine Logo
com.evolveum.midpoint.xml.ns._public.common.common_3
Code IndexAdd Tabnine to your IDE (free)

How to use com.evolveum.midpoint.xml.ns._public.common.common_3

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

origin: Evolveum/midpoint

public static String determineConstructionResource(AssignmentType assignmentType) {
  ConstructionType construction = assignmentType.getConstruction();
  if (construction != null){
    if (construction.getResource() != null){
      return construction.getResource().getOid();
    } else if (construction.getResourceRef() != null){
      return construction.getResourceRef().getOid();
    }
    return null;
  }
  return null;
}
origin: Evolveum/midpoint

public static String getConnectorHostTypeOid(ConnectorType connectorType) {
  if (connectorType.getConnectorHostRef() != null) {
    return connectorType.getConnectorHostRef().getOid();
  } else if (connectorType.getConnectorHost() != null) {
    return connectorType.getConnectorHost().getOid();
  } else {
    return null;
  }
}
origin: Evolveum/midpoint

protected AssignmentType createConstructionAssignment(String resourceOid, ShadowKindType kind, String intent) {
  AssignmentType assignmentType = new AssignmentType();
  ConstructionType constructionType = new ConstructionType();
  constructionType.setKind(kind);
  assignmentType.setConstruction(constructionType);
  ObjectReferenceType resourceRef = new ObjectReferenceType();
  resourceRef.setOid(resourceOid);
  resourceRef.setType(ResourceType.COMPLEX_TYPE);
  constructionType.setResourceRef(resourceRef);
  constructionType.setIntent(intent);
  return assignmentType;
}
origin: Evolveum/midpoint

public static String getConnectorOid(ResourceType resource) {
  if (resource.getConnectorRef() != null) {
    return resource.getConnectorRef().getOid();
  } else if (resource.getConnector() != null) {
    return resource.getConnector().getOid();
  } else {
    return null;
  }
}
origin: Evolveum/midpoint

public ObjectReferenceType beginAssigneeRef() {
  ObjectReferenceType value = new ObjectReferenceType();
  assigneeRef(value);
  return value;
}
origin: Evolveum/midpoint

public ObjectReferenceType beginRoleMembershipRef() {
  ObjectReferenceType value = new ObjectReferenceType();
  roleMembershipRef(value);
  return value;
}
origin: Evolveum/midpoint

public ObjectReferenceType beginTenantRef() {
  ObjectReferenceType value = new ObjectReferenceType();
  tenantRef(value);
  return value;
}
origin: Evolveum/midpoint

public ObjectReferenceType beginCollectionRef() {
  ObjectReferenceType value = new ObjectReferenceType();
  collectionRef(value);
  return value;
}
origin: Evolveum/midpoint

private boolean needsRefresh(PendingOperationType pendingOperation) {
  PendingOperationExecutionStatusType executionStatus = pendingOperation.getExecutionStatus();
  if (executionStatus == null) {
    // LEGACY: 3.7 and earlier
    return OperationResultStatusType.IN_PROGRESS.equals(pendingOperation.getResultStatus());
  } else {
    return PendingOperationExecutionStatusType.EXECUTING.equals(executionStatus);
  }
}

origin: Evolveum/midpoint

public ActivationType beginActivation() {
  ActivationType value = new ActivationType();
  activation(value);
  return value;
}
origin: Evolveum/midpoint

private QName getAssociationAttribute() {
  ResourceObjectAssociationDirectionType direction = resourceObjectAssociationType.getDirection();
  if (ResourceObjectAssociationDirectionType.OBJECT_TO_SUBJECT.equals(direction)) {
    return resourceObjectAssociationType.getAssociationAttribute();
  }
  return resourceObjectAssociationType.getValueAttribute();
}

origin: Evolveum/midpoint

public TriggerType beginTrigger() {
  TriggerType value = new TriggerType();
  trigger(value);
  return value;
}
origin: Evolveum/midpoint

public ExpressionType beginCondition() {
  ExpressionType value = new ExpressionType();
  condition(value);
  return value;
}
origin: Evolveum/midpoint

public CleanupPolicyType beginClosedCertificationCampaigns() {
  CleanupPolicyType value = new CleanupPolicyType();
  closedCertificationCampaigns(value);
  return value;
}
origin: Evolveum/midpoint

public AbstractWorkItemOutputType beginOutput() {
  AbstractWorkItemOutputType value = new AbstractWorkItemOutputType();
  output(value);
  return value;
}
origin: Evolveum/midpoint

public OtherPrivilegesLimitationType beginLimitOtherPrivileges() {
  OtherPrivilegesLimitationType value = new OtherPrivilegesLimitationType();
  limitOtherPrivileges(value);
  return value;
}
origin: Evolveum/midpoint

public OrderConstraintsType beginOrderConstraint() {
  OrderConstraintsType value = new OrderConstraintsType();
  orderConstraint(value);
  return value;
}
origin: Evolveum/midpoint

@Override
public ResourcePasswordDefinitionType getPasswordDefinition() {
  if (schemaHandlingObjectTypeDefinitionType == null) {
    return null;
  }
  ResourceCredentialsDefinitionType credentials = schemaHandlingObjectTypeDefinitionType.getCredentials();
  if (credentials == null) {
    return null;
  }
  return credentials.getPassword();
}
origin: Evolveum/midpoint

public AssignmentPropertiesSpecificationType beginAssignmentProperties() {
  AssignmentPropertiesSpecificationType value = new AssignmentPropertiesSpecificationType();
  assignmentProperties(value);
  return value;
}
origin: Evolveum/midpoint

public PopulateType beginPopulate() {
  PopulateType value = new PopulateType();
  populate(value);
  return value;
}
com.evolveum.midpoint.xml.ns._public.common.common_3

Most used classes

    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