Changes for page ERGroupware

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

From version 13.1
edited by Pascal Robert
on 2012/10/02 15:12
Change comment: There is no comment for this version
To version 19.1
edited by Pascal Robert
on 2012/09/16 19:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,127 +1,36 @@
1 -= Store attributes =
1 += Actions =
2 2  
3 -|= CalDAV/CardDAV |= MS Exchange |= Zimbra (SOAP)
4 -|(((
5 -* ProductID (default will be **~/~/Project Wonder/ERGroupware**)
6 -* http/https
7 -* hostname
8 -* username
9 -* password
10 -* port
11 -)))|(((
12 -* NTML domain
13 -* hostname
14 -* username
15 -* password
16 -* URL to WSDL
17 -* country+language (default will be **en-US**)
18 -* timezone (default will be **Eastern Standard Time**)
19 -* ExchangeImpersonationType (**email**)
20 -)))|(((
21 -* http/https
22 -* hostname
23 -* username
24 -* password
25 -)))
26 -
27 -= Folders/collection permissions =
28 -
29 -|= CardDav/CalDav |= MS Exchange |= Zimbra
30 -| |(((
31 -* UserId
32 -* t:CanCreateItems
33 -* t:CanCreateSubFolders
34 -* t:IsFolderOwner
35 -* t:IsFolderVisible
36 -* t:IsFolderContact
37 -* t:EditItems
38 -* t:DeleteItems
39 -* t:ReadItems (non-calendar: FullDetails,None; calendar: None, TimeOnly, TimeAndSubjectAndLocation, FullDetails)
40 -* t:PermissionLevel (calendar)
41 -* t:CalendarPermissionLevel (calendar folders only)
42 -)))|
43 -
44 -= Calendar/tasks collection attributes =
45 -
46 -|= CalDAV |= MS Exchange |= Zimbra (SOAP)
47 -|(((
48 -* acl
49 -* creationDate
50 -* currentUserPrincipal
51 -* currentUserPrivilegeSet
52 -* displayName
53 -* eTag
54 -* lastModified
55 -* owner
56 -* quotaAvailableBytes
57 -* quotaUsedBytes
58 -* resourceType (must have **calendar**)
59 -* supportedPrivilegeSet
60 -* supportedReportSet
61 -* order
62 -* color
63 -* syncToken
64 -* allowedSharingModes
65 -* cTag
66 -* maxResources
67 -* sharedUrl
68 -* calendarTimezone (VTimezone)
69 -* max-attendees-per-instance
70 -* max-instances
71 -* max-resource-size
72 -* schedule-calendar-transp (opaque/transp)
73 -* supported-calendar-component-set (VEVENT/VTODO)
74 -* supported-calendar-data
75 -* url
76 -)))|(((
77 -* FolderClass (type of folder, must be DistinguishedFolderIdNameType.CALENDAR or DistinguishedFolderIdNameType.TASKS)
78 -* FolderId
79 -* ParentFolderId
80 -* DisplayName
81 -* TotalCount
82 -* ChildFolderCount (read-only)
83 -* ExtendedProperty
84 -* ManagedFolderInformation
85 -* EffectiveRights
86 -* SharingEffectiveRights (calendar)
87 -* PermissionSet
88 -* UnreadCount (tasks)
89 -)))|
90 -
91 -= Address Book collection attributes =
92 -
93 -|= CalDAV |= MS Exchange |= Zimbra (SOAP)
94 -|(((
95 -* acl
96 -* creationdate
97 -* current-user-principal
98 -* current-user-privilege-set
99 -* displayname
100 -* getetag
101 -* getlastmodified
102 -* owner
103 -* quota-available-bytes
104 -* quota-used-bytes
105 -* resourcetype (must have **addressbook**)
106 -* supported-privilege-set
107 -* supported-report-set
108 -* sync-token
109 -* allowed-sharing-modes
110 -* getctag
111 -* max-resources
112 -* max-resource-size
113 -* supported-address-data
114 -* url
115 -)))|(((
116 -* FolderClass (type of folder, must be DistinguishedFolderIdNameType.CONTACTS)
117 -* FolderId
118 -* ParentFolderId
119 -* DisplayName
120 -* TotalCount
121 -* ChildFolderCount
122 -* ExtendedProperty
123 -* ManagedFolderInformation
124 -* EffectiveRights
125 -* SharingEffectiveRights
126 -* PermissionSet
127 -)))|
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);