public class DownloadDocumentCustomCommand extends AbstractExtensionCommand implements PromptOKListener, com.softwareag.cis.plugin.interfaces.RunnableDeferred
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADAPTER_PATH |
static java.lang.String |
PAGE_URL |
rcs_id
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 |
---|
DownloadDocumentCustomCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(Item item,
Connector connector)
Check whether this command applies to the given item
|
void |
execute(ActionContext actionContext)
This method will be called whenever the command is being triggered by the user
|
int |
getCategory()
Get command category
|
java.lang.String |
getImageURL()
Obtain the image url for this command
|
java.lang.String |
getName()
Obtain the name for this command
|
void |
handleOK(java.lang.Object object)
This is the event handler method for OK button
|
void |
run()
This is the Asynchronous call
|
addPluginBulkCommands, addPluginCommands, initializeParameters, replacePluginCommands, suppressCommands
execute, executeWrapped, getId, getLocale, getSubCommands, isEnabled, isEnabled, isImplemented, isSameGroup, isToBeVisualized, setLocale
execute, executeWrapped, getComparator, getSelectable, isEnabled, isSameGroup, isVisible, setEnabled, setSelectable, setVisible, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final java.lang.String PAGE_URL
public static final java.lang.String ADAPTER_PATH
public boolean appliesTo(Item item, Connector connector)
ExtensionCommand
appliesTo
in interface ExtensionCommand
public int getCategory()
AbstractExtensionCommand
getCategory
in interface com.softwareag.cis.plugin.command.Command
getCategory
in class AbstractExtensionCommand
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 execute(ActionContext actionContext)
execute
in class AbstractCommandExt
actionContext
- the ActionContextpublic void handleOK(java.lang.Object object)
handleOK
in interface PromptOKListener
public void run() throws java.lang.Exception
run
in interface com.softwareag.cis.plugin.interfaces.RunnableDeferred
java.lang.Exception