Constructor and Description |
---|
SOLRDAOImpl() |
Modifier and Type | Method and Description |
---|---|
List<AclChangeSet> |
getAclChangeSets(Long minAclChangeSetId,
Long fromCommitTime,
Long maxAclChangeSetId,
Long toCommitTime,
int maxResults)
Get the ACL changesets summary (rollup count) with paging options
|
List<Acl> |
getAcls(List<Long> aclChangeSetIds,
Long minAclId,
int maxResults)
Get the ACLs (no rollup count) for the given ACL ChangeSets
|
List<Node> |
getNodes(NodeParameters nodeParameters,
org.alfresco.service.namespace.QName shardPropertyQName)
Get the nodes satisfying the constraints in nodeParameters
|
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
|
void |
init()
Initialize
|
void |
setQNameDAO(QNameDAO qnameDAO) |
void |
setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate) |
public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
public void setQNameDAO(QNameDAO qnameDAO)
public void init()
public List<AclChangeSet> getAclChangeSets(Long minAclChangeSetId, Long fromCommitTime, Long maxAclChangeSetId, Long toCommitTime, int maxResults)
getAclChangeSets
in interface SOLRDAO
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)public List<Acl> getAcls(List<Long> aclChangeSetIds, Long minAclId, int maxResults)
public List<Transaction> getTransactions(Long minTxnId, Long fromCommitTime, Long maxTxnId, Long toCommitTime, int maxResults)
getTransactions
in interface SOLRDAO
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 resultspublic List<Node> getNodes(NodeParameters nodeParameters, org.alfresco.service.namespace.QName shardPropertyQName)
Copyright © 2005–2017 Alfresco Software. All rights reserved.