mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-07 18:25:23 +00:00
25629: ALF-7069: - changed getNodes to a POST request - beefed up unit tests + some performance tests ALF-7070: - initial checkin, works end-to-end, still work-in-progress - unit + performance tests 25630: ALF-7069: removed files that are no longer needed 25640: Merged BRANCHES\DEV\SOLR to BRANCHES\DEV\SWIFT 25079: SOLR check point: ALF-4259: SOLR Integration 25217: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25315: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25577: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25604: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25610: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming 25651: - enabled OpenCMIS server ticket authentication - added OpenCMIS client API (incomplete) 25667: Merged BRANCHES/DEV/BM to BRANCHES/DEV/SWIFT: 25030: Repo BM Sprint 1 - example using JMeter (WebDAV & CMIS) 25054: Repo BM Sprint 1 - milestone 2 25078: Repo BM sprint 1 - milestone 3 (ALF-6794) 25675: ALF-7068: SOLR 075 Improved cache rebuild performance - delta + query cache warming - fix queries against un-optimized index 25676: Merged BRANCHES/DEV/BM to BRANCHES/DEV/SWIFT: commit mergeinfo 25683: RepoBM: OpenCMIS - use shared libs (from 3rd-party project) - change default url (from ".../alfresco/opencmis-atom" to ".../alfresco/cmisatom") 25767: ALF-7339: SOLR 020 Index track and build from SOLR - Initial hook up point and proto type for config 25787: ALF-7070: - owner, associations, type conversions SOLR Client-side API to call into repository SOLR APIs 25818: added webscripts root object as an entry point to OpenCMIS client sessions (local and remote) 25855: Bug fix: keep CMIS connection manager reference git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28089 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
71 lines
2.5 KiB
Java
71 lines
2.5 KiB
Java
package org.alfresco.repo.domain.solr;
|
|
|
|
import java.util.List;
|
|
|
|
import org.alfresco.repo.domain.node.Node;
|
|
|
|
/**
|
|
* DAO support for SOLR web scripts.
|
|
*
|
|
* @since 4.0
|
|
*/
|
|
// TODO - permit shortened form of QNames for e.g. aspects i.e. cm:content vs {http://www.alfresco.org/model/content/1.0}content?
|
|
public interface SOLRDAO
|
|
{
|
|
/**
|
|
* Get the transactions from either minTxnId or fromCommitTime, optionally limited to maxResults
|
|
*
|
|
* @param minTxnId greater than or equal to minTxnId
|
|
* @param fromCommitTime greater than or equal to transaction commit time
|
|
* @param maxResults limit the results. 0 or Integer.MAX_VALUE does not limit the results
|
|
* @return list of transactions
|
|
*/
|
|
public List<Transaction> getTransactions(Long minTxnId, Long fromCommitTime, int maxResults);
|
|
|
|
/**
|
|
* Get the nodes satisfying the constraints in nodeParameters
|
|
*
|
|
* @param nodeParameters set of constraints for which nodes to return
|
|
* @param maxResults limit the results. 0 or Integer.MAX_VALUE does not limit the results
|
|
* @param callback a callback to receive the results
|
|
*/
|
|
public void getNodes(NodeParameters nodeParameters, NodeQueryCallback callback);
|
|
|
|
/**
|
|
* Returns metadata for a set of node ids
|
|
*
|
|
* @param nodeIds a set of nodeIds for which to return node metadata
|
|
* @param maxResults limit the results. 0 or Integer.MAX_VALUE does not limit the results
|
|
* @param callback a callback to receive the results
|
|
*/
|
|
public void getNodesMetadata(NodeMetaDataParameters nodeMetaDataParameters, MetaDataResultsFilter resultFilter, NodeMetaDataQueryCallback callback);
|
|
|
|
/**
|
|
* The interface that will be used to give query results to the calling code.
|
|
*/
|
|
public static interface NodeQueryCallback
|
|
{
|
|
/**
|
|
* Handle a node.
|
|
*
|
|
* @param node the node
|
|
* @return Return <tt>true</tt> to continue processing rows or <tt>false</tt> to stop
|
|
*/
|
|
boolean handleNode(Node node);
|
|
}
|
|
|
|
/**
|
|
* The interface that will be used to give query results to the calling code.
|
|
*/
|
|
public static interface NodeMetaDataQueryCallback
|
|
{
|
|
/**
|
|
* Handle a node.
|
|
*
|
|
* @param node the node meta data
|
|
* @return Return <tt>true</tt> to continue processing rows or <tt>false</tt> to stop
|
|
*/
|
|
boolean handleNodeMetaData(NodeMetaData nodeMetaData);
|
|
}
|
|
}
|