wt.templateutil.processor
Class DelegateNavBarURLActionDelegate

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

public class DelegateNavBarURLActionDelegate
extends Object
implements NavBarURLActionDelegate



Supported API: true

Extendable: false


Field Summary
private  String action
           
static String ACTION_PREFIX
          

Supported API: false
private  String actionName
           
private static Properties actionToActionProperties
           
private static String CLASSNAME
           
private  String classURL
           
private  String method
           
private static String RESOURCE
           
private  String resourceBundleStr
           
private  String resourceKey
           
private  HTTPState state
           
static String UPPER_ACTION_PREFIX
          

Supported API: false
private  String urlAction
           
private  URLActionDelegate urlActionDelegate
           
 
Fields inherited from interface wt.enterprise.URLActionDelegate
ACTION_NAME, CLASS_URL
 
Constructor Summary
DelegateNavBarURLActionDelegate()
           
 
Method Summary
private  void actionNameValidate(String a_ActionName)
           
private  void classURLValidate(String a_ClassURL)
           
 String getAction()
          Gets the value of the attribute: action.
 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.
static Properties getActionToActionProperties()
          Gets the value of the attribute: actionToActionProperties.
 String getClassURL()
          Gets the value of the attribute: classURL.
 String getMethod()
          Gets the value of the attribute: method.
 String getResourceBundleStr()
          Gets the value of the attribute: resourceBundleStr.
 String getResourceKey()
          Gets the value of the attribute: resourceKey.
 HTTPState getState()
          Gets the value of the attribute: state.
 String getUrlAction()
          Gets the value of the attribute: urlAction.
 URLActionDelegate getUrlActionDelegate()
          Gets the value of the attribute: urlActionDelegate.
 URLActionDelegate getURLActionDelegate()
          

Supported API: false
 String getURLLabel(Locale locale)
          Deprecated.  
 boolean isURLProvider(HashMap queryValueMap, Object object)
          Deprecated.  
 void setAction(String a_Action)
          Sets the value of the attribute: action.
 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.
static void setActionToActionProperties(Properties a_ActionToActionProperties)
          Sets the value of the attribute: actionToActionProperties.
 void setClassURL(String a_ClassURL)
          Sets the value of the attribute: classURL.
 void setMethod(String a_Method)
          Sets the value of the attribute: method.
 void setResourceBundleStr(String a_ResourceBundleStr)
          Sets the value of the attribute: resourceBundleStr.
 void setResourceKey(String a_ResourceKey)
          Sets the value of the attribute: resourceKey.
 void setState(HTTPState a_State)
          Sets the value of the attribute: state.
 void setUrlAction(String a_UrlAction)
          Sets the value of the attribute: urlAction.
 void setUrlActionDelegate(URLActionDelegate a_UrlActionDelegate)
          Sets the value of the attribute: urlActionDelegate.
 String URL(Object object)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

actionToActionProperties

private static Properties actionToActionProperties

action

private String action

urlAction

private String urlAction

state

private HTTPState state

urlActionDelegate

private URLActionDelegate urlActionDelegate

method

private String method

resourceBundleStr

private String resourceBundleStr

ACTION_PREFIX

public static final String ACTION_PREFIX


Supported API: false

See Also:
Constant Field Values

UPPER_ACTION_PREFIX

public static final String UPPER_ACTION_PREFIX


Supported API: false

See Also:
Constant Field Values

resourceKey

private String resourceKey

actionName

private String actionName

classURL

private String classURL
Constructor Detail

DelegateNavBarURLActionDelegate

public DelegateNavBarURLActionDelegate()
Method Detail

getActionToActionProperties

public static Properties getActionToActionProperties()
Gets the value of the attribute: actionToActionProperties.

Supported API: false

Returns:
Properties

setActionToActionProperties

public static void setActionToActionProperties(Properties a_ActionToActionProperties)
Sets the value of the attribute: actionToActionProperties.

Supported API: false

Parameters:
a_ActionToActionProperties -

getAction

public String getAction()
Gets the value of the attribute: action.

Supported API: false

Returns:
String

setAction

public void setAction(String a_Action)
Sets the value of the attribute: action.

Supported API: false

Parameters:
a_Action -

getUrlAction

public String getUrlAction()
Gets the value of the attribute: urlAction.

Supported API: false

Returns:
String

setUrlAction

public void setUrlAction(String a_UrlAction)
Sets the value of the attribute: urlAction.

Supported API: false

Parameters:
a_UrlAction -

getState

public HTTPState getState()
Gets the value of the attribute: state.

Supported API: false

Returns:
HTTPState

setState

public void setState(HTTPState a_State)
Sets the value of the attribute: state.

Supported API: false

Specified by:
setState in interface NavBarURLActionDelegate
Parameters:
a_State -

getUrlActionDelegate

public URLActionDelegate getUrlActionDelegate()
Gets the value of the attribute: urlActionDelegate.

Supported API: false

Returns:
URLActionDelegate

setUrlActionDelegate

public void setUrlActionDelegate(URLActionDelegate a_UrlActionDelegate)
Sets the value of the attribute: urlActionDelegate.

Supported API: false

Parameters:
a_UrlActionDelegate -

getMethod

public String getMethod()
Gets the value of the attribute: method.

Supported API: false

Returns:
String

setMethod

public void setMethod(String a_Method)
Sets the value of the attribute: method.

Supported API: false

Specified by:
setMethod in interface NavBarURLActionDelegate
Parameters:
a_Method -

getResourceBundleStr

public String getResourceBundleStr()
Gets the value of the attribute: resourceBundleStr.

Supported API: false

Returns:
String

setResourceBundleStr

public void setResourceBundleStr(String a_ResourceBundleStr)
Sets the value of the attribute: resourceBundleStr.

Supported API: false

Specified by:
setResourceBundleStr in interface NavBarURLActionDelegate
Parameters:
a_ResourceBundleStr -

getResourceKey

public String getResourceKey()
Gets the value of the attribute: resourceKey.

Supported API: false

Returns:
String

setResourceKey

public void setResourceKey(String a_ResourceKey)
Sets the value of the attribute: resourceKey.

Supported API: false

Specified by:
setResourceKey in interface NavBarURLActionDelegate
Parameters:
a_ResourceKey -

getURLActionDelegate

public URLActionDelegate getURLActionDelegate()


Supported API: false

Returns:
URLActionDelegate

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 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

actionNameValidate

private void actionNameValidate(String a_ActionName)
                         throws WTPropertyVetoException
Parameters:
a_ActionName -
Throws:
WTPropertyVetoException

getClassURL

public String getClassURL()
Gets the value of the attribute: classURL.

Supported API: false

Specified by:
getClassURL in interface URLActionDelegate
Returns:
String

setClassURL

public void setClassURL(String a_ClassURL)
                 throws WTPropertyVetoException
Sets the value of the attribute: classURL.

Supported API: false

Specified by:
setClassURL in interface URLActionDelegate
Parameters:
a_ClassURL -
Throws:
WTPropertyVetoException

classURLValidate

private void classURLValidate(String a_ClassURL)
                       throws WTPropertyVetoException
Parameters:
a_ClassURL -
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