Changes for page ERGroupware

Last modified by Pascal Robert on 2012/10/08 09:15

From version 41.2
edited by Pascal Robert
on 2012/10/08 09:15
Change comment: Changed document parent to [xwiki:~probert.Home.WebHome].
To version 35.1
edited by Pascal Robert
on 2012/09/16 19:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,0 @@
1 -~probert.Home.WebHome
Content
... ... @@ -1,178 +1,36 @@
1 -= Store attributes =
1 += Actions =
2 2  
3 -|=(((
4 -CalDAV/CardDAV
5 -)))|=(((
6 -MS Exchange
7 -)))|=(((
8 -Zimbra (SOAP)
9 -)))
10 -|(((
11 -* ProductID (default will be **~/~/Project Wonder/ERGroupware**)
12 -* http/https
13 -* hostname
14 -* username
15 -* password
16 -* port
17 -)))|(((
18 -* NTML domain
19 -* hostname
20 -* username
21 -* password
22 -* URL to WSDL
23 -* country+language (default will be **en-US**)
24 -* timezone (default will be **Eastern Standard Time**)
25 -* ExchangeImpersonationType (**email**)
26 -)))|(((
27 -* http/https
28 -* hostname
29 -* username
30 -* password
31 -)))
32 -
33 -= Folders/collection permissions =
34 -
35 -|=(((
36 -CardDav/CalDav
37 -)))|=(((
38 -MS Exchange
39 -)))|=(((
40 -Zimbra
41 -)))
42 -|(((
43 -
44 -)))|(((
45 -* UserId
46 -* t:CanCreateItems
47 -* t:CanCreateSubFolders
48 -* t:IsFolderOwner
49 -* t:IsFolderVisible
50 -* t:IsFolderContact
51 -* t:EditItems
52 -* t:DeleteItems
53 -* t:ReadItems (non-calendar: FullDetails,None; calendar: None, TimeOnly, TimeAndSubjectAndLocation, FullDetails)
54 -* t:PermissionLevel (!calendar)
55 -* t:CalendarPermissionLevel (calendar folders only)
56 -)))|(((
57 -* gt (grantee-type): usr, grp, dom (domain), cos, all, pub (public), guest
58 -* perm: rwidxp (r: read, w: write, i: insert, d: delete, a: admin, x: workflow action
59 -* d: user (optional if gt = all)
60 -* pw: password when grantee-type is "guest"
61 -* inh
62 -)))
63 -
64 -= Calendar/tasks collection attributes =
65 -
66 -|=(((
67 -CalDAV
68 -)))|=(((
69 -MS Exchange
70 -)))|=(((
71 -Zimbra (SOAP)
72 -)))
73 -|(((
74 -* acl
75 -* creationDate
76 -* currentUserPrincipal
77 -* currentUserPrivilegeSet
78 -* displayName
79 -* eTag
80 -* lastModified
81 -* owner
82 -* quotaAvailableBytes
83 -* quotaUsedBytes
84 -* resourceType (must have **calendar**)
85 -* supportedPrivilegeSet
86 -* supportedReportSet
87 -* order
88 -* color
89 -* syncToken
90 -* allowedSharingModes
91 -* cTag
92 -* maxResources
93 -* sharedUrl
94 -* calendarTimezone (VTimezone)
95 -* max-attendees-per-instance
96 -* max-instances
97 -* max-resource-size
98 -* schedule-calendar-transp (opaque/transp)
99 -* supported-calendar-component-set (VEVENT/VTODO)
100 -* supported-calendar-data
101 -* url
102 -)))|(((
103 -* FolderClass (type of folder, must be DistinguishedFolderIdNameType.CALENDAR or DistinguishedFolderIdNameType.TASKS)
104 -* FolderId
105 -* ParentFolderId
106 -* DisplayName
107 -* TotalCount
108 -* ChildFolderCount (read-only)
109 -* ExtendedProperty
110 -* ManagedFolderInformation
111 -* EffectiveRights
112 -* SharingEffectiveRights (calendar)
113 -* PermissionSet
114 -* UnreadCount (tasks)
115 -)))|(((
116 -* flags
117 -* parent
118 -* folder class
119 -* color
120 -* display name
121 -* rgb
122 -* acl
123 -* fie
124 -* sync
125 -* url
126 -* unreadcount
127 -* msgCount
128 -* rev (revision number)
129 -* s (total size)
130 -* i4next
131 -* i4ms
132 -)))
133 -
134 -= Address Book collection attributes =
135 -
136 -|=(((
137 -CalDAV
138 -)))|=(((
139 -MS Exchange
140 -)))|=(((
141 -Zimbra (SOAP)
142 -)))
143 -|(((
144 -* acl
145 -* creationdate
146 -* current-user-principal
147 -* current-user-privilege-set
148 -* displayname
149 -* getetag
150 -* getlastmodified
151 -* owner
152 -* quota-available-bytes
153 -* quota-used-bytes
154 -* resourcetype (must have **addressbook**)
155 -* supported-privilege-set
156 -* supported-report-set
157 -* sync-token
158 -* allowed-sharing-modes
159 -* getctag
160 -* max-resources
161 -* max-resource-size
162 -* supported-address-data
163 -* url
164 -)))|(((
165 -* FolderClass (type of folder, must be DistinguishedFolderIdNameType.CONTACTS)
166 -* FolderId
167 -* ParentFolderId
168 -* DisplayName
169 -* TotalCount
170 -* ChildFolderCount
171 -* ExtendedProperty
172 -* ManagedFolderInformation
173 -* EffectiveRights
174 -* SharingEffectiveRights
175 -* PermissionSet
176 -)))|(((
177 -
178 -)))
3 +|= Action name |= CalDAV |= MS Exchange |= Zimbra (SOAP)
4 +| Connecting to the store | CalDavCalendarStore calendarStore = new CalDavCalendarStore("~/~/MacTI/MKS2Exchange", new URL("http:~/~/192.168.200.144"), PathResolver.KMS);
5 +\\calendarStore.connect("cpeltier", "migration".toCharArray());
6 + | ExchangeAuthenticator authenticator = new ExchangeAuthenticator("**DOMAIN
7 +\\ 
8 +\\probert//aircourriel//**//", "**Migration12**".toCharArray());
9 +\\Authenticator.setDefault(authenticator);
10 +\\ExchangeWebService service = new ExchangeWebService(new java.net.URL("[[file:/Users/probert/Documents/OACIQ/Services.wsdl.xml>>file:UsersprobertDocumentsOACIQServices.wsdl.xml*]]"), new QName("http:~/~/schemas.microsoft.com/exchange/services/2006/messages", "ExchangeWebService"));
11 +\\ExchangeServicePortType port = service.getExchangeWebPort();
12 +\\((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME//PROPERTY, "**probert//aircourriel//**//");
13 +\\((BindingProvider)port).getRequestContext().put(BindingProvider.PASSWORD//PROPERTY, "**Migration12**");
14 +\\MailboxCultureType culture = new MailboxCultureType();
15 +\\culture.setValue("en-US");
16 +\\RequestServerVersion serverVersion = new RequestServerVersion();
17 +\\serverVersion.setVersion(ExchangeVersionType.EXCHANGE//2010//SP//1);
18 +\\TimeZoneDefinitionType tzType = new TimeZoneDefinitionType();
19 +\\tzType.setId("**Eastern Standard Time**");
20 +\\TimeZoneContextType tzContext = new TimeZoneContextType();
21 +\\tzContext.setTimeZoneDefinition(tzType);
22 +\\Holder<CreateItemResponseType> responseHolder = new Holder<CreateItemResponseType>(new CreateItemResponseType());
23 +\\ExchangeImpersonationType impersonation = new ExchangeImpersonationType();
24 +\\ConnectingSIDType sid = new ConnectingSIDType();
25 +\\sid.setPrimarySmtpAddress("**probert@aircourriel.com**");
26 +\\impersonation.setConnectingSID(sid); //
27 +| URL url = new URL("**http**", "**192.168.3.10**", **1**, "/");
28 +\\ZMailbox.Options options = new ZMailbox.Options();
29 +\\options.setAccount("**admin**");
30 +\\options.setAccountBy(AccountBy.name);
31 +\\options.setPassword("**conatus**");
32 +\\options.setUri(resolveUrl(url.getProtocol() + ":~/~/" + url.getHost(), false));
33 +\\ZMailbox utils = ZMailbox.getMailbox(options);
34 +\\HttpState initialState = new HttpState();
35 +\\Cookie mycookie = new Cookie(url.getHost(), "ZM//AUTH//TOKEN", utils.getAuthToken().getValue(), "/", null, false);
36 +\\initialState.addCookie(mycookie);