wt.change2.htmlclient
Class ESIChangeLinkURLActionDelegate

java.lang.Object
  extended bywt.templateutil.processor.DefaultNavBarActionDelegate
      extended bywt.templateutil.processor.DefaultNavBarURLActionDelegate
          extended bywt.change2.htmlclient.ESIChangeLinkURLActionDelegate
All Implemented Interfaces:
ActionDelegate, NavBarActionDelegate, NavBarURLActionDelegate, URLActionDelegate

public class ESIChangeLinkURLActionDelegate
extends DefaultNavBarURLActionDelegate

This class is a simply Navigation URL Action Delegate used by Change Management to determine if and how a ESI Distribution Target Link should be rendered.


Field Summary
private static String DCA_ALIAS
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Fields inherited from class wt.templateutil.processor.DefaultNavBarURLActionDelegate
helper
 
Fields inherited from class wt.templateutil.processor.DefaultNavBarActionDelegate
CONTEXT_SERVICE_NAME
 
Fields inherited from interface wt.enterprise.URLActionDelegate
ACTION_NAME, CLASS_URL
 
Constructor Summary
ESIChangeLinkURLActionDelegate()
          Default no arg constructor.
 
Method Summary
 Boolean enableable(Object object)
          This method will return whether the ESI Distribution target link should show up.
 String getURLLabel(Locale locale)
          This method will return the URL Label to display for link to the ESI Distribution targets.
 String URL(Object object)
          Will return a String URL to the ESI Distribution Targets.
 
Methods inherited from class wt.templateutil.processor.DefaultNavBarURLActionDelegate
getActionName, getClassURL, getState, isURLProvider, setActionName, setClassURL, setMethod, setResourceBundleStr, setResourceKey, setState
 
Methods inherited from class wt.templateutil.processor.DefaultNavBarActionDelegate
getContextServiceName, setContextServiceName, valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DCA_ALIAS

private static final String DCA_ALIAS
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values
Constructor Detail

ESIChangeLinkURLActionDelegate

public ESIChangeLinkURLActionDelegate()
Default no arg constructor. Currently this simply calls the DefaultNavBarURLActionDelegate constructor.

Method Detail

URL

public String URL(Object object)
           throws WTException
Will return a String URL to the ESI Distribution Targets.

Specified by:
URL in interface URLActionDelegate
Overrides:
URL in class DefaultNavBarURLActionDelegate
Parameters:
object -
Returns:
String
Throws:
WTException

getURLLabel

public String getURLLabel(Locale locale)
This method will return the URL Label to display for link to the ESI Distribution targets.

Specified by:
getURLLabel in interface URLActionDelegate
Overrides:
getURLLabel in class DefaultNavBarURLActionDelegate
Parameters:
locale -
Returns:
String

enableable

public Boolean enableable(Object object)
                   throws WTException
This method will return whether the ESI Distribution target link should show up. The criteria for the link to show up is

Specified by:
enableable in interface ActionDelegate
Overrides:
enableable in class DefaultNavBarActionDelegate
Parameters:
object - The object that you wish to set enabled.
Returns:
Boolean
Throws:
WTException