com.ptc.windchill.cadx.caddoc
Class NavBarURLForumActionDelegate

java.lang.Object
  extended bywt.workflow.forum.ForumActionDelegate
      extended bywt.workflow.forum.ForumURLActionDelegate
          extended bycom.ptc.windchill.cadx.caddoc.NavBarURLForumActionDelegate
All Implemented Interfaces:
ActionDelegate, NavBarURLActionDelegate, Serializable, URLActionDelegate

public class NavBarURLForumActionDelegate
extends ForumURLActionDelegate
implements NavBarURLActionDelegate, Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.workflow.forum.ForumURLActionDelegate
 
Fields inherited from class wt.workflow.forum.ForumActionDelegate
CONTEXT_SERVICE_NAME
 
Fields inherited from interface wt.enterprise.URLActionDelegate
ACTION_NAME, CLASS_URL
 
Constructor Summary
NavBarURLForumActionDelegate()
           
 
Method Summary
 boolean isURLProvider(HashMap queryValueMap, Object object)
          Deprecated.  
 void setMethod(String method)
          Deprecated.  
 void setResourceBundleStr(String resourceBundle)
          Sets the name of the fully qualified classname of the resource bundle to use.
 void setResourceKey(String key)
          Sets the integer reference of the entry to use in the Resource Bundle specified be the getResourceBundleStr call

Supported API: false

Supported API: false

Supported API: false
 void setState(HTTPState state)
          Sets the value of the current HTTPState object being used in the current TemplateProcessor

Supported API: false

Supported API: false

Supported API: false
 String URL(Object object)
          Returns a URL which when selected will perform the action on the object.
 
Methods inherited from class wt.workflow.forum.ForumURLActionDelegate
getActionName, getClassURL, getURLLabel, setActionName, setClassURL, URL
 
Methods inherited from class wt.workflow.forum.ForumActionDelegate
enableable, getContextServiceName, setContextServiceName, valid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface wt.enterprise.URLActionDelegate
getActionName, getClassURL, getURLLabel, setActionName, setClassURL
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

NavBarURLForumActionDelegate

public NavBarURLForumActionDelegate()
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 NavBarURLActionDelegate
Parameters:
queryValueMap - The Name-Value pairs from the Query String
object - The target object used to generate the Url
Returns:
boolean

setResourceKey

public void setResourceKey(String key)
Sets the integer reference of the entry to use in the Resource Bundle specified be the getResourceBundleStr call

Supported API: false

Supported API: false

Supported API: false

Specified by:
setResourceKey in interface NavBarURLActionDelegate
Parameters:
key - The integer value of the key in the resource bundle to use to generate localized label for the link

setResourceBundleStr

public void setResourceBundleStr(String resourceBundle)
Sets the name of the fully qualified classname of the resource bundle to use. This will be the resource bundle used to generate the localized text used for the getURLLabel method.

Supported API: false

Supported API: false

Supported API: false

Specified by:
setResourceBundleStr in interface NavBarURLActionDelegate
Parameters:
resourceBundle - The target resource bundle to use generate localized label for the link

setState

public void setState(HTTPState state)
Sets the value of the current HTTPState object being used in the current TemplateProcessor

Supported API: false

Supported API: false

Supported API: false

Specified by:
setState in interface NavBarURLActionDelegate
Parameters:
state - The current HTTPState instance

setMethod

public void setMethod(String method)
Deprecated.  

Sets the method in URLAction to specify on the URL

Supported API: true

Specified by:
setMethod in interface NavBarURLActionDelegate
Parameters:
method - Name of a Gateway Method from URLProcessor

URL

public String URL(Object object)
           throws WTException
Description copied from interface: URLActionDelegate
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
Overrides:
URL in class ForumURLActionDelegate
Parameters:
object -
Returns:
String
Throws:
WTException