com.centrasite.control.table
Class AbstractActionContext

java.lang.Object
  extended by com.softwareag.cis.plugin.command.context.AbstractCommandContext
      extended by com.centrasite.control.table.AbstractActionContext
All Implemented Interfaces:
com.centrasite.control.ActionContext, com.centrasite.control.Constants, com.softwareag.cis.plugin.command.context.CommandContext
Direct Known Subclasses:
ComputedProfileTabAdapter.AttributeActionContext, ConsumersTabAdapter.ConsumersTabActionContext, CustomProfileTabAdapter.AttributeActionContext, DetailViewActionContext, GlobalActionContext, HomePageAdapter.HomePageActionContext, LoginActionContext, NotificationDetailsAdapter.NotificationDetailsActionContext, ReportCollectionActionContext, TableActionContext, TreeActionContext, TreeCollectionActionContext

public abstract class AbstractActionContext
extends com.softwareag.cis.plugin.command.context.AbstractCommandContext
implements com.centrasite.control.ActionContext, com.centrasite.control.Constants

This interface provides context information for an action (command or view) to be executed


Nested Class Summary
 class AbstractActionContext.DuplicateFavPromptYesNoCommand
           
 
Field Summary
 
Fields inherited from class com.softwareag.cis.plugin.command.context.AbstractCommandContext
rcs_id
 
Fields inherited from interface com.softwareag.cis.plugin.command.context.CommandContext
rcs_id
 
