public interface TapeCatalogService extends QueueRepository
| Modifier and Type | Method and Description |
|---|---|
void |
create(TapeCatalog tapeCatalog) |
List<TapeCatalog> |
find(List<QueryCriteria> criteria) |
TapeCatalog |
findById(String tapeId) |
Map<Integer,TapeCatalog> |
init(String tapeLibraryIdentifier,
TapeLibrarySpec libraryState)
Return map of drive index with his current tape
If all drive are empty then return an empty map
|
boolean |
replace(TapeCatalog tapeCatalog) |
boolean |
update(String tapeId,
Map<String,Object> criteria) |
add, addIfAbsent, complete, initializeOnBootstrap, markError, markReady, receive, receive, receive, receive, receive, receive, removevoid create(TapeCatalog tapeCatalog) throws TapeCatalogException
TapeCatalogExceptionboolean replace(TapeCatalog tapeCatalog) throws TapeCatalogException
TapeCatalogExceptionboolean update(String tapeId, Map<String,Object> criteria) throws TapeCatalogException
TapeCatalogExceptionMap<Integer,TapeCatalog> init(String tapeLibraryIdentifier, TapeLibrarySpec libraryState) throws TapeCatalogException
tapeLibraryIdentifier - libraryState - TapeCatalogExceptionTapeCatalog findById(String tapeId) throws TapeCatalogException
TapeCatalogExceptionList<TapeCatalog> find(List<QueryCriteria> criteria) throws TapeCatalogException
TapeCatalogExceptionCopyright © 2019 Vitam. All rights reserved.