Merged DEV/CMIS0_61 to HEAD (part 1)

13973 Replace CMIS XSDs / Sample XML files with 0.6 versions.
  - fix issues with some of the samples
  - CMISSchemaTest passes
 13981 AtomPub binding complies with CMIS v0.6 XSDs and Namepaces.
  - Tests passing
 13982 Running list of implemented changes between CMIS v0.5 and v0.6
 13986 AtomPub binding comply with CMIS v0.6 data model & API (part 1)
 - Tests are passing

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14172 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2009-05-01 19:56:39 +00:00
parent b82ba8076d
commit 45f141740b
12 changed files with 51 additions and 128 deletions

View File

@@ -172,7 +172,7 @@ public class CMISAbstractTypeDefinition implements CMISTypeDefinition, Serializa
logger.debug("Type " + objectTypeId + ": parent=" + (parentType == null ? "<none>" : parentType.getTypeId()) +
", internal parent=" + (internalParentType == null ? "<none>" : internalParentType.getTypeId()));
CMISTypeId rootTypeId = objectTypeId.getRootTypeId();
CMISTypeId rootTypeId = objectTypeId.getBaseTypeId();
if (rootTypeId != null)
{
rootType = registry.objectDefsByTypeId.get(rootTypeId);
@@ -288,7 +288,7 @@ public class CMISAbstractTypeDefinition implements CMISTypeDefinition, Serializa
* (non-Javadoc)
* @see org.alfresco.cmis.dictionary.CMISTypeDefinition#getRootType()
*/
public CMISTypeDefinition getRootType()
public CMISTypeDefinition getBaseType()
{
return rootType;
}