Fields inherited from interface com.centrasite.control.Constants
ADD_APPLICATION_ADAPTER, ADD_APPLICATION_LAYOUT_PAGE, ADD_ASSOCIATION_ADAPTER, ADD_ASSOCIATION_PAGE_LAYOUT, ADD_BULK_VERSION_ADAPTER, ADD_CATEGORY_ADAPTER, ADD_CATEGORY_PAGE, ADD_CLASSIFICATION_ADAPTER, ADD_NEW_VERSION_ADAPTER, ADD_USERS_GROUPS_ADAPTER, ADD_USERS_GROUPS_LAYOUT_PAGE, ADV_SEARCH_ADAPTER, ADVANCED_EXPORT_OPTION_ADAPTER, ADVANCED_EXPORT_OPTION_PAGE, ADVANCED_IMPORT_OPTION_ADAPTER, ADVANCED_IMPORT_OPTION_PAGE, APPLICABLE_TO_OBJECT_TYPES_ADAPTER, APPLICABLE_TO_OBJECT_TYPES_LAYOUT_PAGE, ASSOCIATION_TAB_ADAPTER, ASSOCIATIONS_LAYOUT_PAGE, ASSOCIATIONS_TAB_ADAPTER, ASSOCIATIONS_TABLE_LAYOUT, AUDITABLE_TAB_ADAPTER, AUDITABLE_TABLE_LAYOUT, BROWSE_ADAPTER, BROWSE_BY_COLUMN_ADAPTER, BROWSE_BY_COLUMNS_PAGE_F, BROWSE_BY_PAGE_F, BROWSE_PAGE, CALLING_XPDL_ADAPTER, CENTRASITE_ADDEXTERNALCLASSIFICATIONSLOT_ICO, CENTRASITE_ADDSLOT_ICO, CENTRASITE_ALERT_ICO, CENTRASITE_ARROW_ICON, CENTRASITE_COMMUNITY_URL, CENTRASITE_DELETESLOT_ICO, CENTRASITE_DEV_COMMUNITY_URL, CENTRASITE_EMAIL_NOTIFCATION_ICO, CENTRASITE_FAV_ICO, CENTRASITE_FAVOURITE_ENTRY_ASSET_I_CONSUME_ICO, CENTRASITE_FAVOURITE_ENTRY_ASSET_I_PROVIDE_ICO, CENTRASITE_FAVOURITE_ENTRY_DEFAULT_TYPE_ICO, CENTRASITE_FAVOURITE_ENTRY_LIST_ICO, CENTRASITE_FAVOURITE_ENTRY_SAVED_SEARCH_ICO, CENTRASITE_FAVOURITE_ENTRY_SAVED_XQUERY_SEARCH_ICO, CENTRASITE_FAVOURITE_ENTRY_SMART_LIST_CLASSIFICATION_SCHEME_ICO, CENTRASITE_FAVOURITE_ENTRY_SMART_LIST_CONCEPT_ICO, CENTRASITE_FAVOURITE_ENTRY_SMART_LIST_ICO, CENTRASITE_FAVOURITE_LEFT_ICO, CENTRASITE_FAVOURITE_RIGHT_ICO, CENTRASITE_FILE_ICO, CENTRASITE_GROUP_ICO, CENTRASITE_HTML_ICO, CENTRASITE_MOVEDOWN_ICO, CENTRASITE_MOVEUP_ICO, CENTRASITE_NEW_ICO, CENTRASITE_ONLINE_DOCUMENTATION_URL, CENTRASITE_PDF_ICO, CENTRASITE_POWERPOINT_ICO, CENTRASITE_REG_ICO, CENTRASITE_REMOVE_ICO, CENTRASITE_REMOVESLOT_ICO, CENTRASITE_REP_ICO, CENTRASITE_REVERT_ICO, CENTRASITE_RTL_ARROW_ICON, CENTRASITE_SAVE_ICO, CENTRASITE_USER_ICO, CENTRASITE_USERROLE_ICO, CENTRASITE_WORD_ICO, CENTRASITE_XLS_ICO, CENTRASITE_XML_ICO, CHANGE_LCM_STATE_ADAPTER, CHANGE_ORG_ADAPTER, CHANGE_ORG_PAGE, CHANGE_OWNER_ADAPTER, CHANGE_OWNER_LOG, CHANGE_OWNER_LOG_ADAPTER, CHANGE_OWNER_PAGE, CHANGE_PASSWORD_ADAPTER, CHANGE_PASSWORD_PAGE_F, CHANGE_PROVIDING_ORG, CHANGE_PROVIDING_ORG_ADAPTER, CLASSIFICATIONS_TAB_ADAPTER, CLASSIFICATIONS_TAB_LAYOUT_PAGE, COLUMNS_PAGE_F, COMPUTED_PROFILE_TAB_ADAPTER, CONSUMERS_PAGE_LAYOUT, CONSUMERS_TAB_ADAPTER, COPY_ASSET, COPY_ASSET_ADAPTER, CREATE, CREATE_ASSET_ADAPTER, CREATE_EXTERNAL_CLASSIFICATION_ADAPTER, CREATE_EXTERNAL_CLASSIFICATION_PAGE_FULL, CREATE_FAVORITE_ADAPTER, CREATE_FAVORITE_PAGE_FULL, CREATE_ROLE_ADAPTER, CREATE_ROLE_PAGE_F, CREATE_TYPE_ADAPTER, CREATE_TYPE_WIZARD_PAGE_FULL, CUSTOM_PROFILE_TAB_ADAPTER, DISPLAY, DOCUMENT_URL_CONTENT, DOWNLOAD_DOCUMENTS_ADAPTER, DOWNLOAD_DOCUMENTS_CONFIRM_PAGE, EDIT, EDIT_ASSET_ADAPTER, EDIT_ASSET_LAYOUT_PAGE, EDIT_CATEGORY_ADAPTER, EDIT_CATEGORY_PAGE, EDIT_PERMISSIONS_ADAPTER, EDIT_PERMISSIONS_PAGE, EDIT_TAXONOMY_ADAPTER, EDIT_USER_INFO_ADAPTER, EDITION_ACTIVESOA, EDITION_COMMUNITY, EDITION_ENTERPRISE, EDITION_UNKNOWN, EP_ADD_IMPORT_EXTENSION, EP_ADD_REPORT_COLUMN, EP_ADD_ROW_TO_MY_NOTIFICATIONS, EP_ASSETTYPETOPIC_ID, EP_ASSOC_NAVIGATOR_NODE_DECORATOR, EP_ATTACH_DOC_COMMAND, EP_BROWSETOPIC_ID, EP_DETAIL_VIEW_TAB, EP_DOWNLOAD_DOC_COMMAND, EP_FAVORITE_ID, EP_GLOBAL_COMMAND, EP_ITEM_BULK_COMMAND, EP_ITEM_COMMAND, EP_ITEM_EDITOR, EP_ORGANIZATIONTOPIC_ID, EP_REG_OBJ_PROPERTY, EP_REPLACE_ITEM_COMMAND, EP_REPORTS_ID, EP_SEARCH_PREDICATE, EP_SEARCHTOPIC_ID, EP_SUBSCRIPTIONS_ID, EP_SUPPORTINGDOCUMENTSTOPIC_ID, EP_SUPPRESS_REG_OBJ_COMMAND, EP_SUPPRESS_REG_OBJ_PROPERTY, EP_SUPPRESS_REPORT_COLUMN, EP_TAXONOMIES_ID, EP_TOPIC_ITEMS, EP_TOPIC_ITEMS_PROP_TOPIC, EP_USERMANAGEMENTTOPIC_ID, EP_WELCOME_ID, EXPORT_ITEMS_POPUP_LOG_VIEW_PAGE_FULL, EXPORT_LOG_ADAPTER, EXPORT_ORG_REGISTRY_OBJECTS_ADAPTER, EXPORT_ORG_REGISTRY_OBJECTS_PAGE_F_POPUP, EXPORT_ORGANIZATION, EXPORT_ORGANIZATION_ADAPTER, EXPORT_OWNER, EXPORT_OWNER_ADAPTER, EXPORT_REGISTRY_OBJECTS_ADAPTER, EXPORT_REGISTRY_OBJECTS_PAGE_F, EXPORT_REGISTRY_OBJECTS_PAGE_F_POPUP, EXPORT_REGISTRY_OBJECTS_POPUP_ADAPTER, EXTERNAL_CLASSIFICATION_DIALOG_PAGE_FULL, EXTERNAL_LINK_ORGANIZATION_REPOSITORY_FOLDER, EXTERNAL_LINKS_ADAPTER, EXTERNAL_LINKS_PAGE, FGRID_ADAPTER, FILE_CONTENT_LAYOUT_PAGE, FILE_CONTENT_TAB_ADAPTER, FILTER_ROWS_PAGE_F, GENERAL_LAYOUT_PAGE, GENERAL_TAB_ADAPTER, HELP_TEXT_PROVIDER_POPUP, HOME_PAGE_ADAPTER, ICON_URL_PREFIX, IMPACT_ANALYSIS_CUSTOMIZE_DIALOG_ADAPTER, IMPORT, IMPORT_ASSET_ADAPTER, IMPORT_ASSET_PAGE_F_POPUP, IMPORT_ASSET_WIZARD, IMPORT_ASSET_WIZARD_PAGE_POPUP, IMPORT_BPEL_ADAPTER, IMPORT_BPEL_PAGE_F, IMPORT_LOG_ADAPTER, IMPORT_OBJECTS_ADAPTER, IMPORT_OBJECTS_PAGE_F, IMPORT_ORG_OBJECTS_ADAPTER, IMPORT_ORG_OBJECTS_PAGE_F, IMPORT_POLICY_ADAPTER, IMPORT_REGISTRY_OBJECTS_ADAPTER, IMPORT_REGISTRY_OBJECTS_PAGE_F, IMPORT_SCHEMA_ADAPTER, IMPORT_SCHEMA_PAGE_F, IMPORT_WEBSERVICE_ADAPTER, IMPORT_WEBSERVICE_PAGE_F, IMPORT_XML_SERVICE_ADAPTER, IMPORT_XML_SERVICE_PAGE_F, IMPORT_XML_SERVICE_WIZARD_ADAPTER, INIT_PARAM_CFGURL, INIT_PARAM_CFGURL_ID, INIT_PARAM_LIC, INIT_PARAM_LIC__COMMUNITY, INIT_PARAM_LIC_ID, INIT_PARAM_NEWWIN, INIT_PARAM_NEWWIN_ID, INIT_PARAM_REGURL, INIT_PARAM_REGURL_ID, INIT_PARAM_ROKEY, INIT_PARAM_ROKEY_ID, INIT_PARAM_ROPATH, INIT_PARAM_ROPATH_ID, INVISIBLE, INVOKED_FROM_CLASSIFICATIONATTRFILTERLINE, INVOKED_FROM_LCMFILTERLINE, ITEM_ADDED_AS_FAVORITE, ITEM_CREATED, ITEM_DELETED, ITEM_REMOVED_FROM_FAVORITES, ITEM_RENAMED, ITEM_UPDATED, KEY_COMMON_PAGE, KEY_FILE_EXTENSION_ZIP, KEY_ORG_SELECT_ASSET_OPTION, KEY_ORG_SELECT_USER_OPTION, KEY_ORG_USER_TAB, KEY_USER_ASSET_TAB, KEY_USER_PAGE, KEYWORD_SEARCH_ADAPTER, knownEditions, LOG_VIEW_ADAPTER, LOG_VIEW_PAGE_FULL, MINMAX_OCCURS_01, MINMAX_OCCURS_0UNBOUNDED, MINMAX_OCCURS_11, MINMAX_OCCURS_1UNBOUNDED, MULTI_VALUE_PAGE_REFERENCE, MY_ACCOUNT_PAGE, MY_APPLICATION, MY_CENTRASITE_PAGE, MY_PLUGIN_ID, NOT_REFERENCED, NOTIFICATIONS_TAB_ADAPTER, OBJECT_SPECIFIC_PROPERTIES_ADAPTER, OBJECT_SPECIFIC_PROPERTIES_PAGE, OBJECT_TYPE_CLASSIFICATION, OBJECT_TYPE_REPORT, OVERVIEW_LAYOUT_PAGE, OVERVIEW_TAB_ADAPTER, PAGE_URL_PREFIX, PAIR_INPUT_PAGE_FULL, PARAM_JAAS_XML_SERVER_URL, PARM_INM_CRR_URL, PARM_INM_GUES_ALLOW_SUMMARY_PROFILE_VISIBLE, PARM_INM_GUEST_ALLOW_HOMEPAGE_CHANGE, PARM_INM_GUEST_CAN_DOWNLOAD_DOCUMENTS, PARM_INM_GUEST_SHOW_COLUMN_CHOOSER, PARM_INM_IS_CUSTOM_ATTACH_DOCUMENTS, PARM_INM_REPORTING_ENGINE_AUTH, PARM_INM_WELCOME_PAGE_DEFAULT, PERMISSION_TABLE_LAYOUT_PAGE, PERMISSIONS_TAB_ADAPTER, PIN_EDIT_ADAPTER, PIN_EDIT_PAGE_LAYOUT, PROFILE_ASSOCIATIONS, PROFILE_AUDIT_LOG, PROFILE_CLASSIFICATIONS, PROFILE_CONSUMERS, PROFILE_DEPLOYMENT, PROFILE_EVENTS, PROFILE_EXTERNAL_LINKS, PROFILE_GENERAL, PROFILE_IMPACT_ANALYSIS, PROFILE_OBJECT_SECIFIC_PROPERTIES, PROFILE_PERFORMANCE, PROFILE_PERMISSION_LAYOUT_PAGE, PROFILE_PERMISSIONS, PROFILE_PERMISSIONS_TAB_ADAPTER, PROFILE_POLICIES, PROFILE_PROCESSING_STEPS, PROFILE_SUBSCRIPTIONS, PROFILE_SUMMARY, PROFILE_SUMMARY_XSD, PROFILE_TECHNICAL_DETAILS, PROFILE_VERSIONS, PROFILE_WSDL, PROMPT_SAVE_DISCARD_ADAPTER, REPOSITORY_OBJECT_FILE_SYSTEM_NAME_PROPERTY_NAME, REPOSITORY_OBJECT_USER_DEFINED_DESCRIPTION_PROPERTY_NAME, REPOSITORY_OBJECT_VERSION_TAB_ADAPTER, REPOSITORY_OBJECT_VERSION_TAB_LAYOUT, REPOSITORY_PERMISSIONS_LAYOUT_PAGE, SEARCH_ADAPTER, SEARCH_PAGE, SEARCH_SCREEN_PAGE_FULL, SECURITY_LAYOUT_PAGE, SECURITY_TAB_ADAPTER, SELECT_ASSOCIATION_TYPE_PAGE_FULL, SELECT_COLUMNS_PAGE_F, SELECT_EXTERNAL_CLASSIFICATION, SELECT_EXTERNAL_CLASSIFICATION_ADAPTER, SELECT_INTERNAL_CLASSIFICATION, SELECT_INTERNAL_CLASSIFICATION_ADAPTER, SELECT_ROLE_PAGE_FULL, SELECT_SERVICE_BINDING_ADAPTER, SELECT_SERVICE_BINDING_PAGE_FULL, SELECT_USERROLE_PAGE_FULL, SERVICE_BINDING_DIALOG_PAGE_FULL, SET_PERMISSINOS_POPUP, SINGLE_VALUE_PAGE_REFERENCE, SLOT_NAME_IS_PENDING_FOR_REDEPLOYMENT, STR_AUTHORIZATION, STR_BASIC, STR_COLON, STR_CONTENTTYP_UNDEFINED, STR_FORWARDSLASH, STR_PROTOCOL_GET, STR_UNDERSCORE, STR_UTF8, STR_WEBDAV_TYPE_URL, SUBSCRIPTION_ACTIVE, SUBSCRIPTION_INACTIVE, TABLE_DETAIL_TAB_ADAPTER, TABLE_LAYOUT_PAGE, TABLE_LAYOUT_PAGE_WITH_METHOD_LINKS, TECHNICAL_DETAILS_LAYOUT, TECHNICAL_DETAILS_TAB_ADAPTER, TYPE_SECURITY_LAYOUT_PAGE, TYPE_SECURITY_TAB_ADAPTER, URL_CONTENT_ADAPTER, USER_PREFERENCES_ADAPTER, USER_PREFERENCES_PAGE, VERSION_TABLE_LAYOUT_PAGE, VERSIONING_CHANGELOG_SLOT, VERSIONS_TAB_ADAPTER, VIEW_EXPORT_LOG_ADAPTER, VIEW_EXPORT_LOG_PAGE_FULL, VIEW_EXPORT_MESSAGE_ADAPTER, VIEW_EXPORT_MESSAGE_PAGE_FULL, VIEW_EXPORT_OBJECTS_LIST_ADPTER, VIEW_EXPORT_OBJECTS_LIST_PAGE, VIEW_IMPORT_LOG_ADAPTER, VIEW_IMPORT_LOG_PAGE_FULL, VIEW_IMPORT_MESSAGE_ADAPTER, VIEW_IMPORT_MESSAGE_PAGE_FULL, VIEW_IMPORT_OBJECTS_LIST_ADPTER, VIEW_IMPORT_OBJECTS_LIST_PAGE
 
