chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r991975 - in /incubator/chemistry/opencmis/trunk: chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/test/java/org/apache/chemistry/opencmis/client/bindings/misc/ chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/...
Date Thu, 02 Sep 2010 15:18:36 GMT
Author: fmui
Date: Thu Sep  2 15:18:35 2010
New Revision: 991975

URL: http://svn.apache.org/viewvc?rev=991975&view=rev
Log:
- corrected asymmetric naming
- some clean up

Modified:
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/test/java/org/apache/chemistry/opencmis/client/bindings/misc/ConverterTest.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/test/java/org/apache/chemistry/opencmis/commons/impl/misc/ConverterTest.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/dummy/DummyService.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-fileshare/src/main/java/org/apache/chemistry/opencmis/fileshare/FileShareRepository.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java
    incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceTest.java

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/test/java/org/apache/chemistry/opencmis/client/bindings/misc/ConverterTest.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/test/java/org/apache/chemistry/opencmis/client/bindings/misc/ConverterTest.java?rev=991975&r1=991974&r2=991975&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/test/java/org/apache/chemistry/opencmis/client/bindings/misc/ConverterTest.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/test/java/org/apache/chemistry/opencmis/client/bindings/misc/ConverterTest.java
Thu Sep  2 15:18:35 2010
@@ -79,9 +79,9 @@ public class ConverterTest extends TestC
         obj1.setPrincipalAnyone("principalAnyone");
         obj1.setProductName("productName");
         obj1.setProductVersion("productVersion");
-        obj1.setRepositoryDescription("description");
-        obj1.setRepositoryId("id");
-        obj1.setRepositoryName("name");
+        obj1.setDescription("description");
+        obj1.setId("id");
+        obj1.setName("name");
         obj1.setRootFolder("rootFolderId");
         obj1.setThinClientUri("thinClientUri");
         obj1.setVendorName("vendorName");
@@ -101,7 +101,7 @@ public class ConverterTest extends TestC
         cap1.setSupportsMultifiling(Boolean.TRUE);
         cap1.setSupportsUnfiling(Boolean.TRUE);
         cap1.setSupportsVersionSpecificFiling(Boolean.TRUE);
