public Object createServiceObjectWithServiceParam( ExchangeService srv) throws Exception { return new ContactsFolder(srv); } }, null);
/** * Binds to an existing contacts folder and loads its first class * property. * * @param service the service * @param id the id * @return A ContactsFolder instance representing the contacts folder * corresponding to the specified Id. * @throws Exception the exception */ public static ContactsFolder bind(ExchangeService service, FolderId id) throws Exception { return ContactsFolder.bind(service, id, PropertySet .getFirstClassProperties()); }
/** * Binds to an existing contacts folder and loads the specified set of * property. * * @param service the service * @param name the name * @param propertySet the property set * @return A ContactsFolder instance representing the contacts folder * corresponding to the specified name. * @throws Exception the exception */ public static ContactsFolder bind(ExchangeService service, WellKnownFolderName name, PropertySet propertySet) throws Exception { return ContactsFolder.bind(service, new FolderId(name), propertySet); }
public Object createServiceObjectWithServiceParam( ExchangeService srv) throws Exception { return new ContactsFolder(srv); } }, null);
/** * Binds to an existing contacts folder and loads its first class * property. * * @param service the service * @param name the name * @return A ContactsFolder instance representing the contacts folder * corresponding to the specified name. * @throws Exception the exception */ public static ContactsFolder bind(ExchangeService service, WellKnownFolderName name) throws Exception { return ContactsFolder.bind(service, new FolderId(name), PropertySet .getFirstClassProperties()); }
/** * Binds to an existing contacts folder and loads its first class * property. * * @param service the service * @param id the id * @return A ContactsFolder instance representing the contacts folder * corresponding to the specified Id. * @throws Exception the exception */ public static ContactsFolder bind(ExchangeService service, FolderId id) throws Exception { return ContactsFolder.bind(service, id, PropertySet .getFirstClassProperties()); }
/** * Binds to an existing contacts folder and loads the specified set of * property. * * @param service the service * @param name the name * @param propertySet the property set * @return A ContactsFolder instance representing the contacts folder * corresponding to the specified name. * @throws Exception the exception */ public static ContactsFolder bind(ExchangeService service, WellKnownFolderName name, PropertySet propertySet) throws Exception { return ContactsFolder.bind(service, new FolderId(name), propertySet); }
/** * Binds to an existing contacts folder and loads its first class * property. * * @param service the service * @param name the name * @return A ContactsFolder instance representing the contacts folder * corresponding to the specified name. * @throws Exception the exception */ public static ContactsFolder bind(ExchangeService service, WellKnownFolderName name) throws Exception { return ContactsFolder.bind(service, new FolderId(name), PropertySet .getFirstClassProperties()); }