Constructor Summary
AbstractActionContext(com.softwareag.cis.workplace.MFWorkplaceAdapter mfworkplaceadapter)
           
 
Method Summary
 void addFavoriteToBrowser(java.lang.String title, java.lang.String url)
           
 void browseValue(java.lang.String msg, com.centrasite.control.AbstractPromptCommand cmd, java.lang.String title)
          Prompt for a string value
 void browseValueWithoutPopup(java.lang.String msg, com.centrasite.control.AbstractPromptCommand cmd, java.lang.String title)
          Prompt for a string value
 void closeView()
           
 void downloadFile(java.lang.String fileName, byte[] content, java.lang.String contentType)
           
 void enableTitleBarCommands(java.lang.String wizardAdapterName)
           
 void executeAfterSyncOfContentFrame(com.softwareag.cis.plugin.interfaces.RunnableDeferred runnable)
           
 void executeDeferred(com.softwareag.cis.plugin.interfaces.RunnableDeferred runnable)
           
 java.lang.Object getAdapter(java.lang.String adapterClasName)
           
 java.lang.String getApplicationServerUrl()
           
 java.lang.Object getClipBoard()
           
 com.centrasite.control.Connector getConnector()
           
 java.util.Locale getLocale()
          Get locale to be used for strings and messages
 com.centrasite.control.Item getSelectedFavoriteItem()
           
 java.util.Collection getSelectedFavoriteItems()
           
 com.softwareag.cis.context.ILookupContext getSessionContext()
           
 java.lang.String getUserAgent()
           
 void itemAddedAsFavorite(com.centrasite.control.Item item)
           
 void itemCreated(com.centrasite.control.Item item)
          Item created.
 void itemDeleted(com.centrasite.control.Item item)
          Item deleted.
 void itemRemovedFromFavorite(com.centrasite.control.Item item)
           
 void itemRenamed(com.centrasite.control.Item item)
          Item renamed.
 void itemsCreated(java.util.Collection items)
          Items created.
 void itemsDeleted(java.util.Collection items)
          Items deleted.
 void itemsUpdated(java.util.Collection items)
          Items updated.
 void itemUpdated(com.centrasite.control.Item item)
          Item updated.
 void messagePopup(java.lang.String message, java.lang.String title)
          Open a popup dialog displaying a message.
 void messagePopup(java.lang.String message, java.lang.String title, boolean useCurrentAdapter)
          Open a popup dialog displaying a message.
 void messagePopup(java.lang.String message, java.lang.String title, boolean useCurrentAdapter, com.centrasite.control.discovery.PromptOKHandler okHandler)
          Open a popup dialog displaying a message.
 void openCreateFavoriteDialog()
          Open Create Favorite Dialog.
 void openCreateFavoriteDialog(java.lang.String type)
           
 void openMultiValueDlg(java.lang.String title, com.centrasite.control.discovery.MultipleValueInputActionListener listener, java.util.Iterator displayHeadings, java.util.Iterator methodHeadings, java.util.Collection lineItems, boolean viewToolbarItems, java.lang.Class modeltype)
           
 void openPairInputDialog(java.lang.String title, com.centrasite.control.discovery.PairInputListener piListener, java.util.Collection labels, java.util.Collection initialValues)
           
 void openRoleSelectDialog(java.lang.String title, com.centrasite.control.AbstractSingleSelectedItemListener listener)
          Open user/role selection dialog.
 void openSearchDialog(com.centrasite.control.SelectItemDescriptor sid)
           
 void openSearchDialog(java.lang.String objectType, com.centrasite.jaxr.query.predicates.Predicate[] predicates, java.lang.String title, com.centrasite.control.SelectedItemsListener listener)
          Open a search dialog allowing to select instance(s) of given object type, using predicates P279772
 void openSearchDialog(java.lang.String objectType, java.lang.String title, com.centrasite.control.SelectedItemsListener listener, com.centrasite.control.discovery.ItemFilter itemFilter)
          Deprecated. Please use openSearchDialog(String objectType, Predicate[] predicates, String title, SelectedItemsListener listener)
 void openSearchDialogLayered(java.lang.String objectType, com.centrasite.jaxr.query.predicates.Predicate[] predicates, java.lang.String title, com.centrasite.control.SelectedItemsListener listener)
           
 void openUserRoleSelectDialog(java.lang.String title, com.centrasite.control.AbstractSingleSelectedItemListener listener)
          Open user/role selection dialog.
 void outputMessage(java.lang.String type, java.lang.String shortText)
           
 void promptAttrValue(java.lang.String msg, java.lang.String initialValue, com.centrasite.control.AbstractPromptCommand cmd, java.lang.String title, java.lang.String helpText)
           
 void promptValue(java.lang.String msg, java.lang.String initialValue, com.centrasite.control.AbstractPromptCommand cmd)
          Prompt for a string value
 void promptValue(java.lang.String msg, java.lang.String initialValue, com.centrasite.control.AbstractPromptCommand cmd, java.lang.String title)
          Prompt for a string value
 void promptValue(java.lang.String msg, java.lang.String initialValue, com.centrasite.control.AbstractPromptCommand cmd, java.lang.String title, java.lang.String helpText)
          Prompt for a string value
 void promptValue(java.lang.String msg, java.lang.String initialValue, com.centrasite.control.AbstractPromptCommand cmd, java.lang.String title, java.lang.String helpText, boolean deferExecution)
           
 void promptYesNo(java.lang.String msg, com.centrasite.control.discovery.PromptYesNoHandler cmd, java.lang.String title)
          Prompt whether to execute some action
 void putClipBoard(java.lang.Object o)
           
 void refresh(com.centrasite.control.Item item, int change)
          Default implementation to refresh current selection (for example after inserting a new child node).
 void refresh(java.lang.String adapterClassName)
          Refresh all adapters of given class
 void refreshTargetFrame(java.lang.String targetFrame)
           
 void refreshTypeList()
          Refresh type list
 void sendErrorMessage(java.lang.String text)
           
 void sendInfo(java.lang.String text)
           
 void showDetailView(com.centrasite.control.Item item)
          Show details of given item - do not invoke this method directly.
 void showDetailView(com.centrasite.control.Item item, java.lang.String messageType, java.lang.String message)
          Show details of given item - do not invoke this method directly.
 void showExternalURL(java.lang.String externalURL, java.lang.String title)
           
 void showExternalURL(java.lang.String externalURL, java.lang.String title, java.lang.String requestHeaderParams)
           
 void showLicenseError()
          Display error message when functionality is not permitted due to license error.
 void showLicenseError(java.lang.String additionalMessage)
          Display error message when functionality is not permitted due to license error.
 void showMenu(java.util.Collection commands)
          Display a menu containing specified commands
 void showMyNotifications(com.centrasite.control.ReportInterface ri)
           
 void showPage(java.lang.String pageURL, java.lang.String title)
          Open page in workplace
 void showPage(java.lang.String pageURL, java.lang.String title, java.lang.String adapterClass)
          Open page in workplace
 void showPage(java.lang.String pageURL, java.lang.String title, java.lang.String adapterClass, java.util.Collection initializers)
           
 void showPage(java.lang.String pageURL, java.lang.String title, java.lang.String adapterClass, java.util.Collection initializers, boolean reinit)
           
 void showPage(java.lang.String pageURL, java.lang.String title, java.lang.String adapterClass, java.util.Collection initializers, java.lang.String pageId)
           
 void showPage(java.lang.String pageURL, java.lang.String title, java.lang.String adapterClass, java.util.Collection initializers, java.lang.String pageId, boolean reinit)
           
 void showPagePopUp(java.lang.String pageURL, java.lang.String title)
          Shows layered pop-up within the current processed adapter.
 void showPagePopUp(java.lang.String pageURL, java.lang.String title, java.lang.String adapterClass, java.util.Collection<?> initializers, int width, int height, boolean newInstance)
          Shows layered pop-up within the current processed adapter.
 void showPagePopUp(java.lang.String pageURL, java.lang.String title, java.lang.String adapterClass, java.util.Collection initializers, int width, int height)
          Shows layered pop-up within the current processed adapter.
 void showPagePopUp(java.lang.String invokingAdapter, java.lang.String pageURL, java.lang.String title, java.lang.String popupAdapterClass, java.util.Collection initializers, int width, int height)
          Shows layered pop-up within the given currentAdapter adapter.
 void showPopUp(java.lang.String pageURL, java.lang.String title)
           
 void showPopUp(java.lang.String pageURL, java.lang.String title, java.lang.String adapterClass, java.util.Collection initializers, int width, int height)
           
 void showPopUpDynamicLayout(java.lang.String pageLayout, java.lang.String title)
          Show dynamic layout in pop up
 void showReport(com.centrasite.control.ReportInterface ri)
           
 void showReport(com.centrasite.control.ReportInterface ri, java.lang.String pageURL, java.lang.String subClassOfTextGridAdapter)
           
 void showThrowable(java.lang.Throwable t)
           
 void uploadFile(com.centrasite.control.interfaces.IFileUploadListener listener)
           
 void uploadFile(com.centrasite.control.interfaces.IFileUploadListener listener, java.lang.String title)
           
 
