public class InMemoryErrorDocumentDao extends Object implements ErrorDocumentDao
Constructor and Description |
---|
InMemoryErrorDocumentDao() |
Modifier and Type | Method and Description |
---|---|
boolean |
delete(ErrorDocument theDoc) |
void |
deleteErrorDocumentsForWFRun(String workflowRunId) |
ErrorDocument |
get(T2Reference reference)
Retrieves a named and populated ErrorDocument
|
void |
store(ErrorDocument theDoc)
Store a named ErrorDocument to the database.
|
public ErrorDocument get(T2Reference reference) throws DaoException
ErrorDocumentDao
get
in interface ErrorDocumentDao
reference
- id of the error document to retrieveDaoException
- if any exception is thrown when connecting to the underlying
data store or when attempting retrieval of the error documentpublic void store(ErrorDocument theDoc) throws DaoException
ErrorDocumentDao
store
in interface ErrorDocumentDao
theDoc
- error document to storeDaoException
- if any exception is thrown when connecting to the underlying
store or when storing the error documentpublic boolean delete(ErrorDocument theDoc) throws DaoException
delete
in interface ErrorDocumentDao
DaoException
public void deleteErrorDocumentsForWFRun(String workflowRunId) throws DaoException
deleteErrorDocumentsForWFRun
in interface ErrorDocumentDao
DaoException
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.