Aspect and Type api implementation (#261)

* initial commit

* * added match filters

* api completed

* * removed unwanted changes

* fixed test

* * fix consistant naming of class

* fixed comments

* * fixed comments

* * aspects fixed

* * types added

* * fixed tes and minor improvemment

* * fixed comments
This commit is contained in:
dhrn
2021-02-05 15:25:22 +05:30
committed by GitHub
parent cc3c518940
commit 0211392ff6
35 changed files with 2325 additions and 198 deletions

View File

@@ -530,7 +530,7 @@
</property>
</bean>
<bean id="nodeDefinitionMapper" class="org.alfresco.rest.api.impl.NodeDefinitionMapperImpl"/>
<bean id="classDefinitionMapper" class="org.alfresco.rest.api.impl.ClassDefinitionMapperImpl"/>
<bean id="nodes" class="org.alfresco.rest.api.impl.NodesImpl" init-method="init">
<property name="serviceRegistry" ref="ServiceRegistry"/>
@@ -542,7 +542,7 @@
<property name="personLookupProperties" ref="nodes.personLookupProperties"/>
<property name="poster" ref="activitiesPoster" />
<property name="smartStore" ref="smartStore"/>
<property name="nodeDefinitionMapper" ref="nodeDefinitionMapper" />
<property name="classDefinitionMapper" ref="classDefinitionMapper" />
</bean>
<bean id="Nodes" class="org.springframework.aop.framework.ProxyFactoryBean">
@@ -781,7 +781,7 @@
<bean id="siteSurfConfig" class="org.alfresco.rest.api.impl.SiteSurfConfig">
<property name="configPath" value="alfresco/bootstrap/site"/>
</bean>
<bean id="Sites" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.rest.api.Sites</value>
@@ -1491,4 +1491,52 @@
<bean class="org.alfresco.rest.api.groups.SiteGroupsRelation">
<property name="sites" ref="Sites" />
</bean>
<bean class="org.alfresco.rest.api.aspects.AspectEntityResource">
<property name="aspects" ref="Aspects" />
</bean>
<bean id="aspects" class="org.alfresco.rest.api.impl.AspectsImpl">
<property name="dictionaryService" ref="DictionaryService" />
<property name="namespaceService" ref="namespaceService"/>
<property name="classDefinitionMapper" ref="classDefinitionMapper" />
</bean>
<bean id="Aspects" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.rest.api.Aspects</value>
</property>
<property name="target">
<ref bean="aspects" />
</property>
<property name="interceptorNames">
<list>
<idref bean="legacyExceptionInterceptor" />
</list>
</property>
</bean>
<bean class="org.alfresco.rest.api.types.TypeEntityResource">
<property name="types" ref="Types" />
</bean>
<bean id="types" class="org.alfresco.rest.api.impl.TypesImpl">
<property name="dictionaryService" ref="DictionaryService" />
<property name="namespaceService" ref="namespaceService"/>
<property name="classDefinitionMapper" ref="classDefinitionMapper" />
</bean>
<bean id="Types" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.rest.api.Types</value>
</property>
<property name="target">
<ref bean="types" />
</property>
<property name="interceptorNames">
<list>
<idref bean="legacyExceptionInterceptor" />
</list>
</property>
</bean>
</beans>