org.fcrepo.server.storage.lowlevel
Interface IListable

All Known Implementing Classes:
AkubraLowlevelStorage, AkubraLowlevelStorageModule, DefaultLowlevelStorage, DefaultLowlevelStorageModule

public interface IListable

Interface for ILowlevelStorage implementations that are capable of listing their contents. This capability is required in order to support Fedora's rebuilder utility.

Since:
Fedora 3.2
Author:
Chris Wilper

Method Summary
 Iterator<String> listDatastreams()
          Lists all stored datastreams in no particular order.
 Iterator<String> listObjects()
          Lists all stored objects in no particular order.
 

Method Detail

listObjects

Iterator<String> listObjects()
Lists all stored objects in no particular order.

Returns:
an iterator of all stored object pids.

listDatastreams

Iterator<String> listDatastreams()
Lists all stored datastreams in no particular order.

Returns:
an iterator of all stored datastream keys, each in the following format: $pid "+" $dsId "+" $dsVersionId


Copyright © 2011 DuraSpace. All Rights Reserved.