| org.tigris.scarab.screens.Default org.tigris.scarab.screens.admin.XMLImportIssuesResults
XMLImportIssuesResults | public class XMLImportIssuesResults extends Default (Code) | | Loads XML into Scarab via import, returning XML-formatted results
author: Mark L. Murphy version: $Id: XMLImportIssuesResults.java 10004 2006-02-03 21:29:55Z hair $ |
Method Summary | |
public void | doBuildTemplate(RunData data, TemplateContext context) Builds up the context for display of variables on the page. | protected boolean | isAuthorized(RunData data) Indicates if this request is authorized. |
doBuildTemplate | public void doBuildTemplate(RunData data, TemplateContext context) throws Exception(Code) | | Builds up the context for display of variables on the page.
Runs import of POSTed issue.
Parameters: data - Turbine run data Parameters: context - Velocity template context |
isAuthorized | protected boolean isAuthorized(RunData data) throws Exception(Code) | | Indicates if this request is authorized.
Overridden so we always return XML for this request, with that XML
containing an error message if unauthorized. Otherwise, requesting this
page might sometimes return HTML (error page) and sometimes return XML
(authorized request), which will make parsing by automation clients
difficult.
Parameters: data - Turbine run data. Boolean indicating if authorized. |
|
|