-        obj1.setRepositoryCapabilities(cap1);
+        obj1.setCapabilities(cap1);
 
         AclCapabilitiesDataImpl acl1 = new AclCapabilitiesDataImpl();
         acl1.setAclPropagation(AclPropagation.PROPAGATE);

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java?rev=991975&r1=991974&r2=991975&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/Converter.java
Thu Sep  2 15:18:35 2010
@@ -266,10 +266,10 @@ public final class Converter {
         result.setPrincipalAnyone(repositoryInfo.getPrincipalAnyone());
         result.setProductName(repositoryInfo.getProductName());
         result.setProductVersion(repositoryInfo.getProductVersion());
-        result.setRepositoryCapabilities(convert(repositoryInfo.getCapabilities()));
-        result.setRepositoryDescription(repositoryInfo.getRepositoryDescription());
-        result.setRepositoryId(repositoryInfo.getRepositoryId());
-        result.setRepositoryName(repositoryInfo.getRepositoryName());
+        result.setCapabilities(convert(repositoryInfo.getCapabilities()));
+        result.setDescription(repositoryInfo.getRepositoryDescription());
+        result.setId(repositoryInfo.getRepositoryId());
+        result.setName(repositoryInfo.getRepositoryName());
         result.setRootFolder(repositoryInfo.getRootFolderId());
         result.setThinClientUri(repositoryInfo.getThinClientURI());
         result.setVendorName(repositoryInfo.getVendorName());

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java?rev=991975&r1=991974&r2=991975&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/dataobjects/RepositoryInfoImpl.java
Thu Sep  2 15:18:35 2010
@@ -27,30 +27,27 @@ import org.apache.chemistry.opencmis.com
 
 /**
  * Repository info data implementation.
- * 
- * @author <a href="mailto:fmueller@opentext.com">Florian M&uuml;ller</a>
- * 
  */
 public class RepositoryInfoImpl extends AbstractExtensionData implements RepositoryInfo {
 
     private static final long serialVersionUID = 1L;
 
-    private String fId;
-    private String fName;
-    private String fDescription;
-    private String fVersionSupported;
-    private RepositoryCapabilities fCapabilities;
-    private String fRootFolderId;
-    private AclCapabilities fAclCapabilities;
-    private String fPrincipalAnonymous;
-    private String fPrincipalAnyone;
-    private String fThinClientUri;
-    private Boolean fChangesIncomplete;
-    private List<BaseTypeId> fChangesOnType;
-    private String fLatestChangeLogToken;
-    private String fVendorName;
-    private String fProductName;
-    private String fProductVersion;
+    private String id;
+    private String name;
+    private String description;
+    private String versionSupported;
+    private RepositoryCapabilities capabilities;
+    private String rootFolderId;
+    private AclCapabilities aclCapabilities;
+    private String principalAnonymous;
+    private String principalAnyone;
+    private String thinClientUri;
+    private Boolean changesIncomplete;
+    private List<BaseTypeId> changesOnType;
+    private String latestChangeLogToken;
+    private String vendorName;
+    private String productName;
+    private String productVersion;
 
     /**
      * Constructor.
@@ -59,161 +56,161 @@ public class RepositoryInfoImpl extends 
     }
 
     public RepositoryInfoImpl(RepositoryInfo data) {
-        fId = data.getId();
-        fName = data.getName();
-        fDescription = data.getDescription();
-        fVersionSupported = data.getCmisVersionSupported();
-        fCapabilities = data.getCapabilities();
-        fRootFolderId = data.getRootFolderId();
-        fAclCapabilities = data.getAclCapabilities();
-        fPrincipalAnonymous = data.getPrincipalIdAnonymous();
-        fPrincipalAnyone = data.getPrincipalIdAnyone();
-        fThinClientUri = data.getThinClientUri();
-        fChangesIncomplete = data.getChangesIncomplete();
-        fChangesOnType = data.getChangesOnType();
-        fLatestChangeLogToken = data.getLatestChangeLogToken();
-        fVendorName = data.getVendorName();
-        fProductName = data.getProductName();
-        fProductVersion = data.getProductVersion();
+        id = data.getId();
+        name = data.getName();
+        description = data.getDescription();
+        versionSupported = data.getCmisVersionSupported();
+        capabilities = data.getCapabilities();
+        rootFolderId = data.getRootFolderId();
+        aclCapabilities = data.getAclCapabilities();
+        principalAnonymous = data.getPrincipalIdAnonymous();
+        principalAnyone = data.getPrincipalIdAnyone();
+        thinClientUri = data.getThinClientUri();
+        changesIncomplete = data.getChangesIncomplete();
+        changesOnType = data.getChangesOnType();
+        latestChangeLogToken = data.getLatestChangeLogToken();
+        vendorName = data.getVendorName();
+        productName = data.getProductName();
+        productVersion = data.getProductVersion();
     }
 
     public String getId() {
-        return fId;
+        return id;
     }
 
-    public void setRepositoryId(String id) {
-        fId = id;
+    public void setId(String id) {
+        this.id = id;
     }
 
     public String getName() {
-        return fName;
+        return name;
     }
 
-    public void setRepositoryName(String name) {
-        fName = name;
+    public void setName(String name) {
+        this.name = name;
     }
 
     public String getDescription() {
-        return fDescription;
+        return description;
     }
 
-    public void setRepositoryDescription(String description) {
-        fDescription = description;
+    public void setDescription(String description) {
+        this.description = description;
     }
 
     public String getCmisVersionSupported() {
-        return fVersionSupported;
+        return versionSupported;
     }
 
     public void setCmisVersionSupported(String versionSupported) {
-        fVersionSupported = versionSupported;
+        this.versionSupported = versionSupported;
     }
 
     public RepositoryCapabilities getCapabilities() {
-        return fCapabilities;
+        return capabilities;
     }
 
-    public void setRepositoryCapabilities(RepositoryCapabilities capabilities) {
-        fCapabilities = capabilities;
+    public void setCapabilities(RepositoryCapabilities capabilities) {
+        this.capabilities = capabilities;
     }
 
     public String getRootFolderId() {
-        return fRootFolderId;
+        return rootFolderId;
     }
 
     public void setRootFolder(String rootFolderId) {
-        fRootFolderId = rootFolderId;
+        this.rootFolderId = rootFolderId;
     }
 
     public AclCapabilities getAclCapabilities() {
-        return fAclCapabilities;
+        return aclCapabilities;
     }
 
     public void setAclCapabilities(AclCapabilities aclCapabilities) {
-        fAclCapabilities = aclCapabilities;
+        this.aclCapabilities = aclCapabilities;
     }
 
     public String getPrincipalIdAnonymous() {
-        return fPrincipalAnonymous;
+        return principalAnonymous;
     }
 
     public void setPrincipalAnonymous(String principalAnonymous) {
-        fPrincipalAnonymous = principalAnonymous;
+        this.principalAnonymous = principalAnonymous;
     }
 
     public String getPrincipalIdAnyone() {
-        return fPrincipalAnyone;
+        return principalAnyone;
     }
 
     public void setPrincipalAnyone(String principalAnyone) {
-        fPrincipalAnyone = principalAnyone;
+        this.principalAnyone = principalAnyone;
     }
 
     public String getThinClientUri() {
-        return fThinClientUri;
+        return thinClientUri;
     }
 
     public void setThinClientUri(String thinClientUri) {
-        fThinClientUri = thinClientUri;
+        this.thinClientUri = thinClientUri;
     }
 
     public Boolean getChangesIncomplete() {
-        return fChangesIncomplete;
+        return changesIncomplete;
     }
 
     public void setChangesIncomplete(Boolean changesIncomplete) {
-        fChangesIncomplete = changesIncomplete;
+        this.changesIncomplete = changesIncomplete;
     }
 
     public List<BaseTypeId> getChangesOnType() {
-        return fChangesOnType;
+        return changesOnType;
     }
 
     public void setChangesOnType(List<BaseTypeId> changesOnType) {
-        fChangesOnType = changesOnType;
+        this.changesOnType = changesOnType;
     }
 
     public String getLatestChangeLogToken() {
-        return fLatestChangeLogToken;
+        return latestChangeLogToken;
     }
 
     public void setLatestChangeLogToken(String latestChangeLogToken) {
-        fLatestChangeLogToken = latestChangeLogToken;
+        this.latestChangeLogToken = latestChangeLogToken;
     }
 
     public String getVendorName() {
-        return fVendorName;
+        return vendorName;
     }
 
     public void setVendorName(String vendorName) {
-        fVendorName = vendorName;
+        this.vendorName = vendorName;
     }
 
     public String getProductName() {
-        return fProductName;
+        return productName;
     }
 
     public void setProductName(String productName) {
-        fProductName = productName;
+        this.productName = productName;
     }
 
     public String getProductVersion() {
-        return fProductVersion;
+        return productVersion;
     }
 
     public void setProductVersion(String productVersion) {
-        fProductVersion = productVersion;
+        this.productVersion = productVersion;
     }
 
     @Override
     public String toString() {
-        return "Repository Info [id=" + fId + ", name=" + fName + ", description=" + fDescription
+ ", capabilities="
-                + fCapabilities + ", ACL capabilities=" + fAclCapabilities + ", changes incomplete="
-                + fChangesIncomplete + ", changes on type=" + fChangesOnType + ", latest
change log token="
-                + fLatestChangeLogToken + ", principal anonymous=" + fPrincipalAnonymous
+ ", principal anyone="
-                + fPrincipalAnyone + ", vendor name=" + fVendorName + ", product name=" +
fProductName
-                + ", product version=" + fProductVersion + ", root folder id=" + fRootFolderId
+ ", thin client URI="
-                + fThinClientUri + ", version supported=" + fVersionSupported + "]" + super.toString();
+        return "Repository Info [id=" + id + ", name=" + name + ", description=" + description
+ ", capabilities="
+                + capabilities + ", ACL capabilities=" + aclCapabilities + ", changes incomplete="
+ changesIncomplete
+                + ", changes on type=" + changesOnType + ", latest change log token=" + latestChangeLogToken
+                + ", principal anonymous=" + principalAnonymous + ", principal anyone=" +
principalAnyone
+                + ", vendor name=" + vendorName + ", product name=" + productName + ", product
version="
+                + productVersion + ", root folder id=" + rootFolderId + ", thin client URI="
+ thinClientUri
+                + ", version supported=" + versionSupported + "]" + super.toString();
     }
 
 }

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/test/java/org/apache/chemistry/opencmis/commons/impl/misc/ConverterTest.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/test/java/org/apache/chemistry/opencmis/commons/impl/misc/ConverterTest.java?rev=991975&r1=991974&r2=991975&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/test/java/org/apache/chemistry/opencmis/commons/impl/misc/ConverterTest.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/test/java/org/apache/chemistry/opencmis/commons/impl/misc/ConverterTest.java
Thu Sep  2 15:18:35 2010
@@ -79,9 +79,9 @@ public class ConverterTest extends TestC
         obj1.setPrincipalAnyone("principalAnyone");
         obj1.setProductName("productName");
         obj1.setProductVersion("productVersion");
-        obj1.setRepositoryDescription("description");
-        obj1.setRepositoryId("id");
-        obj1.setRepositoryName("name");
+        obj1.setDescription("description");
+        obj1.setId("id");
+        obj1.setName("name");
         obj1.setRootFolder("rootFolderId");
         obj1.setThinClientUri("thinClientUri");
         obj1.setVendorName("vendorName");
@@ -101,7 +101,7 @@ public class ConverterTest extends TestC
         cap1.setSupportsMultifiling(Boolean.TRUE);
         cap1.setSupportsUnfiling(Boolean.TRUE);
         cap1.setSupportsVersionSpecificFiling(Boolean.TRUE);
-        obj1.setRepositoryCapabilities(cap1);
+        obj1.setCapabilities(cap1);
 
         AclCapabilitiesDataImpl acl1 = new AclCapabilitiesDataImpl();
         acl1.setAclPropagation(AclPropagation.PROPAGATE);

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/dummy/DummyService.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/dummy/DummyService.java?rev=991975&r1=991974&r2=991975&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/dummy/DummyService.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/java/org/apache/chemistry/opencmis/server/impl/dummy/DummyService.java
Thu Sep  2 15:18:35 2010
@@ -45,9 +45,9 @@ public class DummyService extends Abstra
 	public DummyService(String id, String name) {
 		fRepInfo = new RepositoryInfoImpl();
 
-		fRepInfo.setRepositoryId(id);
-		fRepInfo.setRepositoryName(name);
-		fRepInfo.setRepositoryDescription(name);
+		fRepInfo.setId(id);
+		fRepInfo.setName(name);
+		fRepInfo.setDescription(name);
 		fRepInfo.setCmisVersionSupported("1.0");
 		fRepInfo.setRootFolder("root");
 

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-fileshare/src/main/java/org/apache/chemistry/opencmis/fileshare/FileShareRepository.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-fileshare/src/main/java/org/apache/chemistry/opencmis/fileshare/FileShareRepository.java?rev=991975&r1=991974&r2=991975&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-fileshare/src/main/java/org/apache/chemistry/opencmis/fileshare/FileShareRepository.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-fileshare/src/main/java/org/apache/chemistry/opencmis/fileshare/FileShareRepository.java
Thu Sep  2 15:18:35 2010
@@ -194,9 +194,9 @@ public class FileShareRepository {
         // compile repository info
         fRepositoryInfo = new RepositoryInfoImpl();
 
-        fRepositoryInfo.setRepositoryId(fRepositoryId);
-        fRepositoryInfo.setRepositoryName(fRepositoryId);
-        fRepositoryInfo.setRepositoryDescription(fRepositoryId);
+        fRepositoryInfo.setId(fRepositoryId);
+        fRepositoryInfo.setName(fRepositoryId);
+        fRepositoryInfo.setDescription(fRepositoryId);
 
         fRepositoryInfo.setCmisVersionSupported("1.0");
 
@@ -224,7 +224,7 @@ public class FileShareRepository {
         capabilities.setSupportsGetFolderTree(true);
         capabilities.setCapabilityRendition(CapabilityRenditions.NONE);
 
-        fRepositoryInfo.setRepositoryCapabilities(capabilities);
+        fRepositoryInfo.setCapabilities(capabilities);
 
         AclCapabilitiesDataImpl aclCapability = new AclCapabilitiesDataImpl();
         aclCapability.setSupportedPermissions(SupportedPermissions.BASIC);

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java?rev=991975&r1=991974&r2=991975&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/java/org/apache/chemistry/opencmis/inmemory/storedobj/impl/StoreManagerImpl.java
Thu Sep  2 15:18:35 2010
@@ -285,11 +285,11 @@ public class StoreManagerImpl implements
         // repository info
         RepositoryInfoImpl repoInfo;
         repoInfo = new RepositoryInfoImpl();
-        repoInfo.setRepositoryId(repositoryId == null ? "inMem" : repositoryId);
-        repoInfo.setRepositoryName("InMemory Repository");
-        repoInfo.setRepositoryDescription("InMemory Test Repository");
+        repoInfo.setId(repositoryId == null ? "inMem" : repositoryId);
+        repoInfo.setName("InMemory Repository");
+        repoInfo.setDescription("InMemory Test Repository");
         repoInfo.setCmisVersionSupported("1.0");
-        repoInfo.setRepositoryCapabilities(null);
+        repoInfo.setCapabilities(null);
         repoInfo.setRootFolder(rootFolderId);
         repoInfo.setPrincipalAnonymous("anonymous");
         repoInfo.setPrincipalAnyone("anyone");
@@ -319,7 +319,7 @@ public class StoreManagerImpl implements
         caps.setSupportsMultifiling(true);
         caps.setSupportsUnfiling(true);
         caps.setSupportsVersionSpecificFiling(false);
-        repoInfo.setRepositoryCapabilities(caps);
+        repoInfo.setCapabilities(caps);
 
         // AclCapabilitiesDataImpl aclCaps = new AclCapabilitiesDataImpl();
         // aclCaps.setACLPropagation(AclPropagation.REPOSITORYDETERMINED);

Modified: incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceTest.java
URL: http://svn.apache.org/viewvc/incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceTest.java?rev=991975&r1=991974&r2=991975&view=diff
==============================================================================
--- incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceTest.java
(original)
+++ incubator/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/test/java/org/apache/chemistry/opencmis/inmemory/RepositoryServiceTest.java
Thu Sep  2 15:18:35 2010
@@ -97,11 +97,11 @@ public class RepositoryServiceTest exten
             caps.setSupportsVersionSpecificFiling(false);
 
             RepositoryInfoImpl repositoryInfo = new RepositoryInfoImpl();
-            repositoryInfo.setRepositoryId(REPOSITORY_ID);
-            repositoryInfo.setRepositoryName("InMemory Repository");
-            repositoryInfo.setRepositoryDescription("InMemory Test Repository");
+            repositoryInfo.setId(REPOSITORY_ID);
+            repositoryInfo.setName("InMemory Repository");
+            repositoryInfo.setDescription("InMemory Test Repository");
             repositoryInfo.setCmisVersionSupported("0.7");
-            repositoryInfo.setRepositoryCapabilities(caps);
+            repositoryInfo.setCapabilities(caps);
             repositoryInfo.setRootFolder("/");
             repositoryInfo.setAclCapabilities(null);
             repositoryInfo.setPrincipalAnonymous("anonymous");



Mime
View raw message