wt.templateutil.components
Class PDMLinkDefaultLinkComponent

java.lang.Object
  extended bywt.templateutil.components.HTMLComponent
      extended bywt.templateutil.components.HTMLLinkComponent
          extended bywt.templateutil.components.DefaultLinkComponent
              extended bywt.templateutil.components.PDMLinkDefaultLinkComponent
Direct Known Subclasses:
PickerDefaultLinkComponent

public class PDMLinkDefaultLinkComponent
extends DefaultLinkComponent

Generates a hyperlink around any subcomponents. The generation of the hyperlink is based on whether or not the object passed in is one of the following:

If the object is not any of these, the standard details page link is generated.

This is the class used by the PDMLinkDefaultHTMLCellComponent to generate the hyperlinks in the "First Column".

Supported API: false

Extendable: false


Field Summary
private static String DISPLAY_PRODUCT_VIEW_LINK_PREFERENCE
          Deprecated.  
private static String ID
          Deprecated.  
private static String PRODUCTSTRUCTURETABLE_ID
          Deprecated.  
private static ReferenceFactory rf
          Deprecated.  
static String ROOT_FOR_PREFERENCE
          Deprecated.  
private  String tag
          Deprecated.  
private static String TRUE_STRING
          Deprecated.  
(package private)  VisualizationHelperIfc visualizationHelper
          Deprecated.  
(package private)  VisualizationHelperFactory visualizationHelperFactory
          Deprecated.  
 
Fields inherited from class wt.templateutil.components.DefaultLinkComponent
 
Fields inherited from class wt.templateutil.components.HTMLLinkComponent
A_HREF, A_ID, A_NAME, A_TARGET, HREF, NAME, TAG, TARGET
 
Fields inherited from class wt.templateutil.components.HTMLComponent
CLASS, COMPONENT_ID, COMPONENT_ID_SEPARATOR, CREATE, DEFAULT_SERVICE_NAME, DEFAULTS_ONLY, EMPTY_STRING, ID_US_ENGLISH_LOCALE, NULLVALUE, PRINT_TAG_ATTR, SERVICENAME, UPDATE, VIEW
 
Constructor Summary
PDMLinkDefaultLinkComponent()
          Deprecated.  
 
Method Summary
protected  String getDataUrl(ContentHolder contentHolder, ContentItem contentItem, OutputStream os, Locale locale)
          Deprecated.  
protected  String getPreference(String preferenceKey, String preferenceDefault)
          Deprecated.  
protected  String getPreference(String preferenceRoot, String preferenceKey, String preferenceDefault)
          Deprecated.  
 String getTag()
          Deprecated. 

Supported API: true
private  VisualizationHelperIfc getVisualizationHelper()
          Deprecated.  
 String getVisualizationLink(Representable rep)
          Deprecated.  
 String getVisualizationLink(Representable rep, Locale locale)
          Deprecated.  
 void setTag(String a_Tag)
          Deprecated. Sets the value of the attribute: tag.
 String startComponent(Object obj, Properties formData, OutputStream os, Locale locale)
          Deprecated. Displays the standard format of a starting HTML tag include the opening less than, the tag name, the key value pairs that are the tag attributes, and the closing greater than.
private  boolean useConfigSpec(Properties formData)
          Deprecated.  
 
Methods inherited from class wt.templateutil.components.DefaultLinkComponent
getApplicationDataLink, getIDForLink, getIDValueFromLink, getObjectLink, getURLDataLink
 
Methods inherited from class wt.templateutil.components.HTMLLinkComponent
init, setTagListArray
 
Methods inherited from class wt.templateutil.components.HTMLComponent
appendID, appendID, appendToID, appendToID, createIDForComponent, endComponent, getHtmlComponents, getID, getIdProp, getName, getOID, getPrintWriter, getRealValue, getServiceName, getState, getTagID, getTagIDKey, getTagList, getTagSettings, getURLFactory, insertID, insertID, isInheritStyle, isPrintTagAttributes, isUseDefaultsOnly, main, putTagID, putTagID, removeID, removeTagID, setHtmlComponents, setID, setInheritStyle, setName, setPrintTagAttributes, setServiceName, setState, setTagList, setTagListDefaults, setTagSettings, setTagValue, setUseDefaultsOnly, show, showSubComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

private String tag
Deprecated. 

ID

private static String ID
Deprecated. 

PRODUCTSTRUCTURETABLE_ID

private static String PRODUCTSTRUCTURETABLE_ID
Deprecated. 

ROOT_FOR_PREFERENCE

public static final String ROOT_FOR_PREFERENCE
Deprecated. 
See Also:
Constant Field Values

DISPLAY_PRODUCT_VIEW_LINK_PREFERENCE

private static final String DISPLAY_PRODUCT_VIEW_LINK_PREFERENCE
Deprecated. 
See Also:
Constant Field Values

TRUE_STRING

private static final String TRUE_STRING
Deprecated. 

rf

private static ReferenceFactory rf
Deprecated. 

visualizationHelperFactory

VisualizationHelperFactory visualizationHelperFactory
Deprecated. 

visualizationHelper

VisualizationHelperIfc visualizationHelper
Deprecated. 
Constructor Detail

PDMLinkDefaultLinkComponent

public PDMLinkDefaultLinkComponent()
Deprecated. 
Method Detail

startComponent

public String startComponent(Object obj,
                             Properties formData,
                             OutputStream os,
                             Locale locale)
Deprecated. 
Description copied from class: HTMLComponent
Displays the standard format of a starting HTML tag include the opening less than, the tag name, the key value pairs that are the tag attributes, and the closing greater than.

Supported API: true

Overrides:
startComponent in class DefaultLinkComponent

getDataUrl

protected String getDataUrl(ContentHolder contentHolder,
                            ContentItem contentItem,
                            OutputStream os,
                            Locale locale)
Deprecated. 

getVisualizationLink

public String getVisualizationLink(Representable rep)
                            throws WTException
Deprecated. 
Throws:
WTException

getVisualizationLink

public String getVisualizationLink(Representable rep,
                                   Locale locale)
                            throws WTException
Deprecated. 
Throws:
WTException

useConfigSpec

private boolean useConfigSpec(Properties formData)
Deprecated. 

getVisualizationHelper

private VisualizationHelperIfc getVisualizationHelper()
                                               throws ClassNotFoundException,
                                                      InvocationTargetException,
                                                      NoSuchMethodException,
                                                      IOException,
                                                      IllegalAccessException
Deprecated. 
Throws:
ClassNotFoundException
InvocationTargetException
NoSuchMethodException
IOException
IllegalAccessException

getTag

public String getTag()
Deprecated. 
Description copied from class: HTMLLinkComponent


Supported API: true

Overrides:
getTag in class HTMLLinkComponent
Returns:
String

setTag

public void setTag(String a_Tag)
Deprecated. 
Description copied from class: HTMLComponent
Sets the value of the attribute: tag.

Supported API: true

Overrides:
setTag in class HTMLComponent
Parameters:
a_Tag -

getPreference

protected String getPreference(String preferenceRoot,
                               String preferenceKey,
                               String preferenceDefault)
Deprecated. 

getPreference

protected String getPreference(String preferenceKey,
                               String preferenceDefault)
Deprecated.