Changes for page ERGroupware
Last modified by Pascal Robert on 2012/10/08 09:15
From version 23.1
edited by Pascal Robert
on 2012/10/04 08:42
on 2012/10/04 08:42
Change comment:
There is no comment for this version
To version 24.1
edited by Pascal Robert
on 2012/09/16 18:51
on 2012/09/16 18:51
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,133 +1,33 @@ 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 - 97 -= Address Book collection attributes = 98 - 99 -|= CalDAV |= MS Exchange |= Zimbra (SOAP) 100 -|((( 101 -* acl 102 -* creationdate 103 -* current-user-principal 104 -* current-user-privilege-set 105 -* displayname 106 -* getetag 107 -* getlastmodified 108 -* owner 109 -* quota-available-bytes 110 -* quota-used-bytes 111 -* resourcetype (must have **addressbook**) 112 -* supported-privilege-set 113 -* supported-report-set 114 -* sync-token 115 -* allowed-sharing-modes 116 -* getctag 117 -* max-resources 118 -* max-resource-size 119 -* supported-address-data 120 -* url 121 -)))|((( 122 -* FolderClass (type of folder, must be DistinguishedFolderIdNameType.CONTACTS) 123 -* FolderId 124 -* ParentFolderId 125 -* DisplayName 126 -* TotalCount 127 -* ChildFolderCount 128 -* ExtendedProperty 129 -* ManagedFolderInformation 130 -* EffectiveRights 131 -* SharingEffectiveRights 132 -* PermissionSet 133 -)))| 3 +|= Action name |= CalDAV |= MS Exchange |= Zimbra (SOAP) 4 +| Connecting to the store | | ExchangeAuthenticator authenticator = new ExchangeAuthenticator("DOMAIN 5 +\\probert//aircourriel", "Migration12".toCharArray()); 6 +\\Authenticator.setDefault(authenticator); 7 +\\ExchangeWebService service = new ExchangeWebService(new java.net.URL("file:/Users/probert/Documents/OACIQ/Services.wsdl.xml"), new QName("http:~/~/schemas.microsoft.com/exchange/services/2006/messages", "ExchangeWebService")); 8 +\\ExchangeServicePortType port = service.getExchangeWebPort(); 9 +\\((BindingProvider)port).getRequestContext().put(BindingProvider.USERNAME//PROPERTY, "probert//aircourriel"); 10 +\\((BindingProvider)port).getRequestContext().put(BindingProvider.PASSWORD//PROPERTY, "Migration12"); 11 +\\MailboxCultureType culture = new MailboxCultureType(); 12 +\\culture.setValue("en-US"); 13 +\\RequestServerVersion serverVersion = new RequestServerVersion(); 14 +\\serverVersion.setVersion(ExchangeVersionType.EXCHANGE//2010//SP//1); 15 +\\TimeZoneDefinitionType tzType = new TimeZoneDefinitionType(); 16 +\\tzType.setId("Eastern Standard Time"); 17 +\\TimeZoneContextType tzContext = new TimeZoneContextType(); 18 +\\tzContext.setTimeZoneDefinition(tzType); 19 +\\Holder<CreateItemResponseType> responseHolder = new Holder<CreateItemResponseType>(new CreateItemResponseType()); 20 +\\ExchangeImpersonationType impersonation = new ExchangeImpersonationType(); 21 +\\ConnectingSIDType sid = new ConnectingSIDType(); 22 +\\sid.setPrimarySmtpAddress("probert@aircourriel.com"); 23 +\\impersonation.setConnectingSID(sid); // 24 +| URL url = new URL("**http**", "**192.168.3.10**", **1**, "/"); 25 +\\ZMailbox.Options options = new ZMailbox.Options(); 26 +\\options.setAccount("**admin**"); 27 +\\options.setAccountBy(AccountBy.name); 28 +\\options.setPassword("**conatus**"); 29 +\\options.setUri(resolveUrl(url.getProtocol() + ":~/~/" + url.getHost(), false)); 30 +\\ZMailbox utils = ZMailbox.getMailbox(options); 31 +\\HttpState initialState = new HttpState(); 32 +\\Cookie mycookie = new Cookie(url.getHost(), "ZM//AUTH//TOKEN", utils.getAuthToken().getValue(), "/", null, false); 33 +\\initialState.addCookie(mycookie);