当前位置: 首页>>代码示例>>Java>>正文


Java ExchangeService.bindToItem方法代码示例

本文整理汇总了Java中microsoft.exchange.webservices.data.core.ExchangeService.bindToItem方法的典型用法代码示例。如果您正苦于以下问题:Java ExchangeService.bindToItem方法的具体用法?Java ExchangeService.bindToItem怎么用?Java ExchangeService.bindToItem使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在microsoft.exchange.webservices.data.core.ExchangeService的用法示例。


在下文中一共展示了ExchangeService.bindToItem方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing meeting response and loads the specified set of
 * property. Calling this method results in a call to EWS.
 *
 * @param service     The service to use to bind to the meeting response.
 * @param id          The Id of the meeting response to bind to.
 * @param propertySet The set of property to load.
 * @return A MeetingResponse instance representing the meeting response
 * corresponding to the specified Id.
 */
public static MeetingResponse bind(ExchangeService service, ItemId id,
    PropertySet propertySet) {
  try {
    return service.bindToItem(MeetingResponse.class, id, propertySet);
  } catch (Exception e) {
    LOG.error(e);
    return null;
  }
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:20,代码来源:MeetingResponse.java

示例2: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing meeting cancellation message and loads the specified
 * set of property. Calling this method results in a call to EWS.
 *
 * @param service     The service to use to bind to the meeting cancellation
 *                    message.
 * @param id          The Id of the meeting cancellation message to bind to.
 * @param propertySet The set of property to load.
 * @return A MeetingCancellation instance representing the meeting
 * cancellation message corresponding to the specified Id.
 */
public static MeetingCancellation bind(ExchangeService service, ItemId id,
    PropertySet propertySet) {
  try {
    return service.bindToItem(MeetingCancellation.class, id,
        propertySet);
  } catch (Exception e) {
    LOG.error(e);
    return null;
  }
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:22,代码来源:MeetingCancellation.java

示例3: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing meeting response and loads the specified set of
 * property. Calling this method results in a call to EWS.
 *
 * @param service     The service to use to bind to the meeting request.
 * @param id          The Id of the meeting request to bind to.
 * @param propertySet The set of property to load.
 * @return A MeetingResponse instance representing the meeting request
 * corresponding to the specified Id.
 */
public static MeetingRequest bind(ExchangeService service, ItemId id,
    PropertySet propertySet) {
  try {
    return service.bindToItem(MeetingRequest.class, id, propertySet);
  } catch (Exception e) {
    LOG.error(e);
    return null;
  }
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:20,代码来源:MeetingRequest.java

示例4: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing meeting message and loads the specified set of
 * property. Calling this method results in a call to EWS.
 *
 * @param service     The service to use to bind to the meeting message.
 * @param id          The Id of the meeting message to bind to.
 * @param propertySet The set of property to load.
 * @return A MeetingMessage instance representing the meeting message
 * corresponding to the specified Id.
 * @throws Exception the exception
 */
public static MeetingMessage bind(ExchangeService service, ItemId id,
    PropertySet propertySet) throws Exception {
  return (MeetingMessage) service.bindToItem(id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:MeetingMessage.java

示例5: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing post item and loads the specified set of property.
 * Calling this method results in a call to EWS.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return An PostItem instance representing the post item corresponding to
 * the specified Id.
 * @throws Exception the exception
 */
public static PostItem bind(ExchangeService service, ItemId id,
    PropertySet propertySet) throws Exception {
  return service.bindToItem(PostItem.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:PostItem.java

示例6: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing item, whatever its actual type is, and loads the
 * specified set of property. Calling this method results in a call to
 * EWS.
 *
 * @param service     The service to use to bind to the item.
 * @param id          The Id of the item to bind to.
 * @param propertySet The set of property to load.
 * @return An Item instance representing the item corresponding to the
 * specified Id.
 * @throws Exception the exception
 */
public static Item bind(ExchangeService service, ItemId id,
    PropertySet propertySet) throws Exception {
  return service.bindToItem(Item.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:17,代码来源:Item.java

示例7: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing task and loads the specified set of property.
 * Calling this method results in a call to EWS.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return A Task instance representing the task corresponding to the
 * specified Id.
 * @throws Exception the exception
 */
public static Task bind(ExchangeService service, ItemId id,
    PropertySet propertySet) throws Exception {
  return service.bindToItem(Task.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:Task.java

示例8: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing contact and loads the specified set of property.
 * Calling this method results in a call to EWS.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return A Contact instance representing the contact corresponding to the
 * specified Id.
 * @throws Exception the exception
 */
public static Contact bind(ExchangeService service, ItemId id,
    PropertySet propertySet) throws Exception {
  return service.bindToItem(Contact.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:Contact.java

示例9: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing e-mail message and loads the specified set of
 * property.Calling this method results in a call to EWS.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return An EmailMessage instance representing the e-mail message
 * corresponding to the specified Id
 * @throws Exception the exception
 */
public static EmailMessage bind(ExchangeService service, ItemId id,
    PropertySet propertySet) throws Exception {
  return service.bindToItem(EmailMessage.class, id, propertySet);

}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:17,代码来源:EmailMessage.java

示例10: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing contact group and loads the specified set of
 * property.Calling this method results in a call to EWS.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return A ContactGroup instance representing the contact group
 * corresponding to the specified Id
 * @throws Exception the exception
 */
public static ContactGroup bind(ExchangeService service, ItemId id,
    PropertySet propertySet) throws Exception {
  return service.bindToItem(ContactGroup.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:ContactGroup.java

示例11: bind

import microsoft.exchange.webservices.data.core.ExchangeService; //导入方法依赖的package包/类
/**
 * Binds to an existing appointment and loads the specified set of
 * property. Calling this method results in a call to EWS.
 *
 * @param service     the service
 * @param id          the id
 * @param propertySet the property set
 * @return An Appointment instance representing the appointment
 * corresponding to the specified Id.
 * @throws Exception the exception
 */
public static Appointment bind(ExchangeService service, ItemId id,
    PropertySet propertySet) throws Exception {
  return service.bindToItem(Appointment.class, id, propertySet);
}
 
开发者ID:OfficeDev,项目名称:ews-java-api,代码行数:16,代码来源:Appointment.java


注:本文中的microsoft.exchange.webservices.data.core.ExchangeService.bindToItem方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。