chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r926183 - in /incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src: main/java/org/apache/opencmis/inmemory/ main/java/org/apache/opencmis/inmemory/storedobj/api/ main/java/org/apache/opencmis/inmemory/storedobj/im...
Date Mon, 22 Mar 2010 16:56:21 GMT
Author: jens
Date: Mon Mar 22 16:56:21 2010
New Revision: 926183

URL: http://svn.apache.org/viewvc?rev=926183&view=rev
Log:
InMemory Server:
Remove an obsolete method from an internal interface and impl.

Removed:
    incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/RepositoryInfo.java
Modified:
    incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/api/StoreManager.java
    incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java
    incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/test/java/org/apache/opencmis/inmemory/TypeValidationTest.java

Modified: incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/api/StoreManager.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/api/StoreManager.java?rev=926183&r1=926182&r2=926183&view=diff
==============================================================================
--- incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/api/StoreManager.java
(original)
+++ incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/api/StoreManager.java
Mon Mar 22 16:56:21 2010
@@ -24,7 +24,6 @@ import java.util.List;
 import org.apache.opencmis.commons.api.TypeDefinitionContainer;
 import org.apache.opencmis.commons.provider.ProviderObjectFactory;
 import org.apache.opencmis.commons.provider.RepositoryInfoData;
-import org.apache.opencmis.inmemory.RepositoryInfo;
 
 /**
  * interface to a repository implementation. This interface is the entry point to a 
@@ -74,16 +73,7 @@ public interface StoreManager {
    *    TypeCreator
    */
   void createAndInitRepository(String repositoryId, String typeCreatorClassName);
-  
-  /**
-   * load an existing repository with the given id
-   * 
-   * @param repositoryId
-   *    id of repository
-   */
-  RepositoryInfo loadRepository(String repositoryId);
-  
-  
+    
   /**
    * retrieve a list with all type definitions. 
    * @param repositoryId

Modified: incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java?rev=926183&r1=926182&r2=926183&view=diff
==============================================================================
--- incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java
(original)
+++ incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/main/java/org/apache/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java
Mon Mar 22 16:56:21 2010
@@ -38,7 +38,6 @@ import org.apache.opencmis.commons.impl.
 import org.apache.opencmis.commons.impl.dataobjects.RepositoryInfoDataImpl;
 import org.apache.opencmis.commons.provider.ProviderObjectFactory;
 import org.apache.opencmis.commons.provider.RepositoryInfoData;
-import org.apache.opencmis.inmemory.RepositoryInfo;
 import org.apache.opencmis.inmemory.RepositoryInfoCreator;
 import org.apache.opencmis.inmemory.TypeCreator;
 import org.apache.opencmis.inmemory.TypeManager;
@@ -207,10 +206,6 @@ public class StoreManagerImpl implements
     }
   }
   
-  public RepositoryInfo loadRepository(String repositoryId) {
-    return null;
-  }
-  
   private RepositoryInfoData createDefaultRepositoryInfo(String repositoryId) {
     ObjectStore objStore = getObjectStore(repositoryId);
     String rootFolderId = objStore.getRootFolder().getId();

Modified: incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/test/java/org/apache/opencmis/inmemory/TypeValidationTest.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/test/java/org/apache/opencmis/inmemory/TypeValidationTest.java?rev=926183&r1=926182&r2=926183&view=diff
==============================================================================
--- incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/test/java/org/apache/opencmis/inmemory/TypeValidationTest.java
(original)
+++ incubator/chemistry/trunk/opencmis/opencmis-server/opencmis-server-inmemory/src/test/java/org/apache/opencmis/inmemory/TypeValidationTest.java
Mon Mar 22 16:56:21 2010
@@ -566,7 +566,7 @@ public class TypeValidationTest extends 
     return cmisType;
   }
 
-  private static InMemoryDocumentTypeDefinition buildTypeWithPickList(Cardinality cardinality)
{
+  public static InMemoryDocumentTypeDefinition buildTypeWithPickList(Cardinality cardinality)
{
     InMemoryDocumentTypeDefinition cmisType = new InMemoryDocumentTypeDefinition(PICK_LIST_DOC_TYPE,
         "PickList Document Type for Validation", InMemoryDocumentTypeDefinition.getRootDocumentType());
 
@@ -601,7 +601,7 @@ public class TypeValidationTest extends 
     return cmisType;
   }
 
-  private static InMemoryDocumentTypeDefinition buildTypeWithMultiPickList() {
+  public static InMemoryDocumentTypeDefinition buildTypeWithMultiPickList() {
     InMemoryDocumentTypeDefinition cmisType = new InMemoryDocumentTypeDefinition(PICK_LIST_DOC_TYPE,
         "PickList Document Type for Validation", InMemoryDocumentTypeDefinition.getRootDocumentType());
 
@@ -639,7 +639,7 @@ public class TypeValidationTest extends 
     return cmisType;
   }
 
-  private static InMemoryDocumentTypeDefinition buildTypeWithHierachicalPickList(
+  public static InMemoryDocumentTypeDefinition buildTypeWithHierachicalPickList(
       Cardinality cardinality) {
     InMemoryDocumentTypeDefinition cmisType = new InMemoryDocumentTypeDefinition(PICK_LIST_DOC_TYPE,
         "PickList Document Type for Validation", InMemoryDocumentTypeDefinition.getRootDocumentType());



Mime
View raw message