Package org.alfresco.repo.domain.solr
Interface SOLRDAO
-
- All Known Implementing Classes:
SOLRDAOImpl
public interface SOLRDAODAO support for SOLR web scripts.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AclChangeSet>getAclChangeSets(Long minAclChangeSetId, Long fromCommitTime, Long maxAclChangeSetId, Long toCommitTime, int maxResults)Get the ACL changesets summary (rollup count) with paging optionsList<Acl>getAcls(List<Long> aclChangeSetIds, Long minAclId, int maxResults)Get the ACLs (no rollup count) for the given ACL ChangeSetsList<Node>getNodes(NodeParameters nodeParameters, org.alfresco.service.namespace.QName shardPropertQName)Get the nodes satisfying the constraints in nodeParametersList<Transaction>getTransactions(Long minTxnId, Long fromCommitTime, Long maxTxnId, Long toCommitTime, int maxResults)Get the transactions from either minTxnId or fromCommitTime, optionally limited to maxResults
-
-
-
Method Detail
-
getAclChangeSets
List<AclChangeSet> getAclChangeSets(Long minAclChangeSetId, Long fromCommitTime, Long maxAclChangeSetId, Long toCommitTime, 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)maxAclChangeSetId- maximum ACL changeset ID - (exclusive and optional)toCommitTime- maximum ACL commit time - (exclusive and optional)maxResults- limit the results (must be greater than zero and less than MAX)- Returns:
- list of ACL changesets (no details)
-
getAcls
List<Acl> getAcls(List<Long> aclChangeSetIds, Long minAclId, int maxResults)
Get the ACLs (no rollup count) for the given ACL ChangeSets- Parameters:
aclChangeSetIds- the ACL ChangeSet IDsminAclId- 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
List<Transaction> getTransactions(Long minTxnId, Long fromCommitTime, Long maxTxnId, Long toCommitTime, int maxResults)
Get the transactions from either minTxnId or fromCommitTime, optionally limited to maxResults- Parameters:
minTxnId- greater than or equal to minTxnIdfromCommitTime- greater than or equal to transaction commit timemaxTxnId- less than maxTxnIdtoCommitTime- less than toCommitTimemaxResults- limit the results. 0 or Integer.MAX_VALUE does not limit the results- Returns:
- list of transactions
-
getNodes
List<Node> getNodes(NodeParameters nodeParameters, org.alfresco.service.namespace.QName shardPropertQName)
Get the nodes satisfying the constraints in nodeParameters- Parameters:
nodeParameters- set of constraints for which nodes to returnshardPropertQName-- Returns:
- list of matching nodes
-
-