Methods inherited from class com.softwareag.cis.plugin.command.context.AbstractCommandContext
execute, getApplicationContext, getDisplayAdapter, getItem, getWorkplaceAdapter, getWorkplaceAdapter, openPageInTarget, sendError, showImageForCommand, showMessage, showThrowable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.centrasite.control.ActionContext
execute, getSelectedItem, getSelectedItems, openPageInTarget, refresh, refreshDetailView, sendError, showThrowable
 
Methods inherited from interface com.softwareag.cis.plugin.command.context.CommandContext
getApplicationContext, getItem, showImageForCommand, showMessage
 

Constructor Detail

AbstractActionContext

public AbstractActionContext(com.softwareag.cis.workplace.MFWorkplaceAdapter mfworkplaceadapter)
Method Detail

showThrowable

public void showThrowable(java.lang.Throwable t)
Specified by:
showThrowable in interface com.centrasite.control.ActionContext
Specified by:
showThrowable in interface com.softwareag.cis.plugin.command.context.CommandContext
Overrides:
showThrowable in class com.softwareag.cis.plugin.command.context.AbstractCommandContext

showDetailView

public void showDetailView(com.centrasite.control.Item item)
Show details of given item - do not invoke this method directly. Rather use Item.showDetailView(ActionContext)

Specified by:
showDetailView in interface com.centrasite.control.ActionContext
Parameters:
item - the Item whose details are to be displayed

