|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SOLRTrackingComponent
Interface for component to provide tracking data for SOLR.
Nested Class Summary | |
---|---|
static interface |
SOLRTrackingComponent.NodeMetaDataQueryCallback
The interface that will be used to give query results to the calling code. |
static interface |
SOLRTrackingComponent.NodeQueryCallback
The interface that will be used to give query results to the calling code. |
Method Summary | |
---|---|
java.util.List |
getAclChangeSets(java.lang.Long minAclChangeSetId,
java.lang.Long fromCommitTime,
int maxResults)
Get the ACL changesets for given range parameters |
java.util.List |
getAcls(java.util.List aclChangeSetIds,
java.lang.Long minAclId,
int maxResults)
Get the ACLs with paging options for a specific ACL ChangeSet |
java.util.List |
getAclsReaders(java.util.List aclIds)
Get the ACL readers ("authorities who can read this ACL") for a given set of ACL IDs |
java.lang.Long |
getMaxTxnCommitTime()
Get the last transaction timestamp from the repo |
AlfrescoModel |
getModel(org.alfresco.service.namespace.QName modelName)
Returns the Alfresco model given by the name modelName |
java.util.List |
getModelDiffs(java.util.Map models)
Returns a list of diffs representing differences between the current Repository models and those passed in the models parameter. |
void |
getNodes(NodeParameters nodeParameters,
SOLRTrackingComponent.NodeQueryCallback callback)
Get the nodes satisfying the constraints in nodeParameters |
void |
getNodesMetadata(NodeMetaDataParameters nodeMetaDataParameters,
MetaDataResultsFilter resultFilter,
SOLRTrackingComponent.NodeMetaDataQueryCallback callback)
Returns metadata for a set of node ids |
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 |
boolean |
isEnabled()
|
void |
setEnabled(boolean enabled)
|
Method Detail |
---|
java.util.List getAclChangeSets(java.lang.Long minAclChangeSetId, java.lang.Long fromCommitTime, int maxResults)
minAclChangeSetId
- minimum ACL changeset ID - (inclusive and optional)fromCommitTime
- minimum ACL commit time - (inclusive and optional)maxResults
- limit the results. 0 or Integer.MAX_VALUE does not limit the results
java.util.List getAcls(java.util.List aclChangeSetIds, java.lang.Long minAclId, int maxResults)
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)
java.util.List getAclsReaders(java.util.List aclIds)
aclIds
- the ACL IDs
java.util.List getTransactions(java.lang.Long minTxnId, java.lang.Long fromCommitTime, int maxResults)
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
void getNodes(NodeParameters nodeParameters, SOLRTrackingComponent.NodeQueryCallback callback)
nodeParameters
- set of constraints for which nodes to returnmaxResults
- limit the results. 0 or Integer.MAX_VALUE does not limit the resultscallback
- a callback to receive the resultsvoid getNodesMetadata(NodeMetaDataParameters nodeMetaDataParameters, MetaDataResultsFilter resultFilter, SOLRTrackingComponent.NodeMetaDataQueryCallback callback)
nodeIds
- a set of nodeIds for which to return node metadatamaxResults
- limit the results. 0 or Integer.MAX_VALUE does not limit the resultscallback
- a callback to receive the resultsAlfrescoModel getModel(org.alfresco.service.namespace.QName modelName)
modelName
- the name of the model
java.util.List getModelDiffs(java.util.Map models)
models
- a set of mappings of model names to checksums
boolean isEnabled()
void setEnabled(boolean enabled)
enabled
- java.lang.Long getMaxTxnCommitTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |