Package microsoft.exchange.webservices.data

Examples of microsoft.exchange.webservices.data.ItemId


  }

  @Override
  public void updateDueDate(final TaskDto task) {
    try {
      final ItemId itemId = new ItemId(task.getExchangeId());
      final Item email = Item.bind(service, itemId, createEmailPropertySet());
      if (task.getDueDate() == null) {
        email.removeExtendedProperty(PR_TASK_DUE_DATE);
      } else {
        email.setExtendedProperty(PR_TASK_DUE_DATE, task.getDueDate());
View Full Code Here


  }

  @Override
  public void updateCompletedFlag(final TaskDto task) {
    try {
      final ItemId itemId = new ItemId(task.getExchangeId());
      final Item email = Item.bind(service, itemId, createEmailPropertySet());
      email.setExtendedProperty(PR_TODO_TITLE, task.getName());
      email.setExtendedProperty(PR_TASK_MODE, 0); // Task is not assigned
      if (task.isCompleted()) {
        email.removeExtendedProperty(PR_FLAG_REQUEST);
View Full Code Here

TOP

Related Classes of microsoft.exchange.webservices.data.ItemId

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.