Return-Path: X-Original-To: apmail-chemistry-commits-archive@www.apache.org Delivered-To: apmail-chemistry-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6677D7B0 for ; Mon, 27 May 2013 17:21:26 +0000 (UTC) Received: (qmail 65712 invoked by uid 500); 27 May 2013 17:21:24 -0000 Delivered-To: apmail-chemistry-commits-archive@chemistry.apache.org Received: (qmail 65631 invoked by uid 500); 27 May 2013 17:21:24 -0000 Mailing-List: contact commits-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list commits@chemistry.apache.org Received: (qmail 65575 invoked by uid 99); 27 May 2013 17:21:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 17:21:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 17:21:20 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 577C02388B56; Mon, 27 May 2013 17:20:35 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1486674 [10/44] - in /chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings: ./ css/ images/ images/logos/ xref-test/ xref-test/org/ xref-test/org/apache/ xref-test/org/apache/chemistry/... Date: Mon, 27 May 2013 17:20:22 -0000 To: commits@chemistry.apache.org From: gabriele@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130527172035.577C02388B56@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/SimpleReadWriteTests.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/SimpleReadWriteTests.html?rev=1486674&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/SimpleReadWriteTests.html (added) +++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/SimpleReadWriteTests.html Mon May 27 17:20:16 2013 @@ -0,0 +1,70 @@ + + + + +SimpleReadWriteTests xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.client.bindings.webservices;
+20  
+21  import java.util.HashSet;
+22  import java.util.Set;
+23  
+24  import org.apache.chemistry.opencmis.client.bindings.framework.AbstractSimpleReadWriteTests;
+25  import org.apache.chemistry.opencmis.commons.spi.CmisBinding;
+26  
+27  /**
+28   * @author <a href="mailto:fmueller@opentext.com">Florian M&uuml;ller</a>
+29   */
+30  public class SimpleReadWriteTests extends AbstractSimpleReadWriteTests {
+31  
+32      private final Set<String> fTests;
+33  
+34      public SimpleReadWriteTests() {
+35          fTests = new HashSet<String>();
+36          fTests.add(TEST_CREATE_FOLDER);
+37          fTests.add(TEST_CREATE_DOCUMENT);
+38          fTests.add(TEST_CREATE_FROM_SOURCE);
+39          fTests.add(TEST_SET_AND_DELETE_CONTENT);
+40          fTests.add(TEST_UPDATE_PROPERTIES);
+41          fTests.add(TEST_DELETE_TREE);
+42          fTests.add(TEST_MOVE_OBJECT);
+43          fTests.add(TEST_COPY_OBJECT);
+44          fTests.add(TEST_VERSIONING);
+45      }
+46  
+47      @Override
+48      protected CmisBinding createBinding() {
+49          return WebServicesTestBindingFactory.createBinding(getWebServicesURL(), getUsername(), getPassword());
+50      }
+51  
+52      @Override
+53      protected Set<String> getEnabledTests() {
+54          return fTests;
+55      }
+56  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/WebServicesTestBindingFactory.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/WebServicesTestBindingFactory.html?rev=1486674&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/WebServicesTestBindingFactory.html (added) +++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/WebServicesTestBindingFactory.html Mon May 27 17:20:16 2013 @@ -0,0 +1,103 @@ + + + + +WebServicesTestBindingFactory xref + + + +
+
+1   /*
+2    * Licensed to the Apache Software Foundation (ASF) under one
+3    * or more contributor license agreements.  See the NOTICE file
+4    * distributed with this work for additional information
+5    * regarding copyright ownership.  The ASF licenses this file
+6    * to you under the Apache License, Version 2.0 (the
+7    * "License"); you may not use this file except in compliance
+8    * with the License.  You may obtain a copy of the License at
+9    *
+10   * http://www.apache.org/licenses/LICENSE-2.0
+11   *
+12   * Unless required by applicable law or agreed to in writing,
+13   * software distributed under the License is distributed on an
+14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+15   * KIND, either express or implied.  See the License for the
+16   * specific language governing permissions and limitations
+17   * under the License.
+18   */
+19  package org.apache.chemistry.opencmis.client.bindings.webservices;
+20  
+21  import java.util.HashMap;
+22  import java.util.Map;
+23  
+24  import org.apache.chemistry.opencmis.client.bindings.CmisBindingFactory;
+25  import org.apache.chemistry.opencmis.commons.SessionParameter;
+26  import org.apache.chemistry.opencmis.commons.spi.CmisBinding;
+27  
+28  /**
+29   * Web Services Binding Factory.
+30   */
+31  public class WebServicesTestBindingFactory {
+32      
+33      private WebServicesTestBindingFactory() {
+34      }
+35  
+36      public static CmisBinding createBinding(String url, String username, String password) {
+37          boolean isPrefix = true;
+38          String urlLower = url.toLowerCase();
+39  
+40          if (urlLower.endsWith("?wsdl")) {
+41              isPrefix = false;
+42          } else if (urlLower.endsWith(".wsdl")) {
+43              isPrefix = false;
+44          } else if (urlLower.endsWith(".xml")) {
+45              isPrefix = false;
+46          } else if (urlLower.endsWith(".aspx")) {
+47              isPrefix = false;
+48          } else if (urlLower.endsWith("/wsdl")) {
+49              isPrefix = false;
+50          }
+51  
+52          return createBinding(url, isPrefix, username, password);
+53      }
+54  
+55      public static CmisBinding createBinding(String url, boolean isPrefix, String username, String password) {
+56          // gather parameters
+57          Map<String, String> parameters = new HashMap<String, String>();
+58          parameters.put(SessionParameter.USER, username);
+59          parameters.put(SessionParameter.PASSWORD, password);
+60  
+61          if (!isPrefix) {
+62              parameters.put(SessionParameter.WEBSERVICES_REPOSITORY_SERVICE, url);
+63              parameters.put(SessionParameter.WEBSERVICES_NAVIGATION_SERVICE, url);
+64              parameters.put(SessionParameter.WEBSERVICES_OBJECT_SERVICE, url);
+65              parameters.put(SessionParameter.WEBSERVICES_VERSIONING_SERVICE, url);
+66              parameters.put(SessionParameter.WEBSERVICES_DISCOVERY_SERVICE, url);
+67              parameters.put(SessionParameter.WEBSERVICES_RELATIONSHIP_SERVICE, url);
+68              parameters.put(SessionParameter.WEBSERVICES_MULTIFILING_SERVICE, url);
+69              parameters.put(SessionParameter.WEBSERVICES_POLICY_SERVICE, url);
+70              parameters.put(SessionParameter.WEBSERVICES_ACL_SERVICE, url);
+71          } else {
+72              parameters.put(SessionParameter.WEBSERVICES_REPOSITORY_SERVICE, url + "RepositoryService?wsdl");
+73              parameters.put(SessionParameter.WEBSERVICES_NAVIGATION_SERVICE, url + "NavigationService?wsdl");
+74              parameters.put(SessionParameter.WEBSERVICES_OBJECT_SERVICE, url + "ObjectService?wsdl");
+75              parameters.put(SessionParameter.WEBSERVICES_VERSIONING_SERVICE, url + "VersioningService?wsdl");
+76              parameters.put(SessionParameter.WEBSERVICES_DISCOVERY_SERVICE, url + "DiscoveryService?wsdl");
+77              parameters.put(SessionParameter.WEBSERVICES_RELATIONSHIP_SERVICE, url + "RelationshipService?wsdl");
+78              parameters.put(SessionParameter.WEBSERVICES_MULTIFILING_SERVICE, url + "MultiFilingService?wsdl");
+79              parameters.put(SessionParameter.WEBSERVICES_POLICY_SERVICE, url + "PolicyService?wsdl");
+80              parameters.put(SessionParameter.WEBSERVICES_ACL_SERVICE, url + "ACLService?wsdl");
+81          }
+82  
+83          // get factory and create provider
+84          CmisBindingFactory factory = CmisBindingFactory.newInstance();
+85          CmisBinding binding = factory.createCmisWebServicesBinding(parameters);
+86  
+87          return binding;
+88      }
+89  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/package-frame.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/package-frame.html?rev=1486674&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/package-frame.html (added) +++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/package-frame.html Mon May 27 17:20:16 2013 @@ -0,0 +1,30 @@ + + + + + + OpenCMIS Client Bindings Implementation 0.9.0 Reference Package org.apache.chemistry.opencmis.client.bindings.webservices + + + + +

+ org.apache.chemistry.opencmis.client.bindings.webservices +

+ +

Classes

+ + + + + \ No newline at end of file Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/package-summary.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/package-summary.html?rev=1486674&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/package-summary.html (added) +++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/org/apache/chemistry/opencmis/client/bindings/webservices/package-summary.html Mon May 27 17:20:16 2013 @@ -0,0 +1,77 @@ + + + + + + OpenCMIS Client Bindings Implementation 0.9.0 Reference Package org.apache.chemistry.opencmis.client.bindings.webservices + + + +
+ +
+
+ +
+ +

Package org.apache.chemistry.opencmis.client.bindings.webservices

+ + + + + + + + + + + + + + + + + + +
Class Summary
+ SimpleReadOnlyTests +
+ SimpleReadWriteTests +
+ WebServicesTestBindingFactory +
+ +
+ +
+
+ +
+
+ Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/overview-frame.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/overview-frame.html?rev=1486674&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/overview-frame.html (added) +++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/overview-frame.html Mon May 27 17:20:16 2013 @@ -0,0 +1,34 @@ + + + + + + OpenCMIS Client Bindings Implementation 0.9.0 Reference + + + + +

+ All Classes +

+ +

Packages

+ + + + + + Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/overview-summary.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/overview-summary.html?rev=1486674&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/overview-summary.html (added) +++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/overview-summary.html Mon May 27 17:20:16 2013 @@ -0,0 +1,79 @@ + + + + + + OpenCMIS Client Bindings Implementation 0.9.0 Reference + + + +
+
    +
  • Overview
  • +
  • Package
  • +
+
+
+ +
+ +

OpenCMIS Client Bindings Implementation 0.9.0 Reference

+ + + + + + + + + + + + + + + + + + + + + +
Packages
+ org.apache.chemistry.opencmis.client.bindings.atompub +
+ org.apache.chemistry.opencmis.client.bindings.cache +
+ org.apache.chemistry.opencmis.client.bindings.framework +
+ org.apache.chemistry.opencmis.client.bindings.webservices +
+ +
+
    +
  • Overview
  • +
  • Package
  • +
+
+
+ +
+ +
+ Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved. + + \ No newline at end of file Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/stylesheet.css URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/stylesheet.css?rev=1486674&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/stylesheet.css (added) +++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref-test/stylesheet.css Mon May 27 17:20:16 2013 @@ -0,0 +1,116 @@ +/* Javadoc style sheet */ +/* Define colors, fonts and other style attributes here to override the defaults */ +body { + background-color: #fff; + font-family: Arial, Helvetica, sans-serif; +} + +a:link { + color: #00f; +} +a:visited { + color: #00a; +} + +a:active, a:hover { + color: #f30 !important; +} + +ul, li { + list-style-type:none; + margin:0; + padding:0; +} + +table td { + padding: 3px; + border: 1px solid #000; +} +table { + width:100%; + border: 1px solid #000; + border-collapse: collapse; +} + +div.overview { + background-color:#ddd; + padding: 4px 4px 4px 0; +} +div.overview li, div.framenoframe li { + display: inline; +} +div.framenoframe { + text-align: center; + font-size: x-small; +} +div.framenoframe li { + margin: 0 3px 0 3px; +} +div.overview li { + margin:3px 3px 0 3px; + padding: 4px; +} +li.selected { + background-color:#888; + color: #fff; + font-weight: bold; +} + +table.summary { + margin-bottom: 20px; +} +table.summary td, table.summary th { + font-weight: bold; + text-align: left; + padding: 3px; +} +table.summary th { + background-color:#036; + color: #fff; +} +table.summary td { + background-color:#eee; + border: 1px solid black; +} + +em { + color: #A00; +} +em.comment { + color: #390; +} +.string { + color: #009; +} +div#footer { + text-align:center; +} +#overview { + padding:2px; +} + +hr { + height: 1px; + color: #000; +} + +/* JXR style sheet */ +.jxr_comment +{ + color: #390; +} + +.jxr_javadoccomment +{ + color: #A00; +} + +.jxr_string +{ + color: #009; +} + +.jxr_keyword +{ + color: #000; +} Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref/allclasses-frame.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref/allclasses-frame.html?rev=1486674&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref/allclasses-frame.html (added) +++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref/allclasses-frame.html Mon May 27 17:20:16 2013 @@ -0,0 +1,242 @@ + + + + + + All Classes + + + + +

All Classes

+ + + + + Added: chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref/index.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref/index.html?rev=1486674&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref/index.html (added) +++ chemistry/site/trunk/content/java/0.9.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-bindings/xref/index.html Mon May 27 17:20:16 2013 @@ -0,0 +1,24 @@ + + + + + + OpenCMIS Client Bindings Implementation 0.9.0 Reference + + + + + + + + + <body> + <h1>Frame Alert</h1> + <p> + You don't have frames. Go <a href="overview-summary.html">here</a> + </p> + </body> + + + +