com.centrasite.control.repository.details
Class ExternalLinksTab

java.lang.Object
  extended by com.centrasite.control.discovery.AbstractDetailViewTab
      extended by com.centrasite.control.repository.details.ExternalLinksTab
All Implemented Interfaces:
DetailViewTab

public class ExternalLinksTab
extends AbstractDetailViewTab


Nested Class Summary
static class ExternalLinksTab.RepositoryNodeExternalLinkReport
           
 
Field Summary
 
Fields inherited from interface com.centrasite.control.discovery.DetailViewTab
INIT_ADAPTER_FOR_DYNAMIC_PAGE_URL
 
Constructor Summary
ExternalLinksTab(java.util.Locale locale)
           
 
Method Summary
 boolean appliesTo(Item item)
          Check if tab is applicable for current displayed item
 java.lang.String getAdapterClass()
          Get Adapter for Table view layout
 java.lang.String getLayout()
          Get Table Layout
 com.softwareag.cis.plugin.command.Command getOnSelectCommand(Item item)
          Obtain the command to be executed when selecting a row in the report
 ReportInterface getReport(Item item)
           
 void initAdapterFor(ActionContext detailViewActionContext, DetailViewTabAdapter tabAdapter)
          Initialize adapter with corresponding item.
 
Methods inherited from class com.centrasite.control.discovery.AbstractDetailViewTab
geTabAdapter, getAdapterId, getContext, getDetailsTabContext, getImageURL, getProfileId, getTabId, getTitle, initAdapterForDynPageUrl, isModified, isReadOnly, isValid, isVisible, reset, revertProperties, setContext, setDetailsTabContext, setModified, setProfileId, setReadOnly, setTabAdapter, setTabId, setTitle, storeValues
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalLinksTab

public ExternalLinksTab(java.util.Locale locale)
Method Detail

appliesTo

public boolean appliesTo(Item item)
                  throws java.lang.Exception
Description copied from interface: DetailViewTab
Check if tab is applicable for current displayed item

Parameters:
item - Item displayed in detail view
Returns:
true - tab applicable false - not applicable
Throws:
java.lang.Exception

getLayout

public java.lang.String getLayout()
Get Table Layout

Returns:
HTML file name - may return null if layout to be generated dynamically by DetailViewTabAdapter

getAdapterClass

public java.lang.String getAdapterClass()
Get Adapter for Table view layout

Returns:
the name of the class of the Adapter which is to handle this DetailViewTab

initAdapterFor

public void initAdapterFor(ActionContext detailViewActionContext,
                           DetailViewTabAdapter tabAdapter)
Description copied from interface: DetailViewTab
Initialize adapter with corresponding item.

Specified by:
initAdapterFor in interface DetailViewTab
Overrides:
initAdapterFor in class AbstractDetailViewTab
Parameters:
detailViewActionContext - Detail view context
tabAdapter - Adpater for the layout

getReport

public ReportInterface getReport(Item item)

getOnSelectCommand

public com.softwareag.cis.plugin.command.Command getOnSelectCommand(Item item)
Obtain the command to be executed when selecting a row in the report

Parameters:
item -
Returns:
the command to be executed; null if no command to be executed