org.hudsonci.maven.plugin.documents
Interface DocumentStore

All Known Implementing Classes:
DocumentStoreImpl

public interface DocumentStore

Provides backing for DocumentDTO persistence.

Since:
2.1.0
Author:
Jason Dillon

Method Summary
 boolean contains(UUID id)
           
 void delete(DocumentDTO document)
           
 DocumentDTO load(UUID id)
           
 Collection<DocumentDTO> loadAll()
           
 void store(DocumentDTO document)
           
 

Method Detail

contains

boolean contains(UUID id)

load

DocumentDTO load(UUID id)
                 throws IOException
Throws:
IOException

loadAll

Collection<DocumentDTO> loadAll()
                                throws IOException
Throws:
IOException

store

void store(DocumentDTO document)
           throws IOException
Throws:
IOException

delete

void delete(DocumentDTO document)
            throws IOException
Throws:
IOException


Copyright © 2004-2011 Hudson. All Rights Reserved.