mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Refactor CMIS property accessors (value / lucene mappers).
- remove notion of generic property accessor; consolidated on named property accessor - build property accessors at time of CMIS Dictionary creation (cached, removes continuous creation of small objects); hooked into CMIS Property Definition - remove property service - lookup of property accessor quicker and constrained to properties in CMIS Dictionary - fixup fallout in CMIS AtomPub, Web Services and Query CMIS AtomPub, Web Services and Query tests pass. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -26,6 +26,9 @@ package org.alfresco.repo.service;
|
||||
|
||||
import java.util.Collection;
|
||||
|
||||
import org.alfresco.cmis.CMISService;
|
||||
import org.alfresco.cmis.dictionary.CMISDictionaryService;
|
||||
import org.alfresco.cmis.search.CMISQueryService;
|
||||
import org.alfresco.mbeans.VirtServerRegistry;
|
||||
import org.alfresco.repo.forms.FormService;
|
||||
import org.alfresco.repo.transaction.RetryingTransactionHelper;
|
||||
@@ -504,6 +507,32 @@ public class ServiceDescriptorRegistry
|
||||
public InvitationService getInvitationService()
|
||||
{
|
||||
return (InvitationService)getService(INVITATION_SERVICE);
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.service.ServiceRegistry#getCMISService()
|
||||
*/
|
||||
public CMISService getCMISService()
|
||||
{
|
||||
return (CMISService)getService(CMIS_SERVICE);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.service.ServiceRegistry#getCMISDictionaryService()
|
||||
*/
|
||||
public CMISDictionaryService getCMISDictionaryService()
|
||||
{
|
||||
return (CMISDictionaryService)getService(CMIS_DICTIONARY_SERVICE);
|
||||
}
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.alfresco.service.ServiceRegistry#getCMISQueryService()
|
||||
*/
|
||||
public CMISQueryService getCMISQueryService()
|
||||
{
|
||||
return (CMISQueryService)getService(CMIS_QUERY_SERVICE);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user