wt.templateutil.processor
Class DelegateNavBarURLActionDelegate

java.lang.Object
  extended by wt.templateutil.processor.DelegateNavBarURLActionDelegate
All Implemented Interfaces:
URLActionDelegate, wt.templateutil.processor.NavBarURLActionDelegate

public class DelegateNavBarURLActionDelegate
extends Object
implements wt.templateutil.processor.NavBarURLActionDelegate



Supported API: true

Extendable: false


Field Summary
 
Fields inherited from interface wt.enterprise.URLActionDelegate
ACTION_NAME
 
Method Summary
 String getActionName()
          Gets the value of the attribute: actionName; The value to use when constructing the "action" query parameter for the url that is returned when calling the URL(Object object) method.
 String getURLLabel(Locale locale)
          Deprecated.  
 boolean isURLProvider(HashMap queryValueMap, Object object)
          Deprecated.  
 void setActionName(String a_ActionName)
          Sets the value of the attribute: actionName; The value to use when constructing the "action" query parameter for the url that is returned when calling the URL(Object object) method.
 String URL(Object object)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isURLProvider

public boolean isURLProvider(HashMap queryValueMap,
                             Object object)
Deprecated. 

Returns boolean flag indicating if the the current HashMap of name values pairs from the QueryString was generated by the current NavBarURLActionDelegate.

Supported API: true

Specified by:
isURLProvider in interface wt.templateutil.processor.NavBarURLActionDelegate
Parameters:
queryValueMap - The Name-Value pairs from the Query String
object - The target object used to generate the Url
Returns:
boolean

getActionName

public String getActionName()
Gets the value of the attribute: actionName; The value to use when constructing the "action" query parameter for the url that is returned when calling the URL(Object object) method.

Supported API: true

Specified by:
getActionName in interface URLActionDelegate
Returns:
String

setActionName

public void setActionName(String a_ActionName)
                   throws WTPropertyVetoException
Sets the value of the attribute: actionName; The value to use when constructing the "action" query parameter for the url that is returned when calling the URL(Object object) method.

Supported API: true

Specified by:
setActionName in interface URLActionDelegate
Parameters:
a_ActionName -
Throws:
WTPropertyVetoException

URL

public String URL(Object object)
           throws WTException
Deprecated. 

Returns a URL which when selected will perform the action on the object. This method should not be called when the concrete URLActionDelegate class is unknown. In that case, call BasicTemplateProcessor.getURLFromDelegate() instead.

Supported API: true

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

getURLLabel

public String getURLLabel(Locale locale)
Deprecated. 

Returns a localized label for a URL for the actions.

Supported API: true

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