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
on 2012/10/08 09:15
Change comment:
Changed document parent to [xwiki:~probert.Home.WebHome].
To version 32.1
edited by Pascal Robert
on 2012/09/16 18:53
on 2012/09/16 18:53
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -~probert.Home.WebHome - Content
-
... ... @@ -1,178 +1,34 @@ 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 | | ExchangeAuthenticator authenticator = new ExchangeAuthenticator("**DOMAIN 5 +\\ 6 +\\probert//aircourriel//**//", "**Migration12**".toCharArray()); 7 +\\Authenticator.setDefault(authenticator); 8 +\\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")); 9 +\\ExchangeServicePortType port = service.getExchangeWebPort(); 10 +\\((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME//PROPERTY, "**probert//aircourriel//**//"); 11 +\\((BindingProvider)port).getRequestContext().put(BindingProvider.PASSWORD//PROPERTY, "**Migration12**"); 12 +\\MailboxCultureType culture = new MailboxCultureType(); 13 +\\culture.setValue("en-US"); 14 +\\RequestServerVersion serverVersion = new RequestServerVersion(); 15 +\\serverVersion.setVersion(ExchangeVersionType.EXCHANGE//2010//SP//1); 16 +\\TimeZoneDefinitionType tzType = new TimeZoneDefinitionType(); 17 +\\tzType.setId("**Eastern Standard Time**"); 18 +\\TimeZoneContextType tzContext = new TimeZoneContextType(); 19 +\\tzContext.setTimeZoneDefinition(tzType); 20 +\\Holder<CreateItemResponseType> responseHolder = new Holder<CreateItemResponseType>(new CreateItemResponseType()); 21 +\\ExchangeImpersonationType impersonation = new ExchangeImpersonationType(); 22 +\\ConnectingSIDType sid = new ConnectingSIDType(); 23 +\\sid.setPrimarySmtpAddress("**probert@aircourriel.com**"); 24 +\\impersonation.setConnectingSID(sid); // 25 +| URL url = new URL("**http**", "**192.168.3.10**", **1**, "/"); 26 +\\ZMailbox.Options options = new ZMailbox.Options(); 27 +\\options.setAccount("**admin**"); 28 +\\options.setAccountBy(AccountBy.name); 29 +\\options.setPassword("**conatus**"); 30 +\\options.setUri(resolveUrl(url.getProtocol() + ":~/~/" + url.getHost(), false)); 31 +\\ZMailbox utils = ZMailbox.getMailbox(options); 32 +\\HttpState initialState = new HttpState(); 33 +\\Cookie mycookie = new Cookie(url.getHost(), "ZM//AUTH//TOKEN", utils.getAuthToken().getValue(), "/", null, false); 34 +\\initialState.addCookie(mycookie);