public class ExecuteReportCommand extends AbstractCommandExt
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FORMAT_HTML |
static java.lang.String |
FORMAT_PDF |
CATEGORY_APPLICATION_HIGH_PRIO, CATEGORY_APPLICATION_LOW_PRIO, CATEGORY_COPY, CATEGORY_DELETE, CATEGORY_DOCUMENT, CATEGORY_EDIT, CATEGORY_EXECUTE, CATEGORY_FAVORITES, CATEGORY_IMPORT_EXPORT, CATEGORY_LCM, CATEGORY_LINK, CATEGORY_MIN, CATEGORY_MISC, CATEGORY_NEW, CATEGORY_OBJECT, CATEGORY_OPEN, CATEGORY_PREFERENCES, CATEGORY_SAVE, CATEGORY_SEARCH, CATEGORY_SHOW, CATEGORY_UPDATE, CATEGORY_UPDATE_EXT, CATEGORY_VIEW, COMMAND_ACTIVATE_DEACTIVATE, COMMAND_ADD_CATEGORY, COMMAND_ADD_COPY, COMMAND_ADD_DOCUMENT, COMMAND_ADD_FOLDER, COMMAND_ADD_TO_FAVORITES, COMMAND_ADD_TO_LIST, COMMAND_ADD_TYPE, COMMAND_ADD_VERSION, COMMAND_ATTACH_WS_POLICY, COMMAND_ATTACH_WSDL, COMMAND_CHANGE_LIFEC_STATE, COMMAND_CHANGE_PROVIDING_ORG, COMMAND_CHECK_CONN, COMMAND_COMPARE, COMMAND_COPY_SHORTCUT, COMMAND_DELETE, COMMAND_DOCUMENTATION, COMMAND_DOWNLOAD, COMMAND_DOWNLOAD_BPEL, COMMAND_DOWNLOAD_WSDL, COMMAND_DOWNLOAD_XMLSCHEMA, COMMAND_EDIT_DETAILS, COMMAND_EXPORT, COMMAND_EXPORT_CONTENTS, COMMAND_EXPORT_FAVORITE, COMMAND_GENERATE_REPORT, COMMAND_IMPACT_ANALYSIS, COMMAND_IMPORT_ASSET, COMMAND_LC_CREATE_NEW_VERS, COMMAND_NOTIFY_ME, COMMAND_PERMISSIONS, COMMAND_REGISTER_AS_CONSUMER, COMMAND_REGISTER_CONS, COMMAND_REMOVE_FROM_FAVORITES, COMMAND_RENAME, COMMAND_RENAME_LIST, COMMAND_SHOW_DETAILS, COMMAND_VIRTUALIZE
Constructor and Description |
---|
ExecuteReportCommand(java.util.Locale locale) |
Modifier and Type | Method and Description |
---|---|
void |
execute(ActionContext actionContext)
Execute command for given ActionContext
|
void |
execute(ActionContext actionContext,
java.util.HashMap<java.lang.String,java.lang.String> parms) |
void |
execute(Item item,
ActionContext actionContext,
java.util.HashMap<java.lang.String,java.lang.String> parms) |
int |
getCategory()
The value returned by this command may be used for command ordering and
grouping (for example in a context menu)
|
java.lang.String |
getExecuteUrl(Item item,
ActionContext actionContext,
java.util.HashMap<java.lang.String,java.lang.String> parms)
Get URL used to execute report - see also http://www.eclipse.org/birt/phoenix/deploy/viewerUsage.php
|
java.lang.String |
getFormat() |
java.lang.String |
getImageURL()
Obtain the image url for this command
|
java.lang.String |
getName()
Obtain the name for this command
|
java.lang.String |
getReportViewerServlet() |
void |
setFormat(java.lang.String format) |
execute, executeWrapped, getId, getLocale, getSubCommands, isEnabled, isEnabled, isImplemented, isSameGroup, isToBeVisualized, setLocale
public static final java.lang.String FORMAT_HTML
public static final java.lang.String FORMAT_PDF
public int getCategory()
AbstractCommandExt
getCategory
in interface com.softwareag.cis.plugin.command.Command
getCategory
in class AbstractCommandExt
public java.lang.String getReportViewerServlet()
public java.lang.String getName()
AbstractCommandExt
getName
in interface com.softwareag.cis.plugin.command.Command
getName
in class AbstractCommandExt
public java.lang.String getImageURL()
AbstractCommandExt
getImageURL
in interface com.softwareag.cis.plugin.command.Command
getImageURL
in class AbstractCommandExt
public void setFormat(java.lang.String format)
public java.lang.String getFormat()
public void execute(ActionContext actionContext)
AbstractCommandExt
execute
in class AbstractCommandExt
actionContext
- the ActionContextpublic void execute(ActionContext actionContext, java.util.HashMap<java.lang.String,java.lang.String> parms)
public java.lang.String getExecuteUrl(Item item, ActionContext actionContext, java.util.HashMap<java.lang.String,java.lang.String> parms) throws java.lang.Exception
item
- the report to be executedactionContext
- the action contextparms
- optional additional parametersjava.lang.Exception
public void execute(Item item, ActionContext actionContext, java.util.HashMap<java.lang.String,java.lang.String> parms)