mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Change to mapping of AVM aspects.
This seems to make indexing a bit quicker, and at least doesn't make other things slower. Bulk import now just sucks; it used to be an order of magnitude suckier. 98% of that is due to Andy's recent changes. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6103 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -28,6 +28,7 @@ import java.io.OutputStream;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.SortedMap;
|
||||
|
||||
import org.alfresco.repo.domain.PropertyValue;
|
||||
@@ -1131,10 +1132,10 @@ public interface AVMService
|
||||
*
|
||||
* @param version The version to look under.
|
||||
* @param path The path to the node.
|
||||
* @return A List of the QNames of the aspects.
|
||||
* @return A Set of the QNames of the aspects.
|
||||
* @throws AVMNotFoundException
|
||||
*/
|
||||
public List<QName> getAspects(int version, String path);
|
||||
public Set<QName> getAspects(int version, String path);
|
||||
|
||||
/**
|
||||
* Remove an aspect and its properties from a node.
|
||||
|
@@ -28,6 +28,7 @@ import java.io.OutputStream;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.SortedMap;
|
||||
|
||||
import org.alfresco.repo.domain.PropertyValue;
|
||||
@@ -457,7 +458,7 @@ public interface AVMRemote
|
||||
* @return A List of the QNames of the aspects.
|
||||
* @throws AVMNotFoundException
|
||||
*/
|
||||
public List<QName> getAspects(int version, String path);
|
||||
public Set<QName> getAspects(int version, String path);
|
||||
|
||||
/**
|
||||
* Remove an aspect and its properties from a node.
|
||||
|
@@ -6,6 +6,7 @@ package org.alfresco.service.cmr.remote;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.SortedMap;
|
||||
|
||||
import org.alfresco.repo.domain.PropertyValue;
|
||||
@@ -471,7 +472,7 @@ public interface AVMRemoteTransport
|
||||
* @return A List of the QNames of the aspects.
|
||||
* @throws AVMNotFoundException
|
||||
*/
|
||||
public List<QName> getAspects(String ticket, int version, String path);
|
||||
public Set<QName> getAspects(String ticket, int version, String path);
|
||||
|
||||
/**
|
||||
* Remove an aspect and its properties from a node.
|
||||
|
Reference in New Issue
Block a user