| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package EWS::Client::Folder; |
|
2
|
|
|
|
|
|
|
BEGIN { |
|
3
|
1
|
|
|
1
|
|
24
|
$EWS::Client::Folder::VERSION = '1.143070'; |
|
4
|
|
|
|
|
|
|
} |
|
5
|
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
5
|
use Moose; |
|
|
1
|
|
|
|
|
1
|
|
|
|
1
|
|
|
|
|
9
|
|
|
7
|
|
|
|
|
|
|
with 'EWS::Folder::Role::Reader'; |
|
8
|
|
|
|
|
|
|
# could add future roles for updates, here |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
has client => ( |
|
11
|
|
|
|
|
|
|
is => 'ro', |
|
12
|
|
|
|
|
|
|
isa => 'EWS::Client', |
|
13
|
|
|
|
|
|
|
required => 1, |
|
14
|
|
|
|
|
|
|
weak_ref => 1, |
|
15
|
|
|
|
|
|
|
); |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
18
|
1
|
|
|
1
|
|
5875
|
no Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
6
|
|
|
19
|
|
|
|
|
|
|
1; |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
# ABSTRACT: Folder Entries from Microsoft Exchange Server |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=pod |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
EWS::Client::Folder - Folder Entries from Microsoft Exchange Server |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 VERSION |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
version 1.143070 |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This module allows you to perform operations on the folder entries in a |
|
39
|
|
|
|
|
|
|
Microsoft Exchange server. At present only read operations are supported, |
|
40
|
|
|
|
|
|
|
allowing you to retrieve folder entries and all sub folders. The |
|
41
|
|
|
|
|
|
|
results are available in an iterator and convenience methods exist to access |
|
42
|
|
|
|
|
|
|
the properties of each entry. |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 METHODS |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head2 CONSTRUCTOR |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head2 EWS::Client::Folder->new( \%arguments ) |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
You would not normally call this constructor. Use the L<EWS::Client> |
|
51
|
|
|
|
|
|
|
constructor instead. |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
Instantiates a new folder reader. Note that the action of performing a query |
|
54
|
|
|
|
|
|
|
for a set of results is separated from this step, so you can perform multiple |
|
55
|
|
|
|
|
|
|
queries using this same object. Pass the following arguments in a hash ref: |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=over 4 |
|
58
|
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=item C<client> => C<EWS::Client> object (required) |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
An instance of C<EWS::Client> which has been configured with your server |
|
62
|
|
|
|
|
|
|
location, user credentials and SOAP APIs. This will be stored as a weak |
|
63
|
|
|
|
|
|
|
reference. |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=back |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=head1 AUTHOR |
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
Oliver Gorwits <oliver@cpan.org> |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
72
|
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
This software is copyright (c) 2014 by University of Oxford. |
|
74
|
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
76
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=cut |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
__END__ |
|
82
|
|
|
|
|
|
|
|