com.centrasite.control.adapters
Class BaseAdapter

java.lang.Object
  extended by com.softwareag.cis.server.Adapter
      extended by com.softwareag.cis.plugin.adapter.util.CommonAdapter
          extended by com.centrasite.control.adapters.BaseAdapter
All Implemented Interfaces:
com.centrasite.control.Constants, com.softwareag.cis.server.IAdapter, com.softwareag.cis.server.IServerLogConstants, com.softwareag.cis.util.IControlStatusConstants
Direct Known Subclasses:
AboutDialogAdapter, AbstractBaseDetailViewTabAdapter, AbstractImportAdapter, AbstractItemEditorAdapter, AbstractPredicateAdapter, AddApplicationAdapter, AddAssociationsAdapter, AddBulkVersionAdapter, AddClassificationAdapter, AddExternalLinkAdapter, AddItemToListAdapter, AddNewVersionAdapter, AddObjectSpecificPropertyAdapter, AddOrgExternalLinkAdapter, AddReportTemplateAdapter, AddTaxonomyExternalLinkAdapter, AddUserExternalLinkAdapter, AttachedToTabAdapter, AuthenticateDialogAdapter, BrowseAdapter, BrowseByAdapter, BrowseByColumnAdapter, CentraSiteAboutPluginInfoAdapter, CentraSiteCopyrightInfoAdapter, ChangeLcmStateAdapter, ChangePasswordAdapter, ChangeProvidingOrganizationAdapter, ColumnGridAdapter, CommonFolderAdapter, CommonImportRepositoryFile, ComputedProfileTabAdapter, ContextMenuAdapter, CreateAssetAdapter, CreateFavoriteAdapter, CustomConditionAdapter, CustomProfileTabAdapter, DownloadDocumentsAdapter, EditAssetAdapter, EditPermissionsAdapter, EditTaxonomyExternalLinkAdapter, ExportAssetsOptionAdapter, ExportItemsAdapter, ExportOptionAdapter, ExportOrganizationAdapter, ExportOrganizationOptionAdapter, ExportOrgItemsAdapter, ExportOwnerAdapter, ExtensibleImportAdapter, ExtensionPointSearchPredicateAdapter, FgridAdapter, FileUploadAdapter, HelpTextProviderPopupAdapter, HomePageAdapter, ImageOutAdapter, ImpactAnalysisCustomizeDialogAdapter, ImpactBrowser, ImportAssetAdapter, ImportBPELAdapter, ImportItemsAdapter, ImportMissingNameLocationAdapter, ImportObjectAdapter, ImportRepositoryFile, ImportResolveLocationAdapter, ImportVersionOptionAdapter, ImportXMLServiceAdapter, ImportXPDLAdapter, MemebersSearchAdapter, MessageBoxAdapter, MultipleValueDlgAdapter, NewVersionSpecificationDocumentsAdapter, NotificationDetailsAdapter, PairInputAdapter, PinEditDialogAdapter, PromptNextAdapter, PromptSaveAdapter, PromptSaveDiscardAdapter, ReportCollectionAdapter, SearchPredicateAdapter, SelectAssociationTypeAdapter, SelectExternalClassificationAdapter, SelectFolderAdapter, SelectInternalClassificationAdapter, SelectionpopupAdapter, SetPermissionsAdapter, SetProfilePermissionsAdapter, SystemInfoAdapter, TextGridAdapter, TitledPageAdapter, TopicAdapter, TypeDetails, UserPreferencesAdapter, VersionsTabAdapter, WelcomeAdapter, WizardAdapter, XQueryToolAdapter

public class BaseAdapter
extends com.softwareag.cis.plugin.adapter.util.CommonAdapter
implements com.centrasite.control.Constants


Nested Class Summary
static class BaseAdapter.CloseActivityCommand
           
 
Nested classes/interfaces inherited from class com.softwareag.cis.server.Adapter
com.softwareag.cis.server.Adapter.CISAddons, com.softwareag.cis.server.Adapter.FrameMessage, com.softwareag.cis.server.Adapter.ICISStyleAddon, com.softwareag.cis.server.Adapter.LivingPopupFunctions
 