showDetailView

public void showDetailView(com.centrasite.control.Item item,
                           java.lang.String messageType,
                           java.lang.String message)
Show details of given item - do not invoke this method directly. Rather use Item.showDetailView(ActionContext)

Specified by:
showDetailView in interface com.centrasite.control.ActionContext
Parameters:
item - the Item whose details are to be displayed

showExternalURL

public void showExternalURL(java.lang.String externalURL,
                            java.lang.String title)
Specified by:
showExternalURL in interface com.centrasite.control.ActionContext

showExternalURL

public void showExternalURL(java.lang.String externalURL,
                            java.lang.String title,
                            java.lang.String requestHeaderParams)
Specified by:
showExternalURL in interface com.centrasite.control.ActionContext

getConnector

public com.centrasite.control.Connector getConnector()
Specified by:
getConnector in interface com.centrasite.control.ActionContext
Returns:
the Connector

sendInfo

public void sendInfo(java.lang.String text)
Specified by:
sendInfo in interface com.centrasite.control.ActionContext
Parameters:
text - Text to display

sendErrorMessage

public void sendErrorMessage(java.lang.String text)
Specified by:
sendErrorMessage in interface com.centrasite.control.ActionContext
Parameters:
text - Text to display

getSessionContext

public com.softwareag.cis.context.ILookupContext getSessionContext()

