- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemEventCauseInformationType
类的一些代码示例,展示了WorkItemEventCauseInformationType
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WorkItemEventCauseInformationType
类的具体详情如下:
包路径:com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemEventCauseInformationType
类名称:WorkItemEventCauseInformationType
暂无
代码示例来源:origin: Evolveum/midpoint
@NotNull
public static WorkItemEventCauseInformationType createCause(AbstractWorkItemActionType action) {
WorkItemEventCauseInformationType cause = new WorkItemEventCauseInformationType();
cause.setType(WorkItemEventCauseTypeType.TIMED_ACTION);
if (action != null) {
cause.setName(action.getName());
cause.setDisplayName(action.getDisplayName());
}
return cause;
}
代码示例来源:origin: Evolveum/midpoint
/**
* Creates a new {@code WorkItemEventCauseInformationType} instance by deeply copying a given {@code WorkItemEventCauseInformationType} instance.
*
*
* @param o
* The instance to copy.
* @throws NullPointerException
* if {@code o} is {@code null}.
*/
public WorkItemEventCauseInformationType(final WorkItemEventCauseInformationType o) {
// CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000
super();
if (o == null) {
throw new NullPointerException("Cannot create a copy of 'WorkItemEventCauseInformationType' from 'null'.");
}
// CEnumLeafInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemEventCauseTypeType
this.type = ((o.type == null)?null:o.getType());
// CBuiltinLeafInfo: java.lang.String
this.name = ((o.name == null)?null:o.getName());
// CBuiltinLeafInfo: java.lang.String
this.displayName = ((o.displayName == null)?null:o.getDisplayName());
}
代码示例来源:origin: Evolveum/midpoint
/**
* Create an instance of {@link WorkItemEventCauseInformationType }
*
*/
public WorkItemEventCauseInformationType createWorkItemEventCauseInformationType() {
return new WorkItemEventCauseInformationType();
}
代码示例来源:origin: Evolveum/midpoint
private void executeEscalateAction(AccessCertificationCampaignType campaign, EscalateWorkItemActionType escalateAction,
Task task, OperationResult result) throws SecurityViolationException, ObjectNotFoundException, SchemaException,
ObjectAlreadyExistsException {
WorkItemEventCauseInformationType causeInformation = new WorkItemEventCauseInformationType()
.type(WorkItemEventCauseTypeType.TIMED_ACTION)
.name(escalateAction.getName())
.displayName(escalateAction.getDisplayName());
operationsHelper.escalateCampaign(campaign.getOid(), escalateAction, causeInformation, task, result);
}
代码示例来源:origin: Evolveum/midpoint
causeInformation == null || causeInformation.getType() == WorkItemEventCauseTypeType.USER_ACTION ?
ObjectTypeUtil.createObjectRef(principal.getUser(), prismContext) : null;
代码示例来源:origin: Evolveum/midpoint
public WorkItemEventCauseInformationType type(WorkItemEventCauseTypeType value) {
setType(value);
return this;
}
代码示例来源:origin: Evolveum/midpoint
public WorkItemEventCauseInformationType displayName(String value) {
setDisplayName(value);
return this;
}
代码示例来源:origin: Evolveum/midpoint
public WorkItemEventCauseInformationType name(String value) {
setName(value);
return this;
}
代码示例来源:origin: Evolveum/midpoint
/**
* Create an instance of {@link WorkItemEventCauseInformationType }
*
*/
public WorkItemEventCauseInformationType createWorkItemEventCauseInformationType() {
return new WorkItemEventCauseInformationType();
}
代码示例来源:origin: Evolveum/midpoint
/**
* Creates and returns a deep copy of this object.
*
*
* @return
* A deep copy of this object.
*/
@Override
public WorkItemEventCauseInformationType clone() {
try {
{
// CC-XJC Version 2.0 Build 2011-09-16T18:27:24+0000
final WorkItemEventCauseInformationType clone = ((WorkItemEventCauseInformationType) super.clone());
// CEnumLeafInfo: com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemEventCauseTypeType
clone.type = ((this.type == null)?null:this.getType());
// CBuiltinLeafInfo: java.lang.String
clone.name = ((this.name == null)?null:this.getName());
// CBuiltinLeafInfo: java.lang.String
clone.displayName = ((this.displayName == null)?null:this.getDisplayName());
return clone;
}
} catch (CloneNotSupportedException e) {
// Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/
throw new AssertionError(e);
}
}
代码示例来源:origin: Evolveum/midpoint
cause = new WorkItemEventCauseInformationType();
cause.setType(WorkItemEventCauseTypeType.TIMED_ACTION);
cause.setName(completeAction.getName());
cause.setDisplayName(completeAction.getDisplayName());
foundTimedActions++;
WorkItemResultType workItemOutput = new WorkItemResultType();
代码示例来源:origin: Evolveum/midpoint
/**
* Create an instance of {@link WorkItemEventCauseInformationType }
*
*/
public WorkItemEventCauseInformationType createWorkItemEventCauseInformationType() {
return new WorkItemEventCauseInformationType();
}
代码示例来源:origin: Evolveum/midpoint
private void appendResultAndOriginInformation(StringBuilder sb, WorkItemEvent event, OperationResult result) {
boolean atLeastOne = appendResultInformation(sb, event, false);
WorkItemEventCauseInformationType cause = event.getCause();
if (cause != null && cause.getType() == WorkItemEventCauseTypeType.TIMED_ACTION) {
sb.append("Reason: ");
if (cause.getDisplayName() != null) {
sb.append(cause.getDisplayName()).append(" (timed action)");
} else if (cause.getName() != null) {
sb.append(cause.getName()).append(" (timed action)");
} else {
sb.append("Timed action");
}
sb.append("\n");
atLeastOne = true;
} else {
SimpleObjectRef initiator = event.getInitiator();
if (initiator != null && !isCancelled(event)) {
UserType initiatorFull = (UserType) functions.getObjectType(initiator, true, result);
sb.append("Carried out by: ").append(textFormatter.formatUserName(initiatorFull, initiator.getOid())).append("\n");
atLeastOne = true;
}
}
if (atLeastOne) {
sb.append("\n");
}
}
代码示例来源:origin: Evolveum/midpoint
public WorkItemEventCauseInformationType beginCause() {
WorkItemEventCauseInformationType value = new WorkItemEventCauseInformationType();
cause(value);
return value;
}
代码示例来源:origin: Evolveum/midpoint
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
WorkItemEventCauseTypeType theType;
theType = this.getType();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "type", theType), currentHashCode, theType);
}
{
String theName;
theName = this.getName();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName);
}
{
String theDisplayName;
theDisplayName = this.getDisplayName();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "displayName", theDisplayName), currentHashCode, theDisplayName);
}
return currentHashCode;
}
代码示例来源:origin: Evolveum/midpoint
public WorkItemEventCauseInformationType beginCause() {
WorkItemEventCauseInformationType value = new WorkItemEventCauseInformationType();
cause(value);
return value;
}
代码示例来源:origin: Evolveum/midpoint
lhsType = this.getType();
WorkItemEventCauseTypeType rhsType;
rhsType = that.getType();
if (!strategy.equals(LocatorUtils.property(thisLocator, "type", lhsType), LocatorUtils.property(thatLocator, "type", rhsType), lhsType, rhsType)) {
return false;
lhsName = this.getName();
String rhsName;
rhsName = that.getName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) {
return false;
lhsDisplayName = this.getDisplayName();
String rhsDisplayName;
rhsDisplayName = that.getDisplayName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "displayName", lhsDisplayName), LocatorUtils.property(thatLocator, "displayName", rhsDisplayName), lhsDisplayName, rhsDisplayName)) {
return false;
代码示例来源:origin: Evolveum/midpoint
public WorkItemEventCauseInformationType beginCause() {
WorkItemEventCauseInformationType value = new WorkItemEventCauseInformationType();
cause(value);
return value;
}
代码示例来源:origin: Evolveum/midpoint
if (cause.getType() != null) {
record.addPropertyValue(WorkflowConstants.AUDIT_CAUSE_TYPE, cause.getType().value());
if (cause.getName() != null) {
record.addPropertyValue(WorkflowConstants.AUDIT_CAUSE_NAME, cause.getName());
if (cause.getDisplayName() != null) {
record.addPropertyValue(WorkflowConstants.AUDIT_CAUSE_DISPLAY_NAME, cause.getDisplayName());
代码示例来源:origin: Evolveum/midpoint
public WorkItemEventCauseInformationType beginCause() {
WorkItemEventCauseInformationType value = new WorkItemEventCauseInformationType();
cause(value);
return value;
}
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType类的一些代码示例,展示了XmlSchemaTyp
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType类的一些代码示例,展示了WorkItemType类
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemEventCauseInformationType类的一些
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.ZoneOfControlType类的一些代码示例,展示了ZoneOfCo
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType.getCachingMetadata()方法的
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType.setCachingMetadata()方法的
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.setOriginalAssigneeRef()
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType.setDefinition()方法的一些代码示
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.setProcessSpecificPart()
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType.()方法的一些代码示例,展示了XmlSchem
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.XmlSchemaType.getDefinition()方法的一些代码示
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.getCandidateRef()方法的一些代码
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.getCreateTimestamp()方法的一
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.getAdditionalInformation
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.getAssigneeRef()方法的一些代码示
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.getExternalId()方法的一些代码示例
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.setDeadline()方法的一些代码示例,展
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.setCreateTimestamp()方法的一
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.setOutput()方法的一些代码示例,展示了
本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.()方法的一些代码示例,展示了WorkItemT
我是一名优秀的程序员,十分优秀!