public interface IndexDao
Modifier and Type | Method and Description |
---|---|
void |
blockIndexQueue()
Blocks the asynchronous index queue so no index queries are added the to queue.
|
void |
clearIndexQueue() |
void |
createAllIndexes() |
void |
createProjectIndexes(Integer projectId) |
long |
getAllIndexesCount() |
long |
getCountForProjectIndex(Integer projectId) |
org.hibernate.Session |
getMySession() |
void |
index(Object obj) |
int |
index(String query,
String paramName,
String paramNameAsString,
Object paramValue) |
int |
indexContourItems(Collection<Integer> idList,
boolean queue) |
void |
queueForIndex(String query,
String paramName,
String paramNameAsString,
Object paramValue)
Queues the index query for asynchronous indexing.
|
void |
unblockIndexQueue()
Un-blocks the the asynchronous index queue.
|
long getCountForProjectIndex(Integer projectId)
void createProjectIndexes(Integer projectId)
void createAllIndexes()
long getAllIndexesCount()
void index(Object obj)
int indexContourItems(Collection<Integer> idList, boolean queue)
org.hibernate.Session getMySession()
void clearIndexQueue()
void queueForIndex(String query, String paramName, String paramNameAsString, Object paramValue)
query
- the query to retrieve the objectparamName
- parameter nameparamNameAsString
- parameter when the value is string.paramValue
- the value of the parametervoid blockIndexQueue()
void unblockIndexQueue()
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.