|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.domain.solr.ibatis.SOLRDAOImpl
public class SOLRDAOImpl
DAO support for SOLR web scripts.
Constructor Summary | |
---|---|
SOLRDAOImpl()
|
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 |
void |
init()
Initialize |
void |
setQNameDAO(QNameDAO qnameDAO)
|
void |
setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOLRDAOImpl()
Method Detail |
---|
public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
public void setQNameDAO(QNameDAO qnameDAO)
public void init()
public java.util.List getAclChangeSets(java.lang.Long minAclChangeSetId, java.lang.Long fromCommitTime, int maxResults)
getAclChangeSets
in interface SOLRDAO
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)
public java.util.List getAcls(java.util.List aclChangeSetIds, java.lang.Long minAclId, int maxResults)
getAcls
in interface SOLRDAO
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)
public java.util.List getTransactions(java.lang.Long minTxnId, java.lang.Long fromCommitTime, int maxResults)
getTransactions
in interface SOLRDAO
minTxnId
- greater than or equal to minTxnIdfromCommitTime
- greater than or equal to transaction commit timemaxResults
- limit the results. 0 or Integer.MAX_VALUE does not limit the results
public java.util.List getNodes(NodeParameters nodeParameters)
getNodes
in interface SOLRDAO
nodeParameters
- set of constraints for which nodes to return
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |