Class SOLRDAOImpl
- java.lang.Object
-
- org.alfresco.repo.domain.solr.ibatis.SOLRDAOImpl
-
-
Constructor Summary
Constructors Constructor Description SOLRDAOImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AclChangeSet>getAclChangeSets(java.lang.Long minAclChangeSetId, java.lang.Long fromCommitTime, java.lang.Long maxAclChangeSetId, java.lang.Long toCommitTime, int maxResults)Get the ACL changesets summary (rollup count) with paging optionsjava.util.List<Acl>getAcls(java.util.List<java.lang.Long> aclChangeSetIds, java.lang.Long minAclId, int maxResults)Get the ACLs (no rollup count) for the given ACL ChangeSetsjava.util.List<Node>getNodes(NodeParameters nodeParameters, org.alfresco.service.namespace.QName shardPropertyQName)Get the nodes satisfying the constraints in nodeParametersjava.util.List<Transaction>getTransactions(java.lang.Long minTxnId, java.lang.Long fromCommitTime, java.lang.Long maxTxnId, java.lang.Long toCommitTime, int maxResults)Get the transactions from either minTxnId or fromCommitTime, optionally limited to maxResultsvoidinit()InitializevoidsetQNameDAO(QNameDAO qnameDAO)voidsetSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
-
-
-
Method Detail
-
setSqlSessionTemplate
public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
-
setQNameDAO
public void setQNameDAO(QNameDAO qnameDAO)
-
init
public void init()
Initialize
-
getAclChangeSets
public java.util.List<AclChangeSet> getAclChangeSets(java.lang.Long minAclChangeSetId, java.lang.Long fromCommitTime, java.lang.Long maxAclChangeSetId, java.lang.Long toCommitTime, int maxResults)
Get the ACL changesets summary (rollup count) with paging options- Specified by:
getAclChangeSetsin interfaceSOLRDAO- 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
public java.util.List<Acl> getAcls(java.util.List<java.lang.Long> aclChangeSetIds, java.lang.Long minAclId, int maxResults)
Get the ACLs (no rollup count) for the given ACL ChangeSets
-
getTransactions
public java.util.List<Transaction> getTransactions(java.lang.Long minTxnId, java.lang.Long fromCommitTime, java.lang.Long maxTxnId, java.lang.Long toCommitTime, int maxResults)
Get the transactions from either minTxnId or fromCommitTime, optionally limited to maxResults- Specified by:
getTransactionsin interfaceSOLRDAO- 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
public java.util.List<Node> getNodes(NodeParameters nodeParameters, org.alfresco.service.namespace.QName shardPropertyQName)
Get the nodes satisfying the constraints in nodeParameters
-
-