Complex classes like Client often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use Client, and based on these observations, apply Extract Interface, too.
1 | <?php |
||
13 | class Client |
||
14 | { |
||
15 | /** |
||
16 | * Microsoft Exchange 2007 |
||
17 | * |
||
18 | * @var string |
||
19 | */ |
||
20 | const VERSION_2007 = 'Exchange2007'; |
||
21 | |||
22 | /** |
||
23 | * Microsoft Exchange 2007 SP1 |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | const VERSION_2007_SP1 = 'Exchange2007_SP1'; |
||
28 | |||
29 | /** |
||
30 | * Microsoft Exchange 2007 SP2 |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | const VERSION_2007_SP2 = 'Exchange2007_SP2'; |
||
35 | |||
36 | /** |
||
37 | * Microsoft Exchange 2007 SP3 |
||
38 | * |
||
39 | * @var string |
||
40 | */ |
||
41 | const VERSION_2007_SP3 = 'Exchange2007_SP3'; |
||
42 | |||
43 | /** |
||
44 | * Microsoft Exchange 2010 |
||
45 | * |
||
46 | * @var string |
||
47 | */ |
||
48 | const VERSION_2010 = 'Exchange2010'; |
||
49 | |||
50 | /** |
||
51 | * Microsoft Exchange 2010 SP1 |
||
52 | * |
||
53 | * @var string |
||
54 | */ |
||
55 | const VERSION_2010_SP1 = 'Exchange2010_SP1'; |
||
56 | |||
57 | /** |
||
58 | * Microsoft Exchange 2010 SP2 |
||
59 | * |
||
60 | * @var string |
||
61 | */ |
||
62 | const VERSION_2010_SP2 = 'Exchange2010_SP2'; |
||
63 | |||
64 | /** |
||
65 | * Microsoft Exchange 2013. |
||
66 | * |
||
67 | * @var string |
||
68 | */ |
||
69 | const VERSION_2013 = 'Exchange2013'; |
||
70 | |||
71 | /** |
||
72 | * Microsoft Exchange 2013 SP1. |
||
73 | * |
||
74 | * @var string |
||
75 | */ |
||
76 | const VERSION_2013_SP1 = 'Exchange2013_SP1'; |
||
77 | |||
78 | /** |
||
79 | * Microsoft Exchange 2016. |
||
80 | * |
||
81 | * @var string |
||
82 | */ |
||
83 | const VERSION_2016 = 'Exchange2016'; |
||
84 | |||
85 | /** |
||
86 | * cURL options to be passed to the SOAP client. |
||
87 | * |
||
88 | * @var array |
||
89 | */ |
||
90 | protected $curl_options = array(); |
||
91 | |||
92 | /** |
||
93 | * Password to use when connecting to the Exchange server. |
||
94 | * |
||
95 | * @var string |
||
96 | */ |
||
97 | protected $password; |
||
98 | |||
99 | /** |
||
100 | * Location of the Exchange server. |
||
101 | * |
||
102 | * @var string |
||
103 | */ |
||
104 | protected $server; |
||
105 | |||
106 | /** |
||
107 | * SOAP client used to make the request |
||
108 | * |
||
109 | * @var \jamesiarmes\PhpEws\SoapClient |
||
110 | */ |
||
111 | protected $soap; |
||
112 | |||
113 | /** |
||
114 | * Username to use when connecting to the Exchange server. |
||
115 | * |
||
116 | * @var string |
||
117 | */ |
||
118 | protected $username; |
||
119 | |||
120 | /** |
||
121 | * Exchange impersonation |
||
122 | * |
||
123 | * @var \jamesiarmes\PhpEws\Type\ExchangeImpersonationType |
||
124 | */ |
||
125 | protected $impersonation; |
||
126 | |||
127 | /** |
||
128 | * Microsoft Exchange version that we are going to connect to |
||
129 | * |
||
130 | * @var string |
||
131 | * |
||
132 | * @see Client::VERSION_2007 |
||
133 | * @see Client::VERSION_2007_SP1 |
||
134 | * @see Client::VERSION_2007_SP2 |
||
135 | * @see Client::VERSION_2007_SP3 |
||
136 | * @see Client::VERSION_2010 |
||
137 | * @see Client::VERSION_2010_SP1 |
||
138 | * @see Client::VERSION_2010_SP2 |
||
139 | */ |
||
140 | protected $version; |
||
141 | |||
142 | /** |
||
143 | * Constructor for the ExchangeWebServices class |
||
144 | * |
||
145 | * @param string $server |
||
146 | * @param string $username |
||
147 | * @param string $password |
||
148 | * @param string $version |
||
149 | * One of the Client::VERSION_* constants. |
||
150 | */ |
||
151 | public function __construct( |
||
163 | |||
164 | /** |
||
165 | * Returns the SOAP Client that may be used to make calls against the server |
||
166 | * |
||
167 | * @return \jamesiarmes\PhpEws\SoapClient |
||
168 | */ |
||
169 | public function getClient() |
||
173 | |||
174 | /** |
||
175 | * Sets the cURL options that will be set on the SOAP client. |
||
176 | * |
||
177 | * @param array $options |
||
178 | */ |
||
179 | public function setCurlOptions(array $options) |
||
183 | |||
184 | /** |
||
185 | * Sets the impersonation property |
||
186 | * |
||
187 | * @param \jamesiarmes\PhpEws\Type\ExchangeImpersonationType $impersonation |
||
188 | */ |
||
189 | public function setImpersonation($impersonation) |
||
193 | |||
194 | /** |
||
195 | * Sets the password property |
||
196 | * |
||
197 | * @param string $password |
||
198 | */ |
||
199 | public function setPassword($password) |
||
203 | |||
204 | /** |
||
205 | * Sets the server property |
||
206 | * |
||
207 | * @param string $server |
||
208 | */ |
||
209 | public function setServer($server) |
||
213 | |||
214 | /** |
||
215 | * Sets the user name property |
||
216 | * |
||
217 | * @param string $username |
||
218 | */ |
||
219 | public function setUsername($username) |
||
223 | |||
224 | /** |
||
225 | * Sets the version property |
||
226 | * |
||
227 | * @param string $version |
||
228 | */ |
||
229 | public function setVersion($version) |
||
233 | |||
234 | /** |
||
235 | * Adds one or more delegates to a principal's mailbox and sets specific |
||
236 | * access permissions. |
||
237 | * |
||
238 | * @since Exchange 2007 SP1 |
||
239 | * |
||
240 | * @param \jamesiarmes\PhpEws\Request\AddDelegateType $request |
||
241 | * @return \jamesiarmes\PhpEws\Response\AddDelegateResponseMessageType |
||
242 | */ |
||
243 | public function AddDelegate($request) |
||
247 | |||
248 | /** |
||
249 | * Adds a distribution group to the instant messaging (IM) list in the |
||
250 | * Unified Contact Store. |
||
251 | * |
||
252 | * @since Exchange 2013 |
||
253 | * |
||
254 | * @param \jamesiarmes\PhpEws\Request\AddDistributionGroupToImListType $request |
||
255 | * @return \jamesiarmes\PhpEws\Response\AddDistributionGroupToImListResponseMessageType |
||
256 | */ |
||
257 | public function AddDistributionGroupToImList($request) |
||
261 | |||
262 | /** |
||
263 | * Adds an existing instant messaging (IM) contact to a group. |
||
264 | * |
||
265 | * @since Exchange 2013 |
||
266 | * |
||
267 | * @param \jamesiarmes\PhpEws\Request\AddImContactToGroup $request |
||
268 | * @return \jamesiarmes\PhpEws\Response\AddImContactToGroupResponseMessageType |
||
269 | */ |
||
270 | public function AddImContactToGroup($request) |
||
274 | |||
275 | /** |
||
276 | * Adds a new instant messaging (IM) group to a mailbox. |
||
277 | * |
||
278 | * @since Exchange 2013 |
||
279 | * |
||
280 | * @param \jamesiarmes\PhpEws\Request\AddImGroupType $request |
||
281 | * @return \jamesiarmes\PhpEws\Response\AddImGroupResponseMessageType |
||
282 | */ |
||
283 | public function AddImGroup($request) |
||
287 | |||
288 | /** |
||
289 | * Adds a new contact to an instant messaging (IM) group. |
||
290 | * |
||
291 | * @since Exchange 2013 |
||
292 | * |
||
293 | * @param \jamesiarmes\PhpEws\Request\AddNewImContactToGroup $request |
||
294 | * @return \jamesiarmes\PhpEws\Response\AddNewImContactToGroupResponseMessageType |
||
295 | */ |
||
296 | public function AddNewImContactToGroup($request) |
||
300 | |||
301 | /** |
||
302 | * Adds a new contact to a group based on a contact's phone number. |
||
303 | * |
||
304 | * @since Exchange 2013 |
||
305 | * |
||
306 | * @param \jamesiarmes\PhpEws\Request\AddNewTelUriContactToGroupType $request |
||
307 | * @return \jamesiarmes\PhpEws\Response\AddNewTelUriContactToGroupResponse |
||
308 | */ |
||
309 | public function AddNewTelUriContactToGroup($request) |
||
313 | |||
314 | /** |
||
315 | * Sets a one-time or follow up action on all the items in a conversation. |
||
316 | * |
||
317 | * This operation allows you to categorize, move, copy, delete, and set the |
||
318 | * read state on all items in a conversation. Actions can also be set for |
||
319 | * new messages in a conversation. |
||
320 | * |
||
321 | * @since Exchange 2010 SP1 |
||
322 | * |
||
323 | * @param \jamesiarmes\PhpEws\Request\ApplyConversationActionType $request |
||
324 | * @return \jamesiarmes\PhpEws\Response\ApplyConversationActionResponseType |
||
325 | */ |
||
326 | public function ApplyConversationAction($request) |
||
330 | |||
331 | /** |
||
332 | * Moves an item into the mailbox user's archive mailbox. |
||
333 | * |
||
334 | * @since Exchange 2013 |
||
335 | * |
||
336 | * @param \jamesiarmes\PhpEws\Request\ArchiveItemType $request |
||
337 | * @return \jamesiarmes\PhpEws\Response\ArchiveItemResponse |
||
338 | */ |
||
339 | public function ArchiveItem($request) |
||
343 | |||
344 | /** |
||
345 | * Converts item and folder identifiers between formats that are accepted by |
||
346 | * Exchange Online, Exchange Online as part of Office 365, and on-premises |
||
347 | * versions of Exchange. |
||
348 | * |
||
349 | * @since Exchange 2007 SP1 |
||
350 | * |
||
351 | * @param \jamesiarmes\PhpEws\Request\ConvertIdType $request |
||
352 | * @return \jamesiarmes\PhpEws\Response\ConvertIdResponseType |
||
353 | */ |
||
354 | public function ConvertId($request) |
||
358 | |||
359 | /** |
||
360 | * Copies folders in a mailbox. |
||
361 | * |
||
362 | * @since Exchange 2007 |
||
363 | * |
||
364 | * @param \jamesiarmes\PhpEws\Request\CopyFolderType $request |
||
365 | * @return \jamesiarmes\PhpEws\Response\CopyFolderResponseType |
||
366 | */ |
||
367 | public function CopyFolder($request) |
||
371 | |||
372 | /** |
||
373 | * Copies items and puts the items in a different folder. |
||
374 | * |
||
375 | * @since Exchange 2007 |
||
376 | * |
||
377 | * @param \jamesiarmes\PhpEws\Request\CopyItemType $request |
||
378 | * @return \jamesiarmes\PhpEws\Response\CopyItemResponseType |
||
379 | */ |
||
380 | public function CopyItem($request) |
||
384 | |||
385 | /** |
||
386 | * Creates either an item or file attachment and attaches it to the |
||
387 | * specified item. |
||
388 | * |
||
389 | * @since Exchange 2007 |
||
390 | * |
||
391 | * @param \jamesiarmes\PhpEws\Request\CreateAttachmentType $request |
||
392 | * @return \jamesiarmes\PhpEws\Response\CreateAttachmentResponseType |
||
393 | */ |
||
394 | public function CreateAttachment($request) |
||
398 | |||
399 | /** |
||
400 | * Creates folders, calendar folders, contacts folders, tasks folders, and |
||
401 | * search folders. |
||
402 | * |
||
403 | * @since Exchange 2007 |
||
404 | * |
||
405 | * @param \jamesiarmes\PhpEws\Request\CreateFolderType $request |
||
406 | * @return \jamesiarmes\PhpEws\Response\CreateFolderResponseType |
||
407 | */ |
||
408 | public function CreateFolder($request) |
||
412 | |||
413 | /** |
||
414 | * Creates a folder hierarchy. |
||
415 | * |
||
416 | * @since Exchange 2013 |
||
417 | * |
||
418 | * @param \jamesiarmes\PhpEws\Request\CreateFolderPathType $request |
||
419 | * @return \jamesiarmes\PhpEws\Response\CreateFolderPathResponseType |
||
420 | */ |
||
421 | public function CreateFolderPath($request) |
||
425 | |||
426 | /** |
||
427 | * Creates items in the Exchange store. |
||
428 | * |
||
429 | * @since Exchange 2007 |
||
430 | * |
||
431 | * @param \jamesiarmes\PhpEws\Request\CreateItemType $request |
||
432 | * @return \jamesiarmes\PhpEws\Response\CreateItemResponseType |
||
433 | */ |
||
434 | public function CreateItem($request) |
||
438 | |||
439 | /** |
||
440 | * Creates a managed folder in the Exchange store. |
||
441 | * |
||
442 | * @since Exchange 2007 |
||
443 | * |
||
444 | * @param \jamesiarmes\PhpEws\Request\CreateManagedFolderRequestType $request |
||
445 | * @return \jamesiarmes\PhpEws\Response\CreateManagedFolderResponseType |
||
446 | */ |
||
447 | public function CreateManagedFolder($request) |
||
451 | |||
452 | /** |
||
453 | * Creates a user configuration object on a folder. |
||
454 | * |
||
455 | * @since Exchange 2010 |
||
456 | * |
||
457 | * @param \jamesiarmes\PhpEws\Request\CreateUserConfigurationType $request |
||
458 | * @return \jamesiarmes\PhpEws\Response\CreateUserConfigurationResponseType |
||
459 | */ |
||
460 | public function CreateUserConfiguration($request) |
||
464 | |||
465 | /** |
||
466 | * Deletes file and item attachments from an existing item in the Exchange |
||
467 | * store. |
||
468 | * |
||
469 | * @since Exchange 2007 |
||
470 | * |
||
471 | * @param \jamesiarmes\PhpEws\Request\DeleteAttachmentType $request |
||
472 | * @return \jamesiarmes\PhpEws\Response\DeleteAttachmentResponseType |
||
473 | */ |
||
474 | public function DeleteAttachment($request) |
||
478 | |||
479 | /** |
||
480 | * Deletes folders from a mailbox. |
||
481 | * |
||
482 | * @since Exchange 2007 |
||
483 | * |
||
484 | * @param \jamesiarmes\PhpEws\Request\DeleteFolderType $request |
||
485 | * @return \jamesiarmes\PhpEws\Response\DeleteFolderResponseType |
||
486 | */ |
||
487 | public function DeleteFolder($request) |
||
491 | |||
492 | /** |
||
493 | * Deletes items in the Exchange store. |
||
494 | * |
||
495 | * @since Exchange 2007 |
||
496 | * |
||
497 | * @param \jamesiarmes\PhpEws\Request\DeleteItemType $request |
||
498 | * @return \jamesiarmes\PhpEws\Response\DeleteItemResponseType |
||
499 | */ |
||
500 | public function DeleteItem($request) |
||
504 | |||
505 | /** |
||
506 | * Deletes a user configuration object on a folder. |
||
507 | * |
||
508 | * @since Exchange 2010 |
||
509 | * |
||
510 | * @param \jamesiarmes\PhpEws\Request\DeleteUserConfigurationType $request |
||
511 | * @return \jamesiarmes\PhpEws\Response\DeleteUserConfigurationResponseType |
||
512 | */ |
||
513 | public function DeleteUserConfiguration($request) |
||
517 | |||
518 | /** |
||
519 | * Disables a mail app for Outlook. |
||
520 | * |
||
521 | * @since Exchange 2013 |
||
522 | * |
||
523 | * @param \jamesiarmes\PhpEws\Request\DisableAppType $request |
||
524 | * @return \jamesiarmes\PhpEws\Response\DisableAppResponseType |
||
525 | */ |
||
526 | public function DisableApp($request) |
||
530 | |||
531 | /** |
||
532 | * Terminates a telephone call. |
||
533 | * |
||
534 | * @since Exchange 2010 |
||
535 | * |
||
536 | * @param \jamesiarmes\PhpEws\Request\DisconnectPhoneCallType $request |
||
537 | * @return \jamesiarmes\PhpEws\Response\DisconnectPhoneCallResponseMessageType |
||
538 | */ |
||
539 | public function DisconnectPhoneCall($request) |
||
543 | |||
544 | /** |
||
545 | * Empties folders in a mailbox. |
||
546 | * |
||
547 | * Optionally, this operation enables you to delete the subfolders of the |
||
548 | * specified folder. When a subfolder is deleted, the subfolder and the |
||
549 | * messages within the subfolder are deleted. |
||
550 | * |
||
551 | * @since Exchange 2010 |
||
552 | * |
||
553 | * @param \jamesiarmes\PhpEws\Request\EmptyFolderType $request |
||
554 | * @return \jamesiarmes\PhpEws\Response\EmptyFolderResponseType |
||
555 | */ |
||
556 | public function EmptyFolder($request) |
||
560 | |||
561 | /** |
||
562 | * Exposes the full membership of distribution lists. |
||
563 | * |
||
564 | * @since Exchange 2007 |
||
565 | * |
||
566 | * @param \jamesiarmes\PhpEws\Request\ExpandDLType $request |
||
567 | * @return \jamesiarmes\PhpEws\Response\ExpandDLResponseType |
||
568 | */ |
||
569 | public function ExpandDL($request) |
||
573 | |||
574 | /** |
||
575 | * Exports items out of a mailbox. |
||
576 | * |
||
577 | * @since Exchange 2010 SP1 |
||
578 | * |
||
579 | * @param \jamesiarmes\PhpEws\Request\ExportItemsType $request |
||
580 | * @return \jamesiarmes\PhpEws\Response\ExportItemsResponseType |
||
581 | */ |
||
582 | public function ExportItems($request) |
||
586 | |||
587 | /** |
||
588 | * Enumerates a list of conversations in a folder. |
||
589 | * |
||
590 | * @param \jamesiarmes\PhpEws\Request\FindConversationType $request |
||
591 | * @return \jamesiarmes\PhpEws\Response\FindConversationResponseMessageType |
||
592 | */ |
||
593 | public function FindConversation($request) |
||
597 | |||
598 | /** |
||
599 | * Finds subfolders of an identified folder and returns a set of properties |
||
600 | * that describe the set of subfolders. |
||
601 | * |
||
602 | * @since Exchange 2007 |
||
603 | * |
||
604 | * @param \jamesiarmes\PhpEws\Request\FindFolderType $request |
||
605 | * @return \jamesiarmes\PhpEws\Response\FindFolderResponseType |
||
606 | */ |
||
607 | public function FindFolder($request) |
||
611 | |||
612 | /** |
||
613 | * Searches for items that are located in a user’s mailbox. |
||
614 | * |
||
615 | * This operation provides many ways to filter and format how search results |
||
616 | * are returned to the caller. |
||
617 | * |
||
618 | * @since Exchange 2007 |
||
619 | * |
||
620 | * @param \jamesiarmes\PhpEws\Request\FindItemType $request |
||
621 | * @return \jamesiarmes\PhpEws\Response\FindItemResponseType |
||
622 | */ |
||
623 | public function FindItem($request) |
||
627 | |||
628 | /** |
||
629 | * Finds messages that meet the specified criteria. |
||
630 | * |
||
631 | * @since Exchange 2010 |
||
632 | * |
||
633 | * @param \jamesiarmes\PhpEws\Request\FindMessageTrackingReportRequestType $request |
||
634 | * @return \jamesiarmes\PhpEws\Response\FindMessageTrackingReportResponseMessageType |
||
635 | */ |
||
636 | public function FindMessageTrackingReport($request) |
||
640 | |||
641 | /** |
||
642 | * Returns all persona objects from a specified Contacts folder or retrieves |
||
643 | * contacts that match a specified query string. |
||
644 | * |
||
645 | * @since Exchange 2013 |
||
646 | * |
||
647 | * @param \jamesiarmes\PhpEws\Request\FindPeopleType $request |
||
648 | * @return \jamesiarmes\PhpEws\Response\FindPeopleResponseMessageType |
||
649 | */ |
||
650 | public function FindPeople($request) |
||
654 | |||
655 | /** |
||
656 | * Retrieves app manifests. |
||
657 | * |
||
658 | * @since Exchange 2013 SP1 |
||
659 | * |
||
660 | * @param \jamesiarmes\PhpEws\Request\GetAppManifestsType $request |
||
661 | * @return \jamesiarmes\PhpEws\Response\GetAppManifestsResponseType |
||
662 | */ |
||
663 | public function GetAppManifests($request) |
||
667 | |||
668 | /** |
||
669 | * Retrieves the URL for the app marketplace that a client can visit to |
||
670 | * acquire apps to install in a mailbox. |
||
671 | * |
||
672 | * @since Exchange 2013 SP1 |
||
673 | * |
||
674 | * @param \jamesiarmes\PhpEws\Request\GetAppMarketplaceUrl $request |
||
675 | * @return \jamesiarmes\PhpEws\Response\GetAppMarketplaceUrlResponseMessageType |
||
676 | */ |
||
677 | public function GetAppMarketplaceUrl($request) |
||
681 | |||
682 | /** |
||
683 | * Retrieves existing attachments on items in the Exchange store. |
||
684 | * |
||
685 | * @since Exchange 2007 |
||
686 | * |
||
687 | * @param \jamesiarmes\PhpEws\Request\GetAttachmentType $request |
||
688 | * @return \jamesiarmes\PhpEws\Response\GetAttachmentResponseType |
||
689 | */ |
||
690 | public function GetAttachment($request) |
||
694 | |||
695 | /** |
||
696 | * Gets a client access token for a mail app for Outlook. |
||
697 | * |
||
698 | * @since Exchange 2013 |
||
699 | * |
||
700 | * @param \jamesiarmes\PhpEws\Request\GetClientAccessTokenType $request |
||
701 | * @return \jamesiarmes\PhpEws\Response\GetClientAccessTokenResponseType |
||
702 | */ |
||
703 | public function GetClientAccessToken($request) |
||
707 | |||
708 | /** |
||
709 | * Retrieves one or more sets of items that are organized in to nodes in a |
||
710 | * conversation. |
||
711 | * |
||
712 | * @since Exchange 2013 |
||
713 | * |
||
714 | * @param \jamesiarmes\PhpEws\Request\GetConversationItemsType $request |
||
715 | * @return \jamesiarmes\PhpEws\Response\GetConversationItemsResponseType |
||
716 | */ |
||
717 | public function GetConversationItems($request) |
||
721 | |||
722 | /** |
||
723 | * Retrieves the delegate settings for a specified mailbox. |
||
724 | * |
||
725 | * @since Exchange 2007 SP1 |
||
726 | * |
||
727 | * @param \jamesiarmes\PhpEws\Request\GetDelegateType $request |
||
728 | * @return \jamesiarmes\PhpEws\Response\GetDelegateResponseMessageType |
||
729 | */ |
||
730 | public function GetDelegate($request) |
||
734 | |||
735 | /** |
||
736 | * Returns configuration information for in-place holds, saved discovery |
||
737 | * searches, and the mailboxes that are enabled for discovery search. |
||
738 | * |
||
739 | * @since Exchange 2013 |
||
740 | * |
||
741 | * @param \jamesiarmes\PhpEws\Request\GetDiscoverySearchConfigurationType $request |
||
742 | * @return \jamesiarmes\PhpEws\Response\GetDiscoverySearchConfigurationResponseMessageType |
||
743 | */ |
||
744 | public function GetDiscoverySearchConfiguration($request) |
||
748 | |||
749 | /** |
||
750 | * Used by pull subscription clients to request notifications from the |
||
751 | * Client Access server. |
||
752 | * |
||
753 | * The response returns an array of items and events that have occurred in a |
||
754 | * mailbox since the last the notification. |
||
755 | * |
||
756 | * @since Exchange 2007 |
||
757 | * |
||
758 | * @param \jamesiarmes\PhpEws\Request\GetEventsType $request |
||
759 | * @return \jamesiarmes\PhpEws\Response\GetEventsResponseType |
||
760 | */ |
||
761 | public function GetEvents($request) |
||
765 | |||
766 | /** |
||
767 | * Gets folders from the Exchange store. |
||
768 | * |
||
769 | * @since Exchange 2007 |
||
770 | * |
||
771 | * @param \jamesiarmes\PhpEws\Request\GetFolderType $request |
||
772 | * @return \jamesiarmes\PhpEws\Response\GetFolderResponseType |
||
773 | */ |
||
774 | public function GetFolder($request) |
||
778 | |||
779 | /** |
||
780 | * Retrieves the mailboxes that are under a specific hold and the associated |
||
781 | * hold query. |
||
782 | * |
||
783 | * @since Exchange 2013 |
||
784 | * |
||
785 | * @param \jamesiarmes\PhpEws\Request\GetHoldOnMailboxesType $request |
||
786 | * @return \jamesiarmes\PhpEws\Response\GetHoldOnMailboxesResponseMessageType |
||
787 | */ |
||
788 | public function GetHoldOnMailboxes($request) |
||
792 | |||
793 | /** |
||
794 | * Retrieves the list of instant messaging (IM) groups and IM contact |
||
795 | * personas in a mailbox. |
||
796 | * |
||
797 | * @since Exchange 2013 |
||
798 | * |
||
799 | * @param \jamesiarmes\PhpEws\Request\GetImItemListType $request |
||
800 | * @return \jamesiarmes\PhpEws\Response\GetImItemListResponseMessageType |
||
801 | */ |
||
802 | public function GetImItemList($request) |
||
806 | |||
807 | /** |
||
808 | * Retrieves information about instant messaging (IM) groups and IM contact |
||
809 | * personas. |
||
810 | * |
||
811 | * @since Exchange 2013 |
||
812 | * |
||
813 | * @param \jamesiarmes\PhpEws\Request\GetImItemsType $request |
||
814 | * @return \jamesiarmes\PhpEws\Response\GetImItemsResponse |
||
815 | */ |
||
816 | public function GetImItems($request) |
||
820 | |||
821 | /** |
||
822 | * Retrieves Inbox rules in the identified user's mailbox. |
||
823 | * |
||
824 | * @since Exchange 2010 |
||
825 | * |
||
826 | * @param \jamesiarmes\PhpEws\Request\GetInboxRulesRequestType $request |
||
827 | * @return \jamesiarmes\PhpEws\Response\GetInboxRulesResponseType |
||
828 | */ |
||
829 | public function GetInboxRules($request) |
||
833 | |||
834 | /** |
||
835 | * Gets folders from the Exchange store. |
||
836 | * |
||
837 | * @since Exchange 2007 |
||
838 | * |
||
839 | * @param \jamesiarmes\PhpEws\Request\GetItemType $request |
||
840 | * @return \jamesiarmes\PhpEws\Response\GetItemResponseType |
||
841 | */ |
||
842 | public function GetItem($request) |
||
846 | |||
847 | /** |
||
848 | * Retrieves the mail tips information for the specified mailbox. |
||
849 | * |
||
850 | * @since Exchange 2010 |
||
851 | * |
||
852 | * @param \jamesiarmes\PhpEws\Request\GetMailTipsType $request |
||
853 | * @return \jamesiarmes\PhpEws\Response\GetMailTipsResponseMessageType |
||
854 | */ |
||
855 | public function GetMailTips($request) |
||
859 | |||
860 | /** |
||
861 | * Retrieves tracking information about the specified messages. |
||
862 | * |
||
863 | * @since Exchange 2010 |
||
864 | * |
||
865 | * @param \jamesiarmes\PhpEws\Request\GetMessageTrackingReportRequestType $request |
||
866 | * @return \jamesiarmes\PhpEws\Response\GetMessageTrackingReportResponseMessageType |
||
867 | */ |
||
868 | public function GetMessageTrackingReport($request) |
||
872 | |||
873 | /** |
||
874 | * Retrieves details about items that cannot be indexed. |
||
875 | * |
||
876 | * This includes, but is not limited to, the item identifier, an error code, |
||
877 | * an error description, when an attempt was made to index the item, and |
||
878 | * additional information about the file. |
||
879 | * |
||
880 | * @since Exchange 2013 |
||
881 | * |
||
882 | * @param \jamesiarmes\PhpEws\Request\GetNonIndexableItemDetailsType $request |
||
883 | * @return \jamesiarmes\PhpEws\Response\GetNonIndexableItemDetailsResponseMessageType |
||
884 | */ |
||
885 | public function GetNonIndexableItemDetails($request) |
||
889 | |||
890 | /** |
||
891 | * Retrieves the count of items that cannot be indexed in a mailbox. |
||
892 | * |
||
893 | * @since Exchange 2013 |
||
894 | * |
||
895 | * @param \jamesiarmes\PhpEws\Request\GetNonIndexableItemStatisticsType $request |
||
896 | * @return \jamesiarmes\PhpEws\Response\GetNonIndexableItemStatisticsResponseMessageType |
||
897 | */ |
||
898 | public function GetNonIndexableItemStatistics($request) |
||
902 | |||
903 | /** |
||
904 | * Provides the email account password expiration date for the current user. |
||
905 | * |
||
906 | * @since Exchange 2010 SP2 |
||
907 | * |
||
908 | * @param \jamesiarmes\PhpEws\Request\GetPasswordExpirationDateType $request |
||
909 | * @return \jamesiarmes\PhpEws\Response\GetPasswordExpirationDateResponseMessageType |
||
910 | */ |
||
911 | public function GetPasswordExpirationDate($request) |
||
915 | |||
916 | /** |
||
917 | * Retrieves a set of properties that are associated with a persona. |
||
918 | * |
||
919 | * @since Exchange 2013 |
||
920 | * |
||
921 | * @param \jamesiarmes\PhpEws\Request\GetPersonaType $request |
||
922 | * @return \jamesiarmes\PhpEws\Response\GetPersonaResponseMessageType |
||
923 | */ |
||
924 | public function GetPersona($request) |
||
928 | |||
929 | /** |
||
930 | * Retrieves information about the specified telephone call. |
||
931 | * |
||
932 | * @since Exchange 2010 |
||
933 | * |
||
934 | * @param \jamesiarmes\PhpEws\Request\GetPhoneCallInformationType $request |
||
935 | * @return \jamesiarmes\PhpEws\Response\GetPhoneCallInformationResponseMessageType |
||
936 | */ |
||
937 | public function GetPhoneCallInformation($request) |
||
941 | |||
942 | /** |
||
943 | * Retrieves reminders for calendar and task items. |
||
944 | * |
||
945 | * @since Exchange 2013 |
||
946 | * |
||
947 | * @param \jamesiarmes\PhpEws\Request\GetRemindersType $request |
||
948 | * @return \jamesiarmes\PhpEws\Response\GetRemindersResponseMessageType |
||
949 | */ |
||
950 | public function GetReminders($request) |
||
954 | |||
955 | /** |
||
956 | * Retrieves the room lists that are available within the Exchange |
||
957 | * organization. |
||
958 | * |
||
959 | * @since Exchange 2010 |
||
960 | * |
||
961 | * @param \jamesiarmes\PhpEws\Request\GetRoomListsType $request |
||
962 | * @return \jamesiarmes\PhpEws\Response\GetRoomListsResponseMessageType |
||
963 | */ |
||
964 | public function GetRoomLists($request) |
||
968 | |||
969 | /** |
||
970 | * Retrieves the rooms within the specified room list. |
||
971 | * |
||
972 | * @since Exchange 2010 SP1 |
||
973 | * |
||
974 | * @param \jamesiarmes\PhpEws\Request\GetRoomsType $request |
||
975 | * @return \jamesiarmes\PhpEws\Response\GetRoomsResponseMessageType |
||
976 | */ |
||
977 | public function GetRooms($request) |
||
981 | |||
982 | /** |
||
983 | * Retrieves a scoped set of searchable mailboxes for discovery searches. |
||
984 | * |
||
985 | * The scope of searchable mailboxes returned in the response is determined |
||
986 | * by the search filter and whether distribution group membership is |
||
987 | * expanded. |
||
988 | * |
||
989 | * @since Exchange 2013 |
||
990 | * |
||
991 | * @param \jamesiarmes\PhpEws\Request\GetSearchableMailboxesType $request |
||
992 | * @return \jamesiarmes\PhpEws\Response\GetSearchableMailboxesResponseMessageType |
||
993 | */ |
||
994 | public function GetSearchableMailboxes($request) |
||
998 | |||
999 | /** |
||
1000 | * Retrieve the timezones supported by the server. |
||
1001 | * |
||
1002 | * @since Exchange 2010 |
||
1003 | * |
||
1004 | * @param \jamesiarmes\PhpEws\Request\GetServerTimeZonesType $request |
||
1005 | * @return \jamesiarmes\PhpEws\Response\GetServerTimeZonesResponseType |
||
1006 | */ |
||
1007 | public function GetServerTimeZones($request) |
||
1011 | |||
1012 | /** |
||
1013 | * Retrieves configuration information for the specified type of service. |
||
1014 | * |
||
1015 | * This operation can return configuration settings for the Unified |
||
1016 | * Messaging, Protection Rules, and Mail Tips services. |
||
1017 | * |
||
1018 | * @since Exchange 2010 |
||
1019 | * |
||
1020 | * @param \jamesiarmes\PhpEws\Request\GetServiceConfigurationType $request |
||
1021 | * @return \jamesiarmes\PhpEws\Response\GetServiceConfigurationResponseMessageType |
||
1022 | */ |
||
1023 | public function GetServiceConfiguration($request) |
||
1027 | |||
1028 | /** |
||
1029 | * Retrieves the local folder identifier of a specified shared folder. |
||
1030 | * |
||
1031 | * @since Exchange 2010 |
||
1032 | * |
||
1033 | * @param \jamesiarmes\PhpEws\Request\GetSharingFolderType $request |
||
1034 | * @return \jamesiarmes\PhpEws\Response\GetSharingFolderResponseMessageType |
||
1035 | */ |
||
1036 | public function GetSharingFolder($request) |
||
1040 | |||
1041 | /** |
||
1042 | * Gets an opaque authentication token that identifies a sharing invitation. |
||
1043 | * |
||
1044 | * @since Exchange 2010 |
||
1045 | * |
||
1046 | * @param \jamesiarmes\PhpEws\Request\GetSharingMetadataType $request |
||
1047 | * @return \jamesiarmes\PhpEws\Response\GetSharingMetadataResponseMessageType |
||
1048 | */ |
||
1049 | public function GetSharingMetadata($request) |
||
1053 | |||
1054 | /** |
||
1055 | * Requests notifications from the Client Access server. |
||
1056 | * |
||
1057 | * The GetStreamingEvents response returns an array of items and events that |
||
1058 | * have occurred in a mailbox since the last the notification. |
||
1059 | * |
||
1060 | * @since Exchange 2010 SP1 |
||
1061 | * |
||
1062 | * @param \jamesiarmes\PhpEws\Request\GetStreamingEventsType $request |
||
1063 | * @return \jamesiarmes\PhpEws\Response\GetStreamingEventsResponseType |
||
1064 | */ |
||
1065 | public function GetStreamingEvents($request) |
||
1069 | |||
1070 | /** |
||
1071 | * Provides detailed information about the availability of a set of users, |
||
1072 | * rooms, and resources within a specified time period. |
||
1073 | * |
||
1074 | * @since Exchange 2007 |
||
1075 | * |
||
1076 | * @param \jamesiarmes\PhpEws\Request\GetUserAvailabilityRequestType $request |
||
1077 | * @return \jamesiarmes\PhpEws\Response\GetUserAvailabilityResponseType |
||
1078 | */ |
||
1079 | public function GetUserAvailability($request) |
||
1083 | |||
1084 | /** |
||
1085 | * Retrieves a user configuration object from a folder. |
||
1086 | * |
||
1087 | * @since Exchange 2010 |
||
1088 | * |
||
1089 | * @param \jamesiarmes\PhpEws\Request\GetUserConfigurationType $request |
||
1090 | * @return \jamesiarmes\PhpEws\Response\GetUserConfigurationResponseType |
||
1091 | */ |
||
1092 | public function GetUserConfiguration($request) |
||
1096 | |||
1097 | /** |
||
1098 | * Gets a mailbox user's Out of Office (OOF) settings and messages. |
||
1099 | * |
||
1100 | * @since Exchange 2007 |
||
1101 | * |
||
1102 | * @param \jamesiarmes\PhpEws\Request\GetUserOofSettingsRequest $request |
||
1103 | * @return \jamesiarmes\PhpEws\Response\GetUserOofSettingsResponse |
||
1104 | */ |
||
1105 | public function GetUserOofSettings($request) |
||
1109 | |||
1110 | /** |
||
1111 | * Retrieves a user photo from Active Directory Domain Services (AD DS). |
||
1112 | * |
||
1113 | * @since Exchange 2013 |
||
1114 | * |
||
1115 | * @param \jamesiarmes\PhpEws\Request\GetUserPhotoType $request |
||
1116 | * @return \jamesiarmes\PhpEws\Response\GetUserPhotoResponseMessageType |
||
1117 | */ |
||
1118 | public function GetUserPhoto($request) |
||
1122 | |||
1123 | /** |
||
1124 | * Retrieves a list of all default, system folder, and personal tags that |
||
1125 | * are associated with a user by means of a system policy or that were |
||
1126 | * applied by the user. |
||
1127 | * |
||
1128 | * @since Exchange 2013 |
||
1129 | * |
||
1130 | * @param \jamesiarmes\PhpEws\Request\GetUserRetentionPolicyTagsType $request |
||
1131 | * @return \jamesiarmes\PhpEws\Response\GetUserRetentionPolicyTagsResponseMessageType |
||
1132 | */ |
||
1133 | public function GetUserRetentionPolicyTags($request) |
||
1137 | |||
1138 | /** |
||
1139 | * Installs a mail app for Outlook in a mailbox. |
||
1140 | * |
||
1141 | * @since Exchange 2013 |
||
1142 | * |
||
1143 | * @param \jamesiarmes\PhpEws\Request\InstallAppType $request |
||
1144 | * @return \jamesiarmes\PhpEws\Response\InstallAppResponseType |
||
1145 | */ |
||
1146 | public function InstallApp($request) |
||
1150 | |||
1151 | /** |
||
1152 | * Sets the IsRead property on all items, in one or more folders, to |
||
1153 | * indicate that all items are either read or unread. |
||
1154 | * |
||
1155 | * @since Exchange 2013 |
||
1156 | * |
||
1157 | * @param \jamesiarmes\PhpEws\Request\MarkAllItemsAsRead $request |
||
1158 | * @return \jamesiarmes\PhpEws\Response\MarkAllItemsAsReadResponseType |
||
1159 | */ |
||
1160 | public function MarkAllItemsAsRead($request) |
||
1164 | |||
1165 | /** |
||
1166 | * Adds and removes users from the blocked email list and moves email |
||
1167 | * messages to the Junk Email folder. |
||
1168 | * |
||
1169 | * @since Exchange 2013 |
||
1170 | * |
||
1171 | * @param \jamesiarmes\PhpEws\Request\MarkAsJunkType $request |
||
1172 | * @return \jamesiarmes\PhpEws\Response\MarkAsJunkResponseType |
||
1173 | */ |
||
1174 | public function MarkAsJunk($request) |
||
1178 | |||
1179 | /** |
||
1180 | * Moves folders from a specified folder and puts them in another folder. |
||
1181 | * |
||
1182 | * @since Exchange 2007 |
||
1183 | * |
||
1184 | * @param \jamesiarmes\PhpEws\Request\MoveFolderType $request |
||
1185 | * @return \jamesiarmes\PhpEws\Response\MoveFolderResponseType |
||
1186 | */ |
||
1187 | public function MoveFolder($request) |
||
1191 | |||
1192 | /** |
||
1193 | * Moves one or more items to a single destination folder. |
||
1194 | * |
||
1195 | * @since Exchange 2007 |
||
1196 | * |
||
1197 | * @param \jamesiarmes\PhpEws\Request\MoveItemType $request |
||
1198 | * @return \jamesiarmes\PhpEws\Response\MoveItemResponseType |
||
1199 | */ |
||
1200 | public function MoveItem($request) |
||
1204 | |||
1205 | /** |
||
1206 | * Initiates a dismiss or snooze action on a reminder. |
||
1207 | * |
||
1208 | * @since Exchange 2013 |
||
1209 | * |
||
1210 | * @param \jamesiarmes\PhpEws\Request\PerformReminderActionType $request |
||
1211 | * @return \jamesiarmes\PhpEws\Response\PerformReminderActionResponseMessageType |
||
1212 | */ |
||
1213 | public function PerformReminderAction($request) |
||
1217 | |||
1218 | /** |
||
1219 | * Initiates an outbound call and plays a message over the telephone. |
||
1220 | * |
||
1221 | * @since Exchange 2010 |
||
1222 | * |
||
1223 | * @param \jamesiarmes\PhpEws\Request\PlayOnPhoneType $request |
||
1224 | * @return \jamesiarmes\PhpEws\Response\PlayOnPhoneResponseMessageType |
||
1225 | */ |
||
1226 | public function PlayOnPhone($request) |
||
1230 | |||
1231 | /** |
||
1232 | * Refreshes the specified local folder with the latest data from the folder |
||
1233 | * that is being shared. |
||
1234 | * |
||
1235 | * @since Exchange 2010 |
||
1236 | * |
||
1237 | * @param \jamesiarmes\PhpEws\Request\RefreshSharingFolderType $request |
||
1238 | * @return \jamesiarmes\PhpEws\Response\RefreshSharingFolderResponseMessageType |
||
1239 | */ |
||
1240 | public function RefreshSharingFolder($request) |
||
1244 | |||
1245 | /** |
||
1246 | * Removes contacts from the Lync instant messaging (IM) list when Lync uses |
||
1247 | * Exchange for the contact store. |
||
1248 | * |
||
1249 | * @since Exchange 2013 |
||
1250 | * |
||
1251 | * @param \jamesiarmes\PhpEws\Request\RemoveContactFromImListType $request |
||
1252 | * @return \jamesiarmes\PhpEws\Response\RemoveContactFromImListResponseMessageType |
||
1253 | */ |
||
1254 | public function RemoveContactFromImList($request) |
||
1258 | |||
1259 | /** |
||
1260 | * Removes one or more delegates from a user's mailbox. |
||
1261 | * |
||
1262 | * @since Exchange 2007 SP1 |
||
1263 | * |
||
1264 | * @param \jamesiarmes\PhpEws\Request\RemoveDelegateType $request |
||
1265 | * @return \jamesiarmes\PhpEws\Response\RemoveDelegateResponseMessageType |
||
1266 | */ |
||
1267 | public function RemoveDelegate($request) |
||
1271 | |||
1272 | /** |
||
1273 | * Removes a distribution group from the Lync instant messaging (IM) list |
||
1274 | * when Lync uses Exchange for the contact store. |
||
1275 | * |
||
1276 | * @since Exchange 2013 |
||
1277 | * |
||
1278 | * @param \jamesiarmes\PhpEws\Request\RemoveDistributionGroupFromImListType $request |
||
1279 | * @return \jamesiarmes\PhpEws\Response\RemoveDistributionGroupFromImListResponseMessageType |
||
1280 | */ |
||
1281 | public function RemoveDistributionGroupFromImList($request) |
||
1285 | |||
1286 | /** |
||
1287 | * Removes a single IM contact from an IM group. |
||
1288 | * |
||
1289 | * @since Exchange 2013 |
||
1290 | * |
||
1291 | * @param \jamesiarmes\PhpEws\Request\RemoveImContactFromGroupType $request |
||
1292 | * @return \jamesiarmes\PhpEws\Response\RemoveImContactFromGroupResponseMessageType |
||
1293 | */ |
||
1294 | public function RemoveImContactFromGroup($request) |
||
1298 | |||
1299 | /** |
||
1300 | * Removes a single instant messaging (IM) group from a mailbox. |
||
1301 | * |
||
1302 | * @since Exchange 2013 |
||
1303 | * |
||
1304 | * @param \jamesiarmes\PhpEws\Request\RemoveImGroupType $request |
||
1305 | * @return \jamesiarmes\PhpEws\Response\RemoveImGroupResponseMessageType |
||
1306 | */ |
||
1307 | public function RemoveImGroup($request) |
||
1311 | |||
1312 | /** |
||
1313 | * Resolves ambiguous email addresses and display names. |
||
1314 | * |
||
1315 | * @since Exchange 2007 |
||
1316 | * |
||
1317 | * @param \jamesiarmes\PhpEws\Request\ResolveNamesType $request |
||
1318 | * @return \jamesiarmes\PhpEws\Response\ResolveNamesResponseType |
||
1319 | */ |
||
1320 | public function ResolveNames($request) |
||
1324 | |||
1325 | /** |
||
1326 | * Searches mailboxes for occurrences of terms in mailbox items. |
||
1327 | * |
||
1328 | * @since Exchange 2013 |
||
1329 | * |
||
1330 | * @param \jamesiarmes\PhpEws\Request\SearchMailboxesType $request |
||
1331 | * @return \jamesiarmes\PhpEws\Response\SearchMailboxesResponseType |
||
1332 | */ |
||
1333 | public function SearchMailboxes($request) |
||
1337 | |||
1338 | /** |
||
1339 | * Sends e-mail messages that are located in the Exchange store. |
||
1340 | * |
||
1341 | * @since Exchange 2007 |
||
1342 | * |
||
1343 | * @param \jamesiarmes\PhpEws\Request\SendItemType $request |
||
1344 | * @return \jamesiarmes\PhpEws\Response\SendItemResponseType |
||
1345 | */ |
||
1346 | public function SendItem($request) |
||
1350 | |||
1351 | /** |
||
1352 | * Sets a mailbox hold policy on mailboxes. |
||
1353 | * |
||
1354 | * @since Exchange 2013 |
||
1355 | * |
||
1356 | * @param \jamesiarmes\PhpEws\Request\SetHoldOnMailboxesType $request |
||
1357 | * @return \jamesiarmes\PhpEws\Response\SetHoldOnMailboxesResponseMessageType |
||
1358 | */ |
||
1359 | public function SetHoldOnMailboxes($request) |
||
1363 | |||
1364 | /** |
||
1365 | * Changes the display name of an instant messaging (IM) group. |
||
1366 | * |
||
1367 | * @since Exchange 2013 |
||
1368 | * |
||
1369 | * @param \jamesiarmes\PhpEws\Request\SetImGroupType $request |
||
1370 | * @return \jamesiarmes\PhpEws\Response\SetImGroupResponseMessageType |
||
1371 | */ |
||
1372 | public function SetImGroup($request) |
||
1376 | |||
1377 | /** |
||
1378 | * Sets a mailbox user's Out of Office (OOF) settings and message. |
||
1379 | * |
||
1380 | * @since Exchange 2007 |
||
1381 | * |
||
1382 | * @param \jamesiarmes\PhpEws\Request\SetUserOofSettingsRequest $request |
||
1383 | * @return \jamesiarmes\PhpEws\Response\SetUserOofSettingsResponse |
||
1384 | */ |
||
1385 | public function SetUserOofSettings($request) |
||
1389 | |||
1390 | /** |
||
1391 | * Subscribes client applications to either push or pull notifications. |
||
1392 | * |
||
1393 | * It is important to be aware that the structure of the request messages |
||
1394 | * and responses is different depending on the type of event notification. |
||
1395 | * |
||
1396 | * @since Exchange 2007 |
||
1397 | * |
||
1398 | * @param \jamesiarmes\PhpEws\Request\SubscribeType $request |
||
1399 | * @return \jamesiarmes\PhpEws\Response\SubscribeResponseType |
||
1400 | */ |
||
1401 | public function Subscribe($request) |
||
1405 | |||
1406 | /** |
||
1407 | * Synchronizes folders between the computer that is running Microsoft |
||
1408 | * Exchange Server and the client. |
||
1409 | * |
||
1410 | * @since Exchange 2007 |
||
1411 | * |
||
1412 | * @param \jamesiarmes\PhpEws\Request\SyncFolderHierarchyType $request |
||
1413 | * @return \jamesiarmes\PhpEws\Response\SyncFolderHierarchyResponseType |
||
1414 | */ |
||
1415 | public function SyncFolderHierarchy($request) |
||
1419 | |||
1420 | /** |
||
1421 | * Synchronizes items between the Exchange server and the client. |
||
1422 | * |
||
1423 | * @since Exchange 2007 |
||
1424 | * |
||
1425 | * @param \jamesiarmes\PhpEws\Request\SyncFolderItemsType $request |
||
1426 | * @return \jamesiarmes\PhpEws\Response\SyncFolderItemsResponseType |
||
1427 | */ |
||
1428 | public function SyncFolderItems($request) |
||
1432 | |||
1433 | /** |
||
1434 | * Uninstalls a mail app for Outlook. |
||
1435 | * |
||
1436 | * @since Exchange 2013 |
||
1437 | * |
||
1438 | * @param \jamesiarmes\PhpEws\Request\UninstallAppType $request |
||
1439 | * @return \jamesiarmes\PhpEws\Response\UninstallAppResponseType |
||
1440 | */ |
||
1441 | public function UninstallApp($request) |
||
1445 | |||
1446 | /** |
||
1447 | * Ends a pull notification subscription. |
||
1448 | * |
||
1449 | * Use this operation rather than letting a subscription timeout. This |
||
1450 | * operation is only valid for pull notifications. |
||
1451 | * |
||
1452 | * @since Exchange 2007 |
||
1453 | * |
||
1454 | * @param \jamesiarmes\PhpEws\Request\UnsubscribeType $request |
||
1455 | * @return \jamesiarmes\PhpEws\Response\UnsubscribeResponseType |
||
1456 | */ |
||
1457 | public function Unsubscribe($request) |
||
1461 | |||
1462 | /** |
||
1463 | * Updates delegate permissions on a principal's mailbox. |
||
1464 | * |
||
1465 | * @since Exchange 2007 SP1 |
||
1466 | * |
||
1467 | * @param \jamesiarmes\PhpEws\Request\UpdateDelegateType $request |
||
1468 | * @return \jamesiarmes\PhpEws\Response\UpdateDelegateResponseMessageType |
||
1469 | */ |
||
1470 | public function UpdateDelegate($request) |
||
1474 | |||
1475 | /** |
||
1476 | * Modifies properties of an existing item in the Exchange store. |
||
1477 | * |
||
1478 | * Each UpdateFolder operation consists of the following: |
||
1479 | * - A FolderId element that specifies a folder to update. |
||
1480 | * - An internal path of an element in the folder, as specified by the |
||
1481 | * folder shape, which specifies the data to update. |
||
1482 | * - A folder that contains the new value of the updated field, if the |
||
1483 | * update is not a deletion. |
||
1484 | * |
||
1485 | * @since Exchange 2007 |
||
1486 | * |
||
1487 | * @param \jamesiarmes\PhpEws\Request\UpdateFolderType $request |
||
1488 | * @return \jamesiarmes\PhpEws\Response\UpdateFolderResponseType |
||
1489 | */ |
||
1490 | public function UpdateFolder($request) |
||
1494 | |||
1495 | /** |
||
1496 | * Updates the authenticated user's Inbox rules by applying the specified |
||
1497 | * operations. |
||
1498 | * |
||
1499 | * This operation is used to create an Inbox rule, to set an Inbox rule, or |
||
1500 | * to delete an Inbox rule. |
||
1501 | * |
||
1502 | * @since Exchange 2010 SP1 |
||
1503 | * |
||
1504 | * @param \jamesiarmes\PhpEws\Request\UpdateInboxRulesRequestType $request |
||
1505 | * @return \jamesiarmes\PhpEws\Response\UpdateInboxRulesResponseType |
||
1506 | */ |
||
1507 | public function UpdateInboxRules($request) |
||
1511 | |||
1512 | /** |
||
1513 | * Used to modify the properties of an existing item in the Exchange store. |
||
1514 | * |
||
1515 | * @since Exchange 2007 |
||
1516 | * |
||
1517 | * @param \jamesiarmes\PhpEws\Request\UpdateItemType $request |
||
1518 | * @return \jamesiarmes\PhpEws\Response\UpdateItemResponseType |
||
1519 | */ |
||
1520 | public function UpdateItem($request) |
||
1524 | |||
1525 | /** |
||
1526 | * Updates a user configuration object on a folder. |
||
1527 | * |
||
1528 | * @since Exchange 2010 |
||
1529 | * |
||
1530 | * @param \jamesiarmes\PhpEws\Request\UpdateUserConfigurationType $request |
||
1531 | * @return \jamesiarmes\PhpEws\Response\UpdateUserConfigurationResponseType |
||
1532 | */ |
||
1533 | public function UpdateUserConfiguration($request) |
||
1537 | |||
1538 | /** |
||
1539 | * Uploads a stream of items into an Exchange mailbox. |
||
1540 | * |
||
1541 | * @since Exchange 2010 SP1 |
||
1542 | * |
||
1543 | * @param \jamesiarmes\PhpEws\Request\UploadItemsType $request |
||
1544 | * @return \jamesiarmes\PhpEws\Response\UploadItemsResponseType |
||
1545 | */ |
||
1546 | public function UploadItems($request) |
||
1550 | |||
1551 | /** |
||
1552 | * Initializes the SoapClient object to make a request |
||
1553 | * |
||
1554 | * @return \jamesiarmes\PhpEws\SoapClient |
||
1555 | */ |
||
1556 | protected function initializeSoapClient() |
||
1573 | |||
1574 | /** |
||
1575 | * Makes the SOAP call for a request. |
||
1576 | * |
||
1577 | * @param string $operation |
||
1578 | * The operation to be called. |
||
1579 | * @param \jamesiarmes\PhpEws\Request $request |
||
1580 | * The request object for the operation. |
||
1581 | * @return \jamesiarmes\PhpEws\Response |
||
1582 | * The response object for the operation. |
||
1583 | */ |
||
1584 | protected function makeRequest($operation, $request) |
||
1591 | |||
1592 | /** |
||
1593 | * Process a response to verify that it succeeded and take the appropriate |
||
1594 | * action |
||
1595 | * |
||
1596 | * @throws \Exception |
||
1597 | * |
||
1598 | * @param \stdClass $response |
||
1599 | * @return \stdClass |
||
1600 | */ |
||
1601 | protected function processResponse($response) |
||
1614 | } |
||
1615 |