com.atlassian.jira.plugin.searchrequestview.SearchRequestViewAccessErrorHandler |
This interface defines an access error handler for the search request views. This is used to allow customization of search request permission violation and search request not found errors.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PERMISSION_VIOLATION | ||||||||||
String | SEARCH_REQUEST_DOES_NOT_EXIST |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Prints the HTML headers for non-typial HTML such as Word or Excel views.
| |||||||||||
Prints the error to display to the users if there has been a permission violation error looking up the
SearchRequest that this view is meant to service.
| |||||||||||
Prints the error to display to the users if there has been a permission violation error looking up the
SearchRequest that this view is meant to service.
|
Prints the HTML headers for non-typial HTML such as Word or Excel views. (e.g.: requestHeaders.addHeader("content-disposition", "attachment;filename="sample.doc";");) This method will be called before either writeSearchRequestDoesNotExistError or writePermissionViolationError.
Please make certain that you set the content type and character set in this method.
Prints the error to display to the users if there has been a permission violation error looking up the SearchRequest that this view is meant to service.
IOException |
---|
Prints the error to display to the users if there has been a permission violation error looking up the SearchRequest that this view is meant to service.
IOException |
---|