Field Summary
 
Fields inherited from class com.softwareag.cis.server.Adapter
DT_BARS, DT_LINES, DT_POINTS, FIELD_BOTHIDANDTEXT, FIELD_ONLYID, FIELD_ONLYTEXT, MLMSG, MT_ERROR, MT_ERROR_MULTILINE, MT_SUCCESS, MT_SUCCESS_MULTILINE, MT_WARNING, MT_WARNING_MULTILINE, POP_POS_CLICK
 
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
 
Fields inherited from interface com.softwareag.cis.server.IServerLogConstants
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING
 
Fields inherited from interface com.softwareag.cis.util.IControlStatusConstants
CS_DISPLAY, CS_EDIT, CS_ERROR, CS_ERROR_DISPLAY, CS_ERROR_NO_FOCUS, CS_FOCUS, CS_INVISIBLE
 
Constructor Summary
BaseAdapter()
           
 
Method Summary
 void activate(java.lang.String sessionId, java.lang.String processId, java.lang.String adapterId)
           
 void endProcess()
           
 void endProcess(int itemUpdateType)
          This method cares about item update type i.e. the item is for deletion...
 boolean executeIfAllowedToLooseFocus(com.centrasite.control.AbstractCommandExt cmd)
          Execute command if this BaseAdapter may loose focus.
 boolean executeIfAllowedToLooseFocus(com.softwareag.cis.server.util.ICommand cmd)
          Execute command if this adapter may loose focus.
 com.centrasite.control.auth.api.AccessManager getAccessManager()
           
 com.centrasite.control.ActionContext getActionContext()
          Obtain ActionContext for this Adapter
 com.centrasite.resourceaccess.resources.CentraSiteUser getCentraSiteUser()
           
 com.centrasite.control.Connector getConnector()
           
static com.centrasite.control.Connector getConnector(com.softwareag.cis.server.Adapter adapter)
           
 com.centrasite.control.auth.api.DisplayManager getDisplayManager()
           
 HELPTEXTPROVIDERUtil getHelpTextProvider()
           
 com.centrasite.control.ActionContext getInvocationActionContext()
          Obtain ActionContext for this Adapter
 com.centrasite.control.Item getNextReqAttributeItem(java.util.List<com.centrasite.control.Item> items, com.centrasite.control.Item currentItem)
          From the list of given items returns the next items wrt the given current item, based on the availability of required attribute without default value.
 java.util.Locale getPersitanceLocale()
           
 boolean getVisibleTitle()
           
 boolean getWithClose()
           
 com.softwareag.cis.workplace.MFWorkplaceAdapter getWorkplaceAdapter()
           
 void hasBeenActivated()
          This method will be invoked when switching to an open workplace activity using a CommonAdapter - may be overwritten by subclasses when needed.
 boolean isForDeletion()
           
 boolean isRefreshRequired()
          Check if the current adapter ActionContext needs to be refreshed
 void prepareReload()
          This method is intended to be overloaded by subclasses of BaseAdapter, e.g. if they contain a TEXTGRID which is to be prepared for subsequent call to forceReload().
 void processPendingRefresh()
           
 void reactOnDataCollectionEnd()
           
 void reactOnDataCollectionStart()
           
 void reactOnDataTransferEnd()
           
 void reactOnDataTransferStart()
           
 void reactOnRefreshPageRequest()
          Default implementation.
 void reactOnRefreshPageRequestGlobal()
          Method is called on click onto the global rfresh button
 int referencesItem(com.centrasite.control.Item item, int change)
          Is the specified item referenced by this adapter?
 void setActionContext(com.centrasite.control.ActionContext actionContext)
           
 void setForDeletion(boolean forDeletion)
           
 void setInvocationActionContext(com.centrasite.control.ActionContext invocationActionContext)
           
 void setRefreshRequired()
          Indicate that the ActionContext of the current adapter needs to be refreshed For instance on invokation of hasBeenActivated()
 void setVisibleTitle(boolean value)
           
 void setWithClose(boolean value)
           
 java.lang.String toString()
           
 
