Package se.conciliate.extensions.store
Interface MTCachedList<ResultIdType>
public interface MTCachedList<ResultIdType>
A cached implementation for relative lists. This list fetches a big result
set containing the relative results for all symbols in the current workspace
and lets the client of the class fetch the results for individual symbols later.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Builds the results of the list.getList()
Returns the list backing this cached list.getResultIDs
(long actionObjectID) Returns the cached results for a single action object id.<T> MTIterator<T>
getResults
(Class<? extends T> type, long actionObjectID) Returns the cached results for a single action object.
-
Method Details
-
getList
MTList getList()Returns the list backing this cached list.- Returns:
- The backing list.
-
buildResults
Builds the results of the list.- Throws:
MTAccessException
-
getResults
Returns the cached results for a single action object.- Type Parameters:
T
- The type of the class.- Parameters:
type
- The class.actionObjectID
- The ID of the action object.- Returns:
- An iterator over the resulting symbols.
- Throws:
Exception
- If an Exception occurs.
-
getResultIDs
Returns the cached results for a single action object id.- Parameters:
actionObjectID
- The ID of the action object.- Returns:
- The ID:s of the resulting objects.
-