Checkin for RSOLR 031: "Remote API to get and compare models"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28472 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Steven Glover
2011-06-20 09:28:02 +00:00
parent ac7658f463
commit 347d43b4a1
7 changed files with 461 additions and 2 deletions

View File

@@ -19,8 +19,11 @@
package org.alfresco.repo.solr;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.alfresco.repo.domain.node.Node;
import org.alfresco.service.namespace.QName;
/**
* Interface for component to provide tracking data for SOLR.
@@ -84,7 +87,24 @@ public interface SOLRTrackingComponent
* @param callback a callback to receive the results
*/
public void getNodesMetadata(NodeMetaDataParameters nodeMetaDataParameters, MetaDataResultsFilter resultFilter, NodeMetaDataQueryCallback callback);
/**
* Returns the Alfresco model given by the name modelName
*
* @param modelName the name of the model
* @return the model plus a checksum
*/
public AlfrescoModel getModel(QName modelName);
/**
* Returns a list of diffs representing differences between the current Repository models
* and those passed in the models parameter.
*
* @param models a set of mappings of model names to checksums
* @return a list of diffs between those in the repository and those passed in the models parameter
*/
public List<AlfrescoModelDiff> getModelDiffs(Map<QName, Long> models);
/**
* The interface that will be used to give query results to the calling code.
*/