putClipBoard

public void putClipBoard(java.lang.Object o)
Specified by:
putClipBoard in interface com.centrasite.control.ActionContext

getClipBoard

public java.lang.Object getClipBoard()
Specified by:
getClipBoard in interface com.centrasite.control.ActionContext

showReport

public void showReport(com.centrasite.control.ReportInterface ri)
Specified by:
showReport in interface com.centrasite.control.ActionContext

showReport

public void showReport(com.centrasite.control.ReportInterface ri,
                       java.lang.String pageURL,
                       java.lang.String subClassOfTextGridAdapter)
Specified by:
showReport in interface com.centrasite.control.ActionContext

showMyNotifications

public void showMyNotifications(com.centrasite.control.ReportInterface ri)
Specified by:
showMyNotifications in interface com.centrasite.control.ActionContext

showPage

public void showPage(java.lang.String pageURL,
                     java.lang.String title)
Open page in workplace

Specified by:
showPage in interface com.centrasite.control.ActionContext
Parameters:
pageURL - URL of CIS page to be shown
title - title used to represent activity in workplace

showPage

public void showPage(java.lang.String pageURL,
                     java.lang.String title,
                     java.lang.String adapterClass)
Open page in workplace

Specified by:
showPage in interface com.centrasite.control.ActionContext
Parameters:
pageURL - URL of CIS page to be shown
title - title used to represent activity in workplace
adapterClass - name of adapter class - required to set ActionContext for adapter for new page

showPage

public void showPage(java.lang.String pageURL,
                     java.lang.String title,
                     java.lang.String adapterClass,
                     java.util.Collection initializers)
Specified by:
showPage in interface com.centrasite.control.ActionContext

showPage

public void showPage(java.lang.String pageURL,
                     java.lang.String title,
                     java.lang.String adapterClass,
                     java.util.Collection initializers,
                     boolean reinit)
Specified by:
showPage in interface com.centrasite.control.ActionContext

showPage

public void showPage(java.lang.String pageURL,
                     java.lang.String title,
                     java.lang.String adapterClass,
                     java.util.Collection initializers,
                     java.lang.String pageId)
Specified by:
showPage in interface com.centrasite.control.ActionContext

showPage

public void showPage(java.lang.String pageURL,
                     java.lang.String title,
                     java.lang.String adapterClass,
                     java.util.Collection initializers,
                     java.lang.String pageId,
                     boolean reinit)
Specified by:
showPage in interface com.centrasite.control.ActionContext

promptYesNo

public void promptYesNo(java.lang.String msg,
                        com.centrasite.control.discovery.PromptYesNoHandler cmd,
                        java.lang.String title)
Prompt whether to execute some action

Specified by:
promptYesNo in interface com.centrasite.control.ActionContext
Parameters:
msg - Message to display
cmd - The AbstractPromptCommand to be executed
title - Title for popup dailog

messagePopup

public void messagePopup(java.lang.String message,
                         java.lang.String title,
                         boolean useCurrentAdapter,
                         com.centrasite.control.discovery.PromptOKHandler okHandler)
Open a popup dialog displaying a message.

Specified by:
messagePopup in interface com.centrasite.control.ActionContext
Parameters:
message - The Message to display.
title - The title for the popup dailog.
useCurrentAdapter - Force to use currently processed adapter.
okHandler - Handler for "OK" being pressed.

messagePopup

public void messagePopup(java.lang.String message,
                         java.lang.String title,
                         boolean useCurrentAdapter)
Open a popup dialog displaying a message.

Specified by:
messagePopup in interface com.centrasite.control.ActionContext
Parameters:
message - The Message to display.
title - The title for the popup dailog.
useCurrentAdapter - Force to use currently processed adapter.

messagePopup

public void messagePopup(java.lang.String message,
                         java.lang.String title)
Open a popup dialog displaying a message.

Specified by:
messagePopup in interface com.centrasite.control.ActionContext
Parameters:
message - The Message to display.
title - The title for the popup dailog.

promptValue

public void promptValue(java.lang.String msg,
                        java.lang.String initialValue,
                        com.centrasite.control.AbstractPromptCommand cmd)
Prompt for a string value

Specified by:
promptValue in interface com.centrasite.control.ActionContext
Parameters:
msg - Message to display
initialValue -
cmd - The AbstractPromptCommand to be executed

promptValue

public void promptValue(java.lang.String msg,
                        java.lang.String initialValue,
                        com.centrasite.control.AbstractPromptCommand cmd,
                        java.lang.String title)
Prompt for a string value

Specified by:
promptValue in interface com.centrasite.control.ActionContext
Parameters:
msg - Message to display
initialValue -
cmd - The AbstractPromptCommand to be executed
title - Title for popup dialog

promptValue

public void promptValue(java.lang.String msg,
                        java.lang.String initialValue,
                        com.centrasite.control.AbstractPromptCommand cmd,
                        java.lang.String title,
                        java.lang.String helpText)
Prompt for a string value

Specified by:
promptValue in interface com.centrasite.control.ActionContext
Parameters:
msg - Message to display
initialValue -
cmd - The AbstractPromptCommand to be executed
title - Title for popup dialog
helpText - Help text for popup dialog

promptValue

public void promptValue(java.lang.String msg,
                        java.lang.String initialValue,
                        com.centrasite.control.AbstractPromptCommand cmd,
                        java.lang.String title,
                        java.lang.String helpText,
                        boolean deferExecution)
Specified by:
promptValue in interface com.centrasite.control.ActionContext

promptAttrValue

public void promptAttrValue(java.lang.String msg,
                            java.lang.String initialValue,
                            com.centrasite.control.AbstractPromptCommand cmd,
                            java.lang.String title,
                            java.lang.String helpText)
Specified by:
promptAttrValue in interface com.centrasite.control.ActionContext

browseValue

public void browseValue(java.lang.String msg,
                        com.centrasite.control.AbstractPromptCommand cmd,
                        java.lang.String title)
Prompt for a string value

Specified by:
browseValue in interface com.centrasite.control.ActionContext
Parameters:
msg - Message to display
cmd - The AbstractPromptCommand to be executed
title - Title for popup dailog

browseValueWithoutPopup

public void browseValueWithoutPopup(java.lang.String msg,
                                    com.centrasite.control.AbstractPromptCommand cmd,
                                    java.lang.String title)
Prompt for a string value

Specified by:
browseValueWithoutPopup in interface com.centrasite.control.ActionContext
Parameters:
msg - Message to display
cmd - The AbstractPromptCommand to be executed
title - Title for popup dailog

openSearchDialog

public void openSearchDialog(java.lang.String objectType,
                             java.lang.String title,
                             com.centrasite.control.SelectedItemsListener listener,
                             com.centrasite.control.discovery.ItemFilter itemFilter)
Deprecated. Please use openSearchDialog(String objectType, Predicate[] predicates, String title, SelectedItemsListener listener)

Open a search dialog for the specified object type.

Specified by:
openSearchDialog in interface com.centrasite.control.ActionContext
Parameters:
objectType - object type to search for
title - popup title
listener - listener

openSearchDialog

public void openSearchDialog(java.lang.String objectType,
                             com.centrasite.jaxr.query.predicates.Predicate[] predicates,
                             java.lang.String title,
                             com.centrasite.control.SelectedItemsListener listener)
Open a search dialog allowing to select instance(s) of given object type, using predicates P279772

Specified by:
openSearchDialog in interface com.centrasite.control.ActionContext
Parameters:
objectType - object type to search for
predicates -
title - popup title
listener - listener

openSearchDialogLayered

public void openSearchDialogLayered(java.lang.String objectType,
                                    com.centrasite.jaxr.query.predicates.Predicate[] predicates,
                                    java.lang.String title,
                                    com.centrasite.control.SelectedItemsListener listener)
Specified by:
openSearchDialogLayered in interface com.centrasite.control.ActionContext

openPairInputDialog

public void openPairInputDialog(java.lang.String title,
                                com.centrasite.control.discovery.PairInputListener piListener,
                                java.util.Collection labels,
                                java.util.Collection initialValues)
Specified by:
openPairInputDialog in interface com.centrasite.control.ActionContext

openCreateFavoriteDialog

public void openCreateFavoriteDialog()
Open Create Favorite Dialog.

Specified by:
openCreateFavoriteDialog in interface com.centrasite.control.ActionContext

openCreateFavoriteDialog

public void openCreateFavoriteDialog(java.lang.String type)
Specified by:
openCreateFavoriteDialog in interface com.centrasite.control.ActionContext

openRoleSelectDialog

public void openRoleSelectDialog(java.lang.String title,
                                 com.centrasite.control.AbstractSingleSelectedItemListener listener)
Open user/role selection dialog.

Specified by:
openRoleSelectDialog in interface com.centrasite.control.ActionContext
Parameters:
title - popup title
listener - listener

openUserRoleSelectDialog

public void openUserRoleSelectDialog(java.lang.String title,
                                     com.centrasite.control.AbstractSingleSelectedItemListener listener)
Open user/role selection dialog.

Specified by:
openUserRoleSelectDialog in interface com.centrasite.control.ActionContext
Parameters:
title - popup title
listener - listener

openSearchDialog

public void openSearchDialog(com.centrasite.control.SelectItemDescriptor sid)
Specified by:
openSearchDialog in interface com.centrasite.control.ActionContext
Parameters:
sid -

openMultiValueDlg

public void openMultiValueDlg(java.lang.String title,
                              com.centrasite.control.discovery.MultipleValueInputActionListener listener,
                              java.util.Iterator displayHeadings,
                              java.util.Iterator methodHeadings,
                              java.util.Collection lineItems,
                              boolean viewToolbarItems,
                              java.lang.Class modeltype)
Specified by:
openMultiValueDlg in interface com.centrasite.control.ActionContext

showPopUp

public void showPopUp(java.lang.String pageURL,
                      java.lang.String title)
Specified by:
showPopUp in interface com.centrasite.control.ActionContext

showPopUp

public void showPopUp(java.lang.String pageURL,
                      java.lang.String title,
                      java.lang.String adapterClass,
                      java.util.Collection initializers,
                      int width,
                      int height)
Specified by:
showPopUp in interface com.centrasite.control.ActionContext

showPagePopUp

public void showPagePopUp(java.lang.String pageURL,
                          java.lang.String title)
Shows layered pop-up within the current processed adapter.

Specified by:
showPagePopUp in interface com.centrasite.control.ActionContext
Parameters:
pageURL - - URL where the html page is located
title - Pop-up title

showPagePopUp

public void showPagePopUp(java.lang.String pageURL,
                          java.lang.String title,
                          java.lang.String adapterClass,
                          java.util.Collection initializers,
                          int width,
                          int height)
Shows layered pop-up within the current processed adapter.

Specified by:
showPagePopUp in interface com.centrasite.control.ActionContext
Parameters:
pageURL - - URL where the html page is located
title - Pop-up title
adapterClass - - the adapter of the pup-up
initializers - - collection of stored values
width - - width of the pop-up
height - - height of the pop-up

showPagePopUp

public void showPagePopUp(java.lang.String pageURL,
                          java.lang.String title,
                          java.lang.String adapterClass,
                          java.util.Collection<?> initializers,
                          int width,
                          int height,
                          boolean newInstance)
Shows layered pop-up within the current processed adapter.

Specified by:
showPagePopUp in interface com.centrasite.control.ActionContext
Parameters:
pageURL - - URL where the html page is located
title - Pop-up title
adapterClass - - the adapter of the pup-up
initializers - - collection of stored values
width - - width of the pop-up
height - - height of the pop-up
newInstance - if true a new instance will be created and returned even if one already exists

showPagePopUp

public void showPagePopUp(java.lang.String invokingAdapter,
                          java.lang.String pageURL,
                          java.lang.String title,
                          java.lang.String popupAdapterClass,
                          java.util.Collection initializers,
                          int width,
                          int height)
Shows layered pop-up within the given currentAdapter adapter.

Specified by:
showPagePopUp in interface com.centrasite.control.ActionContext
Parameters:
invokingAdapter - - adapter name from which the pop-up is shown
pageURL - - URL where the html page is located
title - Pop-up title
popupAdapterClass - - the adapter of the pup-up
initializers - - collection of stored values
width - - width of the pop-up
height - - height of the pop-up

showPopUpDynamicLayout

public void showPopUpDynamicLayout(java.lang.String pageLayout,
                                   java.lang.String title)
Show dynamic layout in pop up

Parameters:
pageLayout - layout
title - Pop-up title

getAdapter

public java.lang.Object getAdapter(java.lang.String adapterClasName)

showLicenseError

public void showLicenseError()
Display error message when functionality is not permitted due to license error.

Specified by:
showLicenseError in interface com.centrasite.control.ActionContext

showLicenseError

public void showLicenseError(java.lang.String additionalMessage)
Display error message when functionality is not permitted due to license error.

Specified by:
showLicenseError in interface com.centrasite.control.ActionContext
Parameters:
additionalMessage - an optional supplementary message, may be null

showMenu

public void showMenu(java.util.Collection commands)
Display a menu containing specified commands

Specified by:
showMenu in interface com.centrasite.control.ActionContext
Parameters:
commands -

closeView

public void closeView()
Specified by:
closeView in interface com.centrasite.control.ActionContext

refresh

public void refresh(com.centrasite.control.Item item,
                    int change)
Default implementation to refresh current selection (for example after inserting a new child node).

Specified by:
refresh in interface com.centrasite.control.ActionContext

refresh

public void refresh(java.lang.String adapterClassName)
Refresh all adapters of given class

Specified by:
refresh in interface com.centrasite.control.ActionContext
Parameters:
adapterClassName - fully qualified name of adapter class whose living instances are to be refreshed - must be a subclass of BaseAdapter

itemCreated

public void itemCreated(com.centrasite.control.Item item)
Item created.

Specified by:
itemCreated in interface com.centrasite.control.ActionContext

itemAddedAsFavorite

public void itemAddedAsFavorite(com.centrasite.control.Item item)
Specified by:
itemAddedAsFavorite in interface com.centrasite.control.ActionContext

itemRemovedFromFavorite

public void itemRemovedFromFavorite(com.centrasite.control.Item item)
Specified by:
itemRemovedFromFavorite in interface com.centrasite.control.ActionContext

itemsCreated

public void itemsCreated(java.util.Collection items)
Items created.

Specified by:
itemsCreated in interface com.centrasite.control.ActionContext

itemRenamed

public void itemRenamed(com.centrasite.control.Item item)
Item renamed.

Specified by:
itemRenamed in interface com.centrasite.control.ActionContext

itemUpdated

public void itemUpdated(com.centrasite.control.Item item)
Item updated.

Specified by:
itemUpdated in interface com.centrasite.control.ActionContext

itemsUpdated

public void itemsUpdated(java.util.Collection items)
Items updated.

Specified by:
itemsUpdated in interface com.centrasite.control.ActionContext

itemDeleted

public void itemDeleted(com.centrasite.control.Item item)
Item deleted.

Specified by:
itemDeleted in interface com.centrasite.control.ActionContext

itemsDeleted

public void itemsDeleted(java.util.Collection items)
Items deleted.

Specified by:
itemsDeleted in interface com.centrasite.control.ActionContext

executeDeferred

public void executeDeferred(com.softwareag.cis.plugin.interfaces.RunnableDeferred runnable)
Specified by:
executeDeferred in interface com.centrasite.control.ActionContext
Parameters:
runnable -

executeAfterSyncOfContentFrame

public void executeAfterSyncOfContentFrame(com.softwareag.cis.plugin.interfaces.RunnableDeferred runnable)
Specified by:
executeAfterSyncOfContentFrame in interface com.centrasite.control.ActionContext
Parameters:
runnable -

refreshTypeList

public void refreshTypeList()
Refresh type list

Specified by:
refreshTypeList in interface com.centrasite.control.ActionContext

getLocale

public java.util.Locale getLocale()
Get locale to be used for strings and messages

Specified by:
getLocale in interface com.centrasite.control.ActionContext
Specified by:
getLocale in interface com.softwareag.cis.plugin.command.context.CommandContext
Overrides:
getLocale in class com.softwareag.cis.plugin.command.context.AbstractCommandContext
Returns:
the locale

getUserAgent

public java.lang.String getUserAgent()
Specified by:
getUserAgent in interface com.centrasite.control.ActionContext

getApplicationServerUrl

public java.lang.String getApplicationServerUrl()
Specified by:
getApplicationServerUrl in interface com.centrasite.control.ActionContext

downloadFile

public void downloadFile(java.lang.String fileName,
                         byte[] content,
                         java.lang.String contentType)
Specified by:
downloadFile in interface com.centrasite.control.ActionContext

uploadFile

public void uploadFile(com.centrasite.control.interfaces.IFileUploadListener listener,
                       java.lang.String title)
Specified by:
uploadFile in interface com.centrasite.control.ActionContext

uploadFile

public void uploadFile(com.centrasite.control.interfaces.IFileUploadListener listener)
Specified by:
uploadFile in interface com.centrasite.control.ActionContext

getSelectedFavoriteItem

public com.centrasite.control.Item getSelectedFavoriteItem()
Specified by:
getSelectedFavoriteItem in interface com.centrasite.control.ActionContext

getSelectedFavoriteItems

public java.util.Collection getSelectedFavoriteItems()
Specified by:
getSelectedFavoriteItems in interface com.centrasite.control.ActionContext

addFavoriteToBrowser

public void addFavoriteToBrowser(java.lang.String title,
                                 java.lang.String url)
Specified by:
addFavoriteToBrowser in interface com.centrasite.control.ActionContext

refreshTargetFrame

public void refreshTargetFrame(java.lang.String targetFrame)
Specified by:
refreshTargetFrame in interface com.centrasite.control.ActionContext

outputMessage

public void outputMessage(java.lang.String type,
                          java.lang.String shortText)
Specified by:
outputMessage in interface com.centrasite.control.ActionContext

enableTitleBarCommands

public void enableTitleBarCommands(java.lang.String wizardAdapterName)
Specified by:
enableTitleBarCommands in interface com.centrasite.control.ActionContext