Changes for page ERGroupware
Last modified by Pascal Robert on 2012/10/08 09:15
From version 16.1
edited by Pascal Robert
on 2012/10/08 08:53
on 2012/10/08 08:53
Change comment:
There is no comment for this version
To version 20.1
edited by Pascal Robert
on 2012/09/16 19:02
on 2012/09/16 19:02
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,144 +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 -* gt (grantee-type): usr, grp, dom (domain), cos, all, pub (public), guest 44 -* perm: rwidxp (r: read, w: write, i: insert, d: delete, a: admin, x: workflow action 45 -* d: user (optional if gt = all) 46 -* pw: password when grantee-type is "guest" 47 -* inh 48 -))) 49 - 50 -= Calendar/tasks collection attributes = 51 - 52 -|= CalDAV |= MS Exchange |= Zimbra (SOAP) 53 -|((( 54 -* acl 55 -* creationDate 56 -* currentUserPrincipal 57 -* currentUserPrivilegeSet 58 -* displayName 59 -* eTag 60 -* lastModified 61 -* owner 62 -* quotaAvailableBytes 63 -* quotaUsedBytes 64 -* resourceType (must have **calendar**) 65 -* supportedPrivilegeSet 66 -* supportedReportSet 67 -* order 68 -* color 69 -* syncToken 70 -* allowedSharingModes 71 -* cTag 72 -* maxResources 73 -* sharedUrl 74 -* calendarTimezone (VTimezone) 75 -* max-attendees-per-instance 76 -* max-instances 77 -* max-resource-size 78 -* schedule-calendar-transp (opaque/transp) 79 -* supported-calendar-component-set (VEVENT/VTODO) 80 -* supported-calendar-data 81 -* url 82 -)))|((( 83 -* FolderClass (type of folder, must be DistinguishedFolderIdNameType.CALENDAR or DistinguishedFolderIdNameType.TASKS) 84 -* FolderId 85 -* ParentFolderId 86 -* DisplayName 87 -* TotalCount 88 -* ChildFolderCount (read-only) 89 -* ExtendedProperty 90 -* ManagedFolderInformation 91 -* EffectiveRights 92 -* SharingEffectiveRights (calendar) 93 -* PermissionSet 94 -* UnreadCount (tasks) 95 -)))|((( 96 -* flags 97 -* parent 98 -* folder class 99 -* color 100 -* display name 101 -* rgb 102 -* acl 103 -* fie 104 -* sync 105 -* url 106 -))) 107 - 108 -= Address Book collection attributes = 109 - 110 -|= CalDAV |= MS Exchange |= Zimbra (SOAP) 111 -|((( 112 -* acl 113 -* creationdate 114 -* current-user-principal 115 -* current-user-privilege-set 116 -* displayname 117 -* getetag 118 -* getlastmodified 119 -* owner 120 -* quota-available-bytes 121 -* quota-used-bytes 122 -* resourcetype (must have **addressbook**) 123 -* supported-privilege-set 124 -* supported-report-set 125 -* sync-token 126 -* allowed-sharing-modes 127 -* getctag 128 -* max-resources 129 -* max-resource-size 130 -* supported-address-data 131 -* url 132 -)))|((( 133 -* FolderClass (type of folder, must be DistinguishedFolderIdNameType.CONTACTS) 134 -* FolderId 135 -* ParentFolderId 136 -* DisplayName 137 -* TotalCount 138 -* ChildFolderCount 139 -* ExtendedProperty 140 -* ManagedFolderInformation 141 -* EffectiveRights 142 -* SharingEffectiveRights 143 -* PermissionSet 144 -)))| 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);