Methods inherited from class com.softwareag.cis.plugin.adapter.util.CommonAdapter
addRecentlyProcessedAdapter, close, closePage, destroy, executeDeferred, executeDeferred, executeEndProcess, executeNow, findKnownAdapters, findRelatedMenuExtensionId, getAdapter, getAdapterForSubSession, getApplicationContext, getBaseAdapter, getCurrentAdapters, getLocale, getLocale, getPreviousAdapter, handleErrorDuringGetPhase, handleErrorDuringInitPhase, handleErrorDuringInvokePhase, handleErrorDuringSetPhase, handleRefreshRequest, isAlive, isClosed, isDeadAdapter, passivate, refreshTargetIfNeeded, registerActivity, removeKnownAdapter, switchToPage, unregisterActivity
 
Methods inherited from class com.softwareag.cis.server.Adapter
addAccessPathExtension, addAdapterListener, addPagePopupCommand, appendHTMLToPageName, applyFilterDataCollection, checkIfAdapterExists, checkIfAdapterExists, checkIfAdapterExists, checkIfAdapterExists, checkIfInDevelopmentMode, checkIsPopupClosing, checkIsPopupOpening, closePagePopup, closeTitleBarPopup, closeWindow, deserialize, findAccessPathExtensions, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapter, findAdapterForPage, findAdapterForPage, findAdapterId, findAdapterListener, findAdditionalAdaptersInRepsonse, findCISSessionContext, findCurrentlyProcessedAdapter, findCurrentlyProcessedMethod, findCurrentlyRequestedAdapter, findFilterDataCollection, findFunctionsLivingPopup, findHelpId, findHttpServletRequest, findHttpServletResponse, findInitParam, findInitParamMap, findInteractionObjectInfo, findPageApplication, findPageContextRoot, findPageFileName, findPagePixelHeight, findPagePixelWidth, findPageURL, findRepeatIndex, findSAMLArtifact, findServletContext, findSessionContext, findSessionId, findSubSessionContext, findSubsessionId, findValueRequestProperty, forcePageReload, getCISAddons, getCISContextMenuItems, getCISFIELDTextIdMode, getCISObjects1, getCloseWindow, getDateDisplay, getDecimalSeparator, getDisplayType, getFdiw, getForcePageReload, getFrameMessages, getIntPopupsEnabled, getIsDisplayTypeSWT, getLanguage, getMessageLongText, getMessageShortText, getMessageType, getNextPage, getNextPageId, getNextPagePopupCommands, getNextPopup, getNextPopupFeatures, getNextPopupId, getNextPopupMenuFeatures, getNextPopupModal, getNextPopupOnCloseMethod, getNextPopupOnCloseProperty, getNextPopupOnClosePropertyV, getNextPopupSessionId, getNextPopupSubsessionId, getNextPopupTitle, getPageName, getPagePopupCommands, getRefreshParent, getStyle, getTimeDisplay, getTimeZoneOffset, getXMLDataMode, includeAdapterInResponse, includeAdapterInResponse, includeAdapterInResponse, includeAdapterInResponse, init, invokeMethodInTarget, isRunningInPopup, isSubPageRefresh, markSubPageAdapterForDestroy, markThisAdapterForDestroy, openCISPageInNewWindow, openCISPageInTarget, openCISPageInTarget, openCISPageInTarget, openIdValueCombo, openIdValueComboOrPopup, openIdValueHelp, openModelessPopup, openModelessPopup, openModelessPopup, openPageAndRestartSession, openPageInNewWindow, openPageInTarget, openPagePopup, openPagePopup, openPopup, openPopup, openPopupInDiv, openPopupInNewSubSession, outputMessage, outputMessage, outputMessage, processAsDefault, reactOnDataCollectionEndInternal, reactOnHelpRequestForHelpId, reactOnInvokePhaseEnd, reactOnInvokePhaseStart, reactOnMFWorkplaceActivityRestart, reactOnMFWorkplaceActivityStart, reactOnPopupClosedByUser, reactOnPopupMenuClosedByUser, reactOnRequestProcessingStart, reactonStatusBarHelpRequest, refreshParent, refreshScreenOccuranceOfAdapter, refreshScreenOccuranceOfAdapter, refreshScreenOccuranceOfAdapter, refreshTarget, removeAdapterListener, replaceLiteral, replaceLiteral, replaceLiteral, replaceLiteral, replaceLiteralFromProject, replaceLiteralFromProject, replaceLiteralFromProject, replaceLiteralFromProject, repointFocusInScreen, repointFocusInScreen, repointFocusInScreen, serialize, setAdapterName, setApplication, setCISubPageRefresh, setCurrentlyProcessedAdapter, setCurrentlyRequestedAdapter, setDateDisplay, setDecimalSeparator, setDisplayType, setInteractionAdapterId, setInteractionProcess, setIntPopupsEnabled, setIsPopup, setLanguage, setPageFileName, setPageInitParam, setPageInitParamMap, setPageName, setPagePixelHeight, setPagePixelWidth, setPageURL, setParam1, setParam2, setPopupFeatures, setPopupFeatures, setPopupMenuFeatures, setPopupOnCloseMethod, setPopupTitle, setRepeatIndex, setStyle, setTimeDisplay, setTimeZoneOffset, setTraceCheckValue, setXMLDataMode, showPopupMenu, showPopupMenu, sizeTarget, switchScreenOccuranceOfSubsession, switchToPage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseAdapter

