mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Refactor CMIS Dictionary part 2
- further simplification of CMISDictionaryService and fixup fallout - added logging - consolidate & fix property definition handling (only one definition per property) - include support for aspect properties - fix property.isInherited - open up the door for types outside of CMIS doc, folder, rel & policy Dictionary Service - add isOverride() to PropertyDefinition Invite Workflows - ensure they create their own namespace for new types/props - NOTE: the previous way uses a hole in the DictinaryService which has been there unnoticed for over 4 years, till now. At some point, the hole will be filled in. Tests pass for CMIS REST / Web Services and Query. Tests pass for Invitation Service. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13786 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -389,8 +389,7 @@ public class CMISScript extends BaseScopableProcessorExtension
|
||||
{
|
||||
try
|
||||
{
|
||||
CMISTypeId cmisTypeId = cmisDictionaryService.getTypeId(typeId);
|
||||
return cmisDictionaryService.getType(cmisTypeId);
|
||||
return cmisDictionaryService.findType(typeId);
|
||||
}
|
||||
catch(AlfrescoRuntimeException e)
|
||||
{
|
||||
@@ -409,8 +408,7 @@ public class CMISScript extends BaseScopableProcessorExtension
|
||||
try
|
||||
{
|
||||
QName typeQName = node.getQNameType();
|
||||
CMISTypeId cmisTypeId = cmisDictionaryService.getTypeId(typeQName, null);
|
||||
return cmisDictionaryService.getType(cmisTypeId);
|
||||
return cmisDictionaryService.findTypeForClass(typeQName);
|
||||
}
|
||||
catch(AlfrescoRuntimeException e)
|
||||
{
|
||||
|
Reference in New Issue
Block a user