public interface ErrorDocumentDao
Modifier and Type | Method and Description |
---|---|
boolean |
delete(ErrorDocument errorDoc) |
void |
deleteErrorDocumentsForWFRun(String workflowRunId) |
ErrorDocument |
get(T2Reference reference)
Retrieves a named and populated ErrorDocument
|
void |
store(ErrorDocument errorDoc)
Store a named ErrorDocument to the database.
|
@Transactional(propagation=REQUIRED, readOnly=false) void store(ErrorDocument errorDoc) throws DaoException
errorDoc
- error document to storeDaoException
- if any exception is thrown when connecting to the underlying
store or when storing the error document@Transactional(propagation=SUPPORTS, readOnly=true) ErrorDocument get(T2Reference reference) throws DaoException
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 document@Transactional(propagation=SUPPORTS, readOnly=false) boolean delete(ErrorDocument errorDoc) throws DaoException
DaoException
@Transactional(propagation=SUPPORTS, readOnly=false) void deleteErrorDocumentsForWFRun(String workflowRunId) throws DaoException
DaoException
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.