Interface IterablePersistenceManager
-
- All Superinterfaces:
PersistenceManager
- All Known Implementing Classes:
AbstractBundlePersistenceManager,BundleDbPersistenceManager,BundleFsPersistenceManager,DerbyPersistenceManager,H2PersistenceManager,InMemBundlePersistenceManager,MSSqlPersistenceManager,MySqlPersistenceManager,Oracle9PersistenceManager,OraclePersistenceManager,PostgreSQLPersistenceManager
public interface IterablePersistenceManager extends PersistenceManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<NodeId>getAllNodeIds(NodeId after, int maxCount)Get all node ids.Map<NodeId,NodeInfo>getAllNodeInfos(NodeId after, int maxCount)Get allNodeInfos.-
Methods inherited from interface org.apache.jackrabbit.core.persistence.PersistenceManager
checkConsistency, close, createNew, createNew, exists, exists, existsReferencesTo, init, load, load, loadReferencesTo, store
-
-
-
-
Method Detail
-
getAllNodeIds
List<NodeId> getAllNodeIds(NodeId after, int maxCount) throws ItemStateException, RepositoryException
Get all node ids. A typical application will call this method multiple times, where 'after' is the last row read previously. The maxCount parameter defines the maximum number of node ids returned, 0 meaning no limit. The order of the node ids is specific for the given persistent manager. Items that are added concurrently may not be included.- Parameters:
after- the lower limit, or null for no limit.maxCount- the maximum number of node ids to return, or 0 for no limit.- Returns:
- a list of all node ids.
- Throws:
ItemStateException- if an error while loading occurs.RepositoryException- if a repository exception occurs.
-
getAllNodeInfos
Map<NodeId,NodeInfo> getAllNodeInfos(NodeId after, int maxCount) throws ItemStateException, RepositoryException
Get allNodeInfos. A typical application will call this method multiple time, where 'after' is the last row read previously. The maxCount parameter defines the maximum number of node ids returned, 0 meaning no limit. The order of the node ids is specific for the given persistence manager. Items that are added concurrently may not be included.- Parameters:
after- the lower limit, or null for no limit.maxCount- the maximum number of node infos to return, or 0 for no limit.- Returns:
- a list of all node infos.
- Throws:
ItemStateException- if an error while loading occurs.RepositoryException- if a repository exception occurs.
-
-