public BaseAdapter()
Method Detail

getVisibleTitle

public boolean getVisibleTitle()

setVisibleTitle

public void setVisibleTitle(boolean value)

getWithClose

public boolean getWithClose()

setWithClose

public void setWithClose(boolean value)

getHelpTextProvider

public HELPTEXTPROVIDERUtil getHelpTextProvider()

isForDeletion

public boolean isForDeletion()

setForDeletion

public void setForDeletion(boolean forDeletion)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setInvocationActionContext

public void setInvocationActionContext(com.centrasite.control.ActionContext invocationActionContext)

getInvocationActionContext

public com.centrasite.control.ActionContext getInvocationActionContext()
Obtain ActionContext for this Adapter

Returns:
ActionContext

setActionContext

public void setActionContext(com.centrasite.control.ActionContext actionContext)

getActionContext

public com.centrasite.control.ActionContext getActionContext()
Obtain ActionContext for this Adapter

Returns:
ActionContext

getWorkplaceAdapter

public com.softwareag.cis.workplace.MFWorkplaceAdapter getWorkplaceAdapter()
Overrides:
getWorkplaceAdapter in class com.softwareag.cis.plugin.adapter.util.CommonAdapter

getConnector

public com.centrasite.control.Connector getConnector()

getConnector

public static com.centrasite.control.Connector getConnector(com.softwareag.cis.server.Adapter adapter)

getPersitanceLocale

public java.util.Locale getPersitanceLocale()

getAccessManager

public com.centrasite.control.auth.api.AccessManager getAccessManager()

getCentraSiteUser

public com.centrasite.resourceaccess.resources.CentraSiteUser getCentraSiteUser()

getDisplayManager

public com.centrasite.control.auth.api.DisplayManager getDisplayManager()

reactOnDataTransferStart

public void reactOnDataTransferStart()
Specified by:
reactOnDataTransferStart in interface com.softwareag.cis.server.IAdapter
Overrides:
reactOnDataTransferStart in class com.softwareag.cis.plugin.adapter.util.CommonAdapter

reactOnDataTransferEnd

