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 AA47B9DC0 for ; Tue, 3 Apr 2012 04:44:00 +0000 (UTC) Received: (qmail 46125 invoked by uid 500); 3 Apr 2012 04:44:00 -0000 Delivered-To: apmail-chemistry-commits-archive@chemistry.apache.org Received: (qmail 46015 invoked by uid 500); 3 Apr 2012 04:44:00 -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 45988 invoked by uid 99); 3 Apr 2012 04:43:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Apr 2012 04:43:59 +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; Tue, 03 Apr 2012 04:43:53 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B51F52388BEF; Tue, 3 Apr 2012 04:43:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1308682 [4/7] - in /chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client: ./ chemistry-opencmis-client-api/ chemistry-opencmis-client-api/css/ chemistry-opencmis-client-api/images/ chemistry-opencmis-client-api/images/lo... Date: Tue, 03 Apr 2012 04:43:29 -0000 To: commits@chemistry.apache.org From: gabriele@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120403044333.B51F52388BEF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/DocumentProperties.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/DocumentProperties.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/DocumentProperties.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/DocumentProperties.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,127 @@ + + + + +DocumentProperties 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.api;
+20  
+21  /**
+22   * Accessors to CMIS document properties.
+23   *
+24   * @see CmisObjectProperties
+25   */
+26  public interface DocumentProperties {
+27  
+28      /**
+29       * Returns <code>true</code> if this CMIS object is immutable (CMIS property
+30       * <code>cmis:isImmutable</code>).
+31       */
+32      Boolean isImmutable();
+33  
+34      /**
+35       * Returns if this CMIS object is the latest version (CMIS property
+36       * <code>cmis:isLatestVersion</code>).
+37       */
+38      Boolean isLatestVersion();
+39  
+40      /**
+41       * Returns
+42       * <code>true<code> if this CMIS object is the latest version (CMIS property
+43       * <code>cmis:isMajorVersion</code>).
+44       */
+45      Boolean isMajorVersion();
+46  
+47      /**
+48       * Returns
+49       * <code>true</code> if this CMIS object is the latest major version (CMIS property
+50       * <code>cmis:isLatestMajorVersion</code>).
+51       */
+52      Boolean isLatestMajorVersion();
+53  
+54      /**
+55       * Returns the version label (CMIS property <code>cmis:versionLabel</code>).
+56       */
+57      String getVersionLabel();
+58  
+59      /**
+60       * Returns the version series id (CMIS property
+61       * <code>cmis:versionSeriesId</code>).
+62       */
+63      String getVersionSeriesId();
+64  
+65      /**
+66       * Returns
+67       * <code>true</code> if this version series is checked out (CMIS property
+68       * <code>cmis:isVersionSeriesCheckedOut</code>).
+69       */
+70      Boolean isVersionSeriesCheckedOut();
+71  
+72      /**
+73       * Returns the user who checked out this version series (CMIS property
+74       * <code>cmis:versionSeriesCheckedOutBy</code>).
+75       */
+76      String getVersionSeriesCheckedOutBy();
+77  
+78      /**
+79       * Returns the PWC id of this version series (CMIS property
+80       * <code>cmis:versionSeriesCheckedOutId</code>).
+81       */
+82      String getVersionSeriesCheckedOutId();
+83  
+84      /**
+85       * Returns the checkin comment (CMIS property
+86       * <code>cmis:checkinComment</code>).
+87       */
+88      String getCheckinComment();
+89  
+90      /**
+91       * Returns the content stream length or -1 if the document has no content
+92       * (CMIS property <code>cmis:contentStreamLength</code>).
+93       */
+94      long getContentStreamLength();
+95  
+96      /**
+97       * Returns the content stream MIME type or <code>null</code> if the document
+98       * has no content (CMIS property <code>cmis:contentStreamMimeType</code>).
+99       */
+100     String getContentStreamMimeType();
+101 
+102     /**
+103      * Returns the content stream filename or <code>null</code> if the document
+104      * has no content (CMIS property <code>cmis:contentStreamFileName</code>).
+105      */
+106     String getContentStreamFileName();
+107 
+108     /**
+109      * Returns the content stream id or <code>null</code> if the document has no
+110      * content (CMIS property <code>cmis:contentStreamId</code>).
+111      */
+112     String getContentStreamId();
+113 }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/DocumentType.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/DocumentType.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/DocumentType.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/DocumentType.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,61 @@ + + + + +DocumentType 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.api;
+20  
+21  import org.apache.chemistry.opencmis.commons.enums.ContentStreamAllowed;
+22  
+23  /**
+24   * Document Object Type.
+25   * <p>
+26   * See CMIS Domain Model - section 2.1.4.3.
+27   */
+28  public interface DocumentType extends ObjectType {
+29  
+30      /**
+31       * Gets the {@code isVersionable} flag.
+32       * 
+33       * @return {@code true} if this document type is versionable, {@code false}
+34       *         if documents of this type cannot be versioned.
+35       */
+36      Boolean isVersionable();
+37  
+38      /**
+39       * Gets the enum that describes, how content streams have to be handled with
+40       * this document type.
+41       * 
+42       * @return the mode of content stream support ({@code notallowed}, {@code
+43       *         allowed}, or {@code required}).
+44       */
+45      ContentStreamAllowed getContentStreamAllowed();
+46  
+47  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ExtensionHandler.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ExtensionHandler.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ExtensionHandler.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ExtensionHandler.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,41 @@ + + + + +ExtensionHandler 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.api;
+20  
+21  /**
+22   */
+23  public interface ExtensionHandler {
+24  
+25      void handleExtension(String context);
+26  
+27  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FileableCmisObject.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FileableCmisObject.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FileableCmisObject.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FileableCmisObject.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,82 @@ + + + + +FileableCmisObject 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.api;
+20  
+21  import java.util.List;
+22  
+23  /**
+24   * Fileable CMIS object.
+25   */
+26  public interface FileableCmisObject extends CmisObject {
+27  
+28      // object service
+29  
+30      /**
+31       * Moves the object.
+32       */
+33      FileableCmisObject move(ObjectId sourceFolderId, ObjectId targetFolderId);
+34  
+35      /**
+36       * Moves the object.
+37       */
+38      FileableCmisObject move(ObjectId sourceFolderId, ObjectId targetFolderId, OperationContext context);
+39  
+40      // navigation service
+41  
+42      /**
+43       * Returns the parents of this object.
+44       */
+45      List<Folder> getParents();
+46  
+47      /**
+48       * Returns the parents of this object.
+49       */
+50      List<Folder> getParents(OperationContext context);
+51  
+52      /**
+53       * Returns the paths of this object.
+54       */
+55      List<String> getPaths();
+56  
+57      // multifiling service
+58  
+59      /**
+60       * Adds this object to a folder.
+61       */
+62      void addToFolder(ObjectId folderId, boolean allVersions);
+63  
+64      /**
+65       * Removes this object from a folder.
+66       */
+67      void removeFromFolder(ObjectId folderId);
+68  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/Folder.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/Folder.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/Folder.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/Folder.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,188 @@ + + + + +Folder 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.api;
+20  
+21  import java.util.List;
+22  import java.util.Map;
+23  
+24  import org.apache.chemistry.opencmis.commons.data.Ace;
+25  import org.apache.chemistry.opencmis.commons.data.ContentStream;
+26  import org.apache.chemistry.opencmis.commons.enums.UnfileObject;
+27  import org.apache.chemistry.opencmis.commons.enums.VersioningState;
+28  
+29  /**
+30   * CMIS Folder.
+31   * <p>
+32   * See Domain Model 2.5
+33   */
+34  public interface Folder extends FileableCmisObject, FolderProperties {
+35  
+36      TransientFolder getTransientFolder();
+37  
+38      // object service
+39  
+40      /**
+41       * Creates a new document in this folder.
+42       * 
+43       * @return the new document object or <code>null</code> if the parameter
+44       *         <code>context</code> was set to <code>null</code>
+45       */
+46      Document createDocument(Map<String, ?> properties, ContentStream contentStream, VersioningState versioningState,
+47              List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context);
+48  
+49      /**
+50       * Creates a new document in this folder.
+51       * 
+52       * @return the new document object
+53       */
+54      Document createDocument(Map<String, ?> properties, ContentStream contentStream, VersioningState versioningState);
+55  
+56      /**
+57       * Creates a new document from a source document in this folder.
+58       * 
+59       * @return the new document object or <code>null</code> if the parameter
+60       *         <code>context</code> was set to <code>null</code>
+61       */
+62      Document createDocumentFromSource(ObjectId source, Map<String, ?> properties, VersioningState versioningState,
+63              List<Policy> policies, List<Ace> addAces, List<Ace> removeAces, OperationContext context);
+64  
+65      /**
+66       * Creates a new document from a source document in this folder.
+67       * 
+68       * @return the new document object
+69       */
+70      Document createDocumentFromSource(ObjectId source, Map<String, ?> properties, VersioningState versioningState);
+71  
+72      /**
+73       * Creates a new subfolder in this folder.
+74       * 
+75       * @return the new folder object or <code>null</code> if the parameter
+76       *         <code>context</code> was set to <code>null</code>
+77       */
+78      Folder createFolder(Map<String, ?> properties, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces,
+79              OperationContext context);
+80  
+81      /**
+82       * Creates a new subfolder in this folder.
+83       * 
+84       * @return the new folder object
+85       */
+86      Folder createFolder(Map<String, ?> properties);
+87  
+88      /**
+89       * Creates a new policy in this folder.
+90       * 
+91       * @return the new policy object or <code>null</code> if the parameter
+92       *         <code>context</code> was set to <code>null</code>
+93       */
+94      Policy createPolicy(Map<String, ?> properties, List<Policy> policies, List<Ace> addAces, List<Ace> removeAces,
+95              OperationContext context);
+96  
+97      /**
+98       * Creates a new policy in this folder.
+99       * 
+100      * @return the new policy object
+101      */
+102     Policy createPolicy(Map<String, ?> properties);
+103 
+104     /**
+105      * Deletes this folder and all subfolders.
+106      * 
+107      * @return a list of object ids which failed to be deleted
+108      */
+109     List<String> deleteTree(boolean allversions, UnfileObject unfile, boolean continueOnFailure);
+110 
+111     // navigation service
+112 
+113     /**
+114      * Gets the folder tree starting with this folder.
+115      */
+116     List<Tree<FileableCmisObject>> getFolderTree(int depth);
+117 
+118     /**
+119      * Gets the folder tree starting with this folder using the given
+120      * {@link OperationContext}.
+121      */
+122     List<Tree<FileableCmisObject>> getFolderTree(int depth, OperationContext context);
+123 
+124     /**
+125      * Gets the folder descendants starting with this folder.
+126      */
+127     List<Tree<FileableCmisObject>> getDescendants(int depth);
+128 
+129     /**
+130      * Gets the folder descendants starting with this folder using the given
+131      * {@link OperationContext}.
+132      */
+133     List<Tree<FileableCmisObject>> getDescendants(int depth, OperationContext context);
+134 
+135     /**
+136      * Returns the children of this folder.
+137      */
+138     ItemIterable<CmisObject> getChildren();
+139 
+140     /**
+141      * Returns the children of this folder using the given
+142      * {@link OperationContext}.
+143      */
+144     ItemIterable<CmisObject> getChildren(OperationContext context);
+145 
+146     /**
+147      * Returns if the folder is the root folder.
+148      */
+149     boolean isRootFolder();
+150 
+151     /**
+152      * Gets the parent folder object
+153      * 
+154      * @return the parent folder object or <code>null</code> if the folder is
+155      *         the root folder.
+156      */
+157     Folder getFolderParent();
+158 
+159     /**
+160      * Returns the path of the folder.
+161      */
+162     String getPath();
+163 
+164     /**
+165      * Returns all checked out documents in this folder.
+166      */
+167     ItemIterable<Document> getCheckedOutDocs();
+168 
+169     /**
+170      * Returns all checked out documents in this folder using the given
+171      * {@link OperationContext}.
+172      */
+173     ItemIterable<Document> getCheckedOutDocs(OperationContext context);
+174 }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FolderProperties.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FolderProperties.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FolderProperties.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FolderProperties.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,56 @@ + + + + +FolderProperties 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.api;
+20  
+21  import java.util.List;
+22  
+23  /**
+24   * Accessors to CMIS folder properties.
+25   *
+26   * @see CmisObjectProperties
+27   */
+28  public interface FolderProperties {
+29  
+30      /**
+31       * Returns the parent id or <code>null</code> if the folder is ther root
+32       * folder (CMIS property <code>cmis:parentId</code>).
+33       */
+34      String getParentId();
+35  
+36      /**
+37       * Returns the list of the allowed object types in this folder (CMIS
+38       * property <code>cmis:allowedChildObjectTypeIds</code>). If the list is
+39       * empty or <code>null</code> all object types are allowed.
+40       */
+41      List<ObjectType> getAllowedChildObjectTypes();
+42  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FolderType.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FolderType.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FolderType.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/FolderType.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,42 @@ + + + + +FolderType 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.api;
+20  
+21  /**
+22   * Folder Object Type.
+23   * <p>
+24   * See CMIS Domain Model - section 2.1.5.4.
+25   */
+26  public interface FolderType extends ObjectType {
+27  
+28  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ItemIterable.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ItemIterable.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ItemIterable.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ItemIterable.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,106 @@ + + + + +ItemIterable 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.api;
+20  
+21  import java.util.Iterator;
+22  
+23  /**
+24   * Iterable for CMIS collections that allows ability to skip to specific
+25   * position or return a subcollection.
+26   *
+27   * @param <T> the type of the items
+28   */
+29  public interface ItemIterable<T> extends Iterable<T> {
+30  
+31      /**
+32       * Skip to position within CMIS collection
+33       *
+34       * @param position
+35       * @return iterable whose starting point is the specified skip to position.
+36       *         This iterable <em>may</em> be the same as {@code this}
+37       */
+38      ItemIterable<T> skipTo(long position);
+39  
+40      /**
+41       * Gets an iterable for the current sub collection within the CMIS collection using
+42       * default maximum number of items
+43       *
+44       * @return iterable for current page
+45       */
+46      ItemIterable<T> getPage();
+47  
+48      /**
+49       * Gets an iterable for the current sub collection within the CMIS collection
+50       *
+51       * @param maxNumItems
+52       *            maximum number of items the sub collection will contain
+53       *
+54       * @return iterable for current page
+55       */
+56      ItemIterable<T> getPage(int maxNumItems);
+57  
+58      /*
+59       * (non-Javadoc)
+60       *
+61       * @see java.lang.Iterable#iterator()
+62       */
+63      Iterator<T> iterator();
+64  
+65      /**
+66       * Returns the number of items fetched for the current page.
+67       *
+68       * @return number of items for currently fetched collection
+69       */
+70      long getPageNumItems();
+71  
+72      /**
+73       * Returns whether the repository contains additional items beyond the page of
+74       * items already fetched.
+75       *
+76       * @return true => further page requests will be made to the repository
+77       */
+78      boolean getHasMoreItems();
+79  
+80      /**
+81       * Returns the total number of items. If the repository knows the total
+82       * number of items in a result set, the repository SHOULD include the number
+83       * here. If the repository does not know the number of items in a result
+84       * set, this parameter SHOULD not be set. The value in the parameter MAY NOT
+85       * be accurate the next time the client retrieves the result set or the next
+86       * page in the result set.
+87       *
+88       * @return total number of items or (-1)
+89       */
+90      long getTotalNumItems();
+91  
+92  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ObjectFactory.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ObjectFactory.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ObjectFactory.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ObjectFactory.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,113 @@ + + + + +ObjectFactory 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.api;
+20  
+21  import java.io.InputStream;
+22  import java.util.List;
+23  import java.util.Map;
+24  import java.util.Set;
+25  
+26  import org.apache.chemistry.opencmis.commons.data.Ace;
+27  import org.apache.chemistry.opencmis.commons.data.Acl;
+28  import org.apache.chemistry.opencmis.commons.data.ContentStream;
+29  import org.apache.chemistry.opencmis.commons.data.ObjectData;
+30  import org.apache.chemistry.opencmis.commons.data.ObjectList;
+31  import org.apache.chemistry.opencmis.commons.data.Properties;
+32  import org.apache.chemistry.opencmis.commons.data.PropertyData;
+33  import org.apache.chemistry.opencmis.commons.data.RenditionData;
+34  import org.apache.chemistry.opencmis.commons.data.RepositoryInfo;
+35  import org.apache.chemistry.opencmis.commons.definitions.PropertyDefinition;
+36  import org.apache.chemistry.opencmis.commons.definitions.TypeDefinition;
+37  import org.apache.chemistry.opencmis.commons.enums.Updatability;
+38  
+39  /**
+40   * A factory to create CMIS objects.
+41   * 
+42   * @see org.apache.chemistry.opencmis.client.api.Session#getObjectFactory()
+43   */
+44  public interface ObjectFactory {
+45  
+46      void initialize(Session session, Map<String, String> parameters);
+47  
+48      // repository info
+49  
+50      RepositoryInfo convertRepositoryInfo(RepositoryInfo repositoryInfo);
+51  
+52      // ACL and ACE
+53  
+54      Acl convertAces(List<Ace> aces);
+55  
+56      Acl createAcl(List<Ace> aces);
+57  
+58      Ace createAce(String principal, List<String> permissions);
+59  
+60      // policies
+61  
+62      List<String> convertPolicies(List<Policy> policies);
+63  
+64      // renditions
+65  
+66      Rendition convertRendition(String objectId, RenditionData rendition);
+67  
+68      // content stream
+69  
+70      ContentStream createContentStream(String filename, long length, String mimetype, InputStream stream);
+71  
+72      ContentStream convertContentStream(ContentStream contentStream);
+73  
+74      // types
+75  
+76      ObjectType convertTypeDefinition(TypeDefinition typeDefinition);
+77  
+78      ObjectType getTypeFromObjectData(ObjectData objectData);
+79  
+80      // properties
+81  
+82      <T> Property<T> createProperty(PropertyDefinition<T> type, List<T> values);
+83  
+84      Map<String, Property<?>> convertProperties(ObjectType objectType, Properties properties);
+85  
+86      Properties convertProperties(Map<String, ?> properties, ObjectType type, Set<Updatability> updatabilityFilter);
+87  
+88      List<PropertyData<?>> convertQueryProperties(Properties properties);
+89  
+90      // objects
+91  
+92      CmisObject convertObject(ObjectData objectData, OperationContext context);
+93  
+94      QueryResult convertQueryResult(ObjectData objectData);
+95  
+96      ChangeEvent convertChangeEvent(ObjectData objectData);
+97  
+98      ChangeEvents convertChangeEvents(String changeLogToken, ObjectList objectList);
+99  }
+
+
+ + Added: chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ObjectId.html URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ObjectId.html?rev=1308682&view=auto ============================================================================== --- chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ObjectId.html (added) +++ chemistry/site/trunk/content/java/0.7.0/maven/chemistry-opencmis-client/chemistry-opencmis-client-api/xref/org/apache/chemistry/opencmis/client/api/ObjectId.html Tue Apr 3 04:43:26 2012 @@ -0,0 +1,44 @@ + + + + +ObjectId 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.api;
+20  
+21  /**
+22   * Holds an object id.
+23   */
+24  public interface ObjectId {
+25  
+26      /**
+27       * Returns the id.
+28       */
+29      String getId();
+30  }
+
+
+ +