com.centrasite.control.adapters.commands
Class RunnableDeferredCommand

java.lang.Object
  extended by com.softwareag.cis.plugin.command.AbstractCommand
      extended by com.centrasite.control.AbstractCommandExt
          extended by com.centrasite.control.adapters.commands.RunnableDeferredCommand
All Implemented Interfaces:
com.softwareag.cis.plugin.command.Command, com.softwareag.cis.plugin.interfaces.Component, com.softwareag.cis.plugin.interfaces.RunnableDeferred

public class RunnableDeferredCommand
extends com.centrasite.control.AbstractCommandExt
implements com.softwareag.cis.plugin.interfaces.RunnableDeferred

Provide a base class for commands to be executed deferred e.g. after a popup had been closed


Field Summary
 
Fields inherited from class com.softwareag.cis.plugin.command.AbstractCommand
rcs_id
 
Fields inherited from interface com.softwareag.cis.plugin.interfaces.RunnableDeferred
rcs_id
 
Fields inherited from interface com.softwareag.cis.plugin.command.Command
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 Summary
RunnableDeferredCommand(com.softwareag.cis.plugin.command.Command primaryAbstractCommand, com.centrasite.control.ActionContext actionContext)
           
RunnableDeferredCommand(com.softwareag.cis.server.util.ICommand primaryICommand, com.centrasite.control.ActionContext actionContext)
           
 
Method Summary
 void execute(com.centrasite.control.ActionContext actionContext)
           
 com.centrasite.control.ActionContext getActionContext()
           
 int getCategory()
           
 java.lang.String getImageURL()
           
 java.lang.String getName()
           
 void run()
           
 java.lang.String toString()
           
 
Methods inherited from class com.centrasite.control.AbstractCommandExt
execute, executeWrapped, getId, getLocale, getSubCommands, isEnabled, isEnabled, isImplemented, isSameGroup, isToBeVisualized, setLocale
 
Methods inherited from class com.softwareag.cis.plugin.command.AbstractCommand
execute, executeWrapped, getComparator, getSelectable, isEnabled, isSameGroup, isVisible, setEnabled, setSelectable, setVisible
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RunnableDeferredCommand

public RunnableDeferredCommand(com.softwareag.cis.plugin.command.Command primaryAbstractCommand,
                               com.centrasite.control.ActionContext actionContext)

RunnableDeferredCommand

public RunnableDeferredCommand(com.softwareag.cis.server.util.ICommand primaryICommand,
                               com.centrasite.control.ActionContext actionContext)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class com.softwareag.cis.plugin.command.AbstractCommand

getName

public java.lang.String getName()
Specified by:
getName in interface com.softwareag.cis.plugin.command.Command
Specified by:
getName in class com.centrasite.control.AbstractCommandExt

getCategory

public int getCategory()
Specified by:
getCategory in interface com.softwareag.cis.plugin.command.Command
Specified by:
getCategory in class com.centrasite.control.AbstractCommandExt

getImageURL

public java.lang.String getImageURL()
Specified by:
getImageURL in interface com.softwareag.cis.plugin.command.Command
Specified by:
getImageURL in class com.centrasite.control.AbstractCommandExt

execute

public void execute(com.centrasite.control.ActionContext actionContext)
Specified by:
execute in class com.centrasite.control.AbstractCommandExt

getActionContext

public com.centrasite.control.ActionContext getActionContext()

run

public void run()
         throws java.lang.Exception
Specified by:
run in interface com.softwareag.cis.plugin.interfaces.RunnableDeferred
Throws:
java.lang.Exception