org.alfresco.repo.domain.solr
Interface SOLRDAO

All Known Implementing Classes:
SOLRDAOImpl

public interface SOLRDAO

DAO support for SOLR web scripts.

Since:
4.0

Method Summary
 java.util.List getAclChangeSets(java.lang.Long minAclChangeSetId, java.lang.Long fromCommitTime, int maxResults)
          Get the ACL changesets summary (rollup count) with paging options
 java.util.List getAcls(java.util.List aclChangeSetIds, java.lang.Long minAclId, int maxResults)
          Get the ACLs (no rollup count) for the given ACL ChangeSets
 java.util.List getNodes(NodeParameters nodeParameters)
          Get the nodes satisfying the constraints in nodeParameters
 java.util.List getTransactions(java.lang.Long minTxnId, java.lang.Long fromCommitTime, int maxResults)
          Get the transactions from either minTxnId or fromCommitTime, optionally limited to maxResults
 

Method Detail

getAclChangeSets

java.util.List getAclChangeSets(java.lang.Long minAclChangeSetId,
                                java.lang.Long fromCommitTime,
                                int maxResults)
Get the ACL changesets summary (rollup count) with paging options

Parameters:
minAclChangeSetId - minimum ACL changeset ID - (inclusive and optional)
fromCommitTime - minimum ACL commit time - (inclusive and optional)
maxResults - limit the results (must be greater than zero and less than MAX)
Returns:
list of ACL changesets (no details)

getAcls

java.util.List getAcls(java.util.List aclChangeSetIds,
                       java.lang.Long minAclId,
                       int maxResults)
Get the ACLs (no rollup count) for the given ACL ChangeSets

Parameters:
aclChangeSetIds - the ACL ChangeSet IDs
minAclId - the minimum ACL ID - (inclusive and optional).
maxResults - the maximum number of results (must be greater than zero and less than MAX)
Returns:
list of ACLs

getTransactions

java.util.List getTransactions(java.lang.Long minTxnId,
                               java.lang.Long fromCommitTime,
                               int maxResults)
Get the transactions from either minTxnId or fromCommitTime, optionally limited to maxResults

Parameters:
minTxnId - greater than or equal to minTxnId
fromCommitTime - greater than or equal to transaction commit time
maxResults - limit the results. 0 or Integer.MAX_VALUE does not limit the results
Returns:
list of transactions

getNodes

java.util.List getNodes(NodeParameters nodeParameters)
Get the nodes satisfying the constraints in nodeParameters

Parameters:
nodeParameters - set of constraints for which nodes to return
maxResults - limit the results. 0 or Integer.MAX_VALUE does not limit the results
Returns:
list of matching nodes


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.