public EscalateWorkItemActionType clone() { EscalateWorkItemActionType object = new EscalateWorkItemActionType(); PrismContainerValue value = asPrismContainerValue().clone(); object.setupContainerValue(value); return object; }
public ObjectReferenceType beginApproverRef() { ObjectReferenceType value = new ObjectReferenceType(); approverRef(value); return value; }
public ExpressionType beginApproverExpression() { ExpressionType value = new ExpressionType(); approverExpression(value); return value; }
EscalateWorkItemActionType action = new EscalateWorkItemActionType() .approverRef(USER_JACK_OID, UserType.COMPLEX_TYPE) .delegationMethod(WorkItemDelegationMethodType.ADD_ASSIGNEES) .escalationLevelName("ESC-1"); operationsHelper.escalateCampaign(campaignOid, action, null, task, result);
/** * Create an instance of {@link EscalateWorkItemActionType } * */ public EscalateWorkItemActionType createEscalateWorkItemActionType() { return new EscalateWorkItemActionType(); }
EscalateWorkItemActionType action = new EscalateWorkItemActionType() .approverRef(USER_ELAINE_OID, UserType.COMPLEX_TYPE) .escalationLevelName("ESC-2"); operationsHelper.escalateCampaign(campaignOid, action, null, task, result);
@NotNull public static WorkItemEscalationLevelType createEscalationLevelInformation(DelegateWorkItemActionType delegateAction) { String escalationLevelName; String escalationLevelDisplayName; if (delegateAction instanceof EscalateWorkItemActionType) { escalationLevelName = ((EscalateWorkItemActionType) delegateAction).getEscalationLevelName(); escalationLevelDisplayName = ((EscalateWorkItemActionType) delegateAction).getEscalationLevelDisplayName(); if (escalationLevelName == null && escalationLevelDisplayName == null) { escalationLevelName = delegateAction.getName(); escalationLevelDisplayName = delegateAction.getDisplayName(); } } else { // TODO ... a warning here? escalationLevelName = escalationLevelDisplayName = null; } return new WorkItemEscalationLevelType().name(escalationLevelName).displayName(escalationLevelDisplayName); }
@Override public boolean equals(Object object) { if (!(object instanceof EscalateWorkItemActionType)) { return false; } EscalateWorkItemActionType other = ((EscalateWorkItemActionType) object); return asPrismContainerValue().equivalent(other.asPrismContainerValue()); }
public ExpressionType beginCondition() { ExpressionType value = new ExpressionType(); condition(value); return value; }
/** * Create an instance of {@link EscalateWorkItemActionType } * */ public EscalateWorkItemActionType createEscalateWorkItemActionType() { return new EscalateWorkItemActionType(); }
WorkItemEscalationLevelType newEscalationLevel = new WorkItemEscalationLevelType() .number(newStageEscalationLevelNumber) .name(escalateAction.getEscalationLevelName()) .displayName(escalateAction.getEscalationLevelDisplayName()); for (AccessCertificationWorkItemType workItem : workItems) { AccessCertificationCaseType aCase = CertCampaignTypeUtil.getCaseChecked(workItem);
@Override public int hashCode() { return asPrismContainerValue().hashCode(); }
/** * Create an instance of {@link EscalateWorkItemActionType } * */ public EscalateWorkItemActionType createEscalateWorkItemActionType() { return new EscalateWorkItemActionType(); }
public EscalateWorkItemActionType approverRef(String oid, QName type) { PrismReferenceValue refVal = new PrismReferenceValueImpl(oid, type); ObjectReferenceType ort = new ObjectReferenceType(); ort.setupReferenceValue(refVal); return approverRef(ort); }
@Override public String toString() { return asPrismContainerValue().toString(); }
public EscalateWorkItemActionType beginEscalate() { EscalateWorkItemActionType value = new EscalateWorkItemActionType(); escalate(value); return value; }
public EscalateWorkItemActionType approverRef(String oid, QName type, QName relation) { PrismReferenceValue refVal = new PrismReferenceValueImpl(oid, type); refVal.setRelation(relation); ObjectReferenceType ort = new ObjectReferenceType(); ort.setupReferenceValue(refVal); return approverRef(ort); }
@XmlElement(name = "escalationLevelDisplayName") public String getEscalationLevelDisplayName() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_ESCALATION_LEVEL_DISPLAY_NAME, String.class); }
@XmlElement(name = "escalationLevelName") public String getEscalationLevelName() { return PrismForJAXBUtil.getPropertyValue(asPrismContainerValue(), F_ESCALATION_LEVEL_NAME, String.class); }
public void setEscalationLevelName(String value) { PrismForJAXBUtil.setPropertyValue(asPrismContainerValue(), F_ESCALATION_LEVEL_NAME, value); }