public void reactOnDataTransferEnd()
Specified by:
reactOnDataTransferEnd in interface com.softwareag.cis.server.IAdapter
Overrides:
reactOnDataTransferEnd in class com.softwareag.cis.plugin.adapter.util.CommonAdapter

reactOnDataCollectionStart

public void reactOnDataCollectionStart()
Specified by:
reactOnDataCollectionStart in interface com.softwareag.cis.server.IAdapter
Overrides:
reactOnDataCollectionStart in class com.softwareag.cis.plugin.adapter.util.CommonAdapter

reactOnDataCollectionEnd

public void reactOnDataCollectionEnd()
Specified by:
reactOnDataCollectionEnd in interface com.softwareag.cis.server.IAdapter
Overrides:
reactOnDataCollectionEnd in class com.softwareag.cis.plugin.adapter.util.CommonAdapter

endProcess

public void endProcess()
Overrides:
endProcess in class com.softwareag.cis.plugin.adapter.util.CommonAdapter

endProcess

public void endProcess(int itemUpdateType)
This method cares about item update type i.e. the item is for deletion...

Parameters:
itemUpdateType -

executeIfAllowedToLooseFocus

public boolean executeIfAllowedToLooseFocus(com.centrasite.control.AbstractCommandExt cmd)
Execute command if this BaseAdapter may loose focus. This method may be superseeeded by subclasses

Parameters:
cmd - the command to be executed
Returns:
false e.g. if editing for current item is pending.

executeIfAllowedToLooseFocus

public final boolean executeIfAllowedToLooseFocus(com.softwareag.cis.server.util.ICommand cmd)
Execute command if this adapter may loose focus.

Overrides:
executeIfAllowedToLooseFocus in class com.softwareag.cis.plugin.adapter.util.CommonAdapter
Parameters:
cmd - the command to be executed
Returns:
false e.g. if editing for current item is pending.

referencesItem

public int referencesItem(com.centrasite.control.Item item,
                          int change)
Is the specified item referenced by this adapter?

Parameters:
item - item to check
change - one of the constants ITEM_CREATED, ITEM_DELETED, ...
Returns:
NOT_REFERENCED, SINGLE_VALUE_PAGE_REFERENCE or MULTI_VALUE_PAGE_REFERENCE

prepareReload

public void prepareReload()
This method is intended to be overloaded by subclasses of BaseAdapter, e.g. if they contain a TEXTGRID which is to be prepared for subsequent call to forceReload().


setRefreshRequired

public void setRefreshRequired()
Indicate that the ActionContext of the current adapter needs to be refreshed For instance on invokation of hasBeenActivated()


isRefreshRequired

public boolean isRefreshRequired()
Check if the current adapter ActionContext needs to be refreshed


hasBeenActivated

public void hasBeenActivated()
This method will be invoked when switching to an open workplace activity using a CommonAdapter - may be overwritten by subclasses when needed.

Overrides:
hasBeenActivated in class com.softwareag.cis.plugin.adapter.util.CommonAdapter
See Also:
WorkplaceEventListener

processPendingRefresh

public void processPendingRefresh()

reactOnRefreshPageRequestGlobal

public void reactOnRefreshPageRequestGlobal()
Method is called on click onto the global rfresh button


reactOnRefreshPageRequest

public void reactOnRefreshPageRequest()
Default implementation. Method does nothing. Pls override.


activate

public void activate(java.lang.String sessionId,
                     java.lang.String processId,
                     java.lang.String adapterId)
Specified by:
activate in interface com.softwareag.cis.server.IAdapter
Overrides:
activate in class com.softwareag.cis.plugin.adapter.util.CommonAdapter

getNextReqAttributeItem

public com.centrasite.control.Item getNextReqAttributeItem(java.util.List<com.centrasite.control.Item> items,
                                                           com.centrasite.control.Item currentItem)
From the list of given items returns the next items wrt the given current item, based on the availability of required attribute without default value. Changes for Import with required attribute - RGHINM-6974

Parameters:
items - list of items
currentItem - currentitem in the given list of items
Returns: