Package org.camunda.bpm.engine.impl.persistence.entity

Examples of org.camunda.bpm.engine.impl.persistence.entity.PropertyChange


    if (attachment.getTaskId()!=null) {
      TaskEntity task = commandContext
          .getTaskManager()
          .findTaskById(attachment.getTaskId());

      PropertyChange propertyChange = new PropertyChange("name", null, attachment.getName());

      commandContext.getOperationLogManager()
          .logAttachmentOperation(UserOperationLogEntry.OPERATION_TYPE_DELETE_ATTACHMENT, task, propertyChange);
    }
View Full Code Here


  @Override
  public Void execute(CommandContext commandContext) {
    super.execute(commandContext);

    PropertyChange propertyChange = new PropertyChange(type, null, groupId);

    commandContext.getOperationLogManager()
      .logLinkOperation(UserOperationLogEntry.OPERATION_TYPE_ADD_GROUP_LINK, task, propertyChange);

    return null;
View Full Code Here

  @Override
  public Void execute(CommandContext commandContext) {
    super.execute(commandContext);

    PropertyChange propertyChange = new PropertyChange(type, null, userId);

    commandContext.getOperationLogManager()
      .logLinkOperation(UserOperationLogEntry.OPERATION_TYPE_ADD_USER_LINK, task, propertyChange);

    return null;
View Full Code Here

  @Override
  public Void execute(CommandContext commandContext) {
    super.execute(commandContext);

    PropertyChange propertyChange = new PropertyChange(type, null, userId);

    commandContext.getOperationLogManager()
        .logLinkOperation(UserOperationLogEntry.OPERATION_TYPE_DELETE_USER_LINK, task, propertyChange);

    return null;
View Full Code Here

      ByteArrayEntity byteArray = new ByteArrayEntity(bytes);
      dbEntityManger.insert(byteArray);
      attachment.setContentId(byteArray.getId());
    }

    PropertyChange propertyChange = new PropertyChange("name", null, attachmentName);

    commandContext.getOperationLogManager()
      .logAttachmentOperation(UserOperationLogEntry.OPERATION_TYPE_ADD_ATTACHMENT, task, propertyChange);

    return attachment;
View Full Code Here

    if (attachment.getTaskId() != null) {
      TaskEntity task = commandContext
        .getTaskManager()
        .findTaskById(attachment.getTaskId());

      PropertyChange propertyChange = new PropertyChange("name", null, attachment.getName());

      commandContext.getOperationLogManager()
        .logAttachmentOperation(UserOperationLogEntry.OPERATION_TYPE_DELETE_ATTACHMENT, task, propertyChange);
    }
View Full Code Here

  @Override
  public Void execute(CommandContext commandContext) {
    super.execute(commandContext);

    PropertyChange propertyChange = new PropertyChange(type, null, groupId);

    commandContext.getOperationLogManager()
        .logLinkOperation(UserOperationLogEntry.OPERATION_TYPE_DELETE_GROUP_LINK, task, propertyChange);

    return null;
View Full Code Here

      taskManager.updateTaskSuspensionStateByProcessDefinitionKey(processDefinitionKey, suspensionState);
    }

    getSetJobStateCmd().execute(commandContext);

    PropertyChange propertyChange = new PropertyChange(SUSPENSION_STATE_PROPERTY, null, suspensionState.getName());
    commandContext.getOperationLogManager()
      .logProcessInstanceOperation(getLogEntryOperation(), processInstanceId, processDefinitionId,
          processDefinitionKey, propertyChange);

    return null;
View Full Code Here

TOP

Related Classes of org.camunda.bpm.engine.impl.persistence.entity.PropertyChange

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.