com.ptc.windchill.cadx.caddoc
Class NavBarForumActionDelegate

java.lang.Object
  extended bywt.workflow.forum.ForumActionDelegate
      extended bycom.ptc.windchill.cadx.caddoc.NavBarForumActionDelegate
All Implemented Interfaces:
ActionDelegate, NavBarActionDelegate, Serializable

public class NavBarForumActionDelegate
extends ForumActionDelegate
implements NavBarActionDelegate, 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.ForumActionDelegate
CONTEXT_SERVICE_NAME
 
Fields inherited from interface wt.enterprise.ActionDelegate
CONTEXT_SERVICE_NAME
 
Constructor Summary
NavBarForumActionDelegate()
           
 
Method Summary
 void setActionName(String action)
          Sets the current Action.
 void setState(HTTPState state)
          Deprecated.  
 Boolean valid(Object object)
          Tests if the action is valid on all instances of the class of object; commonly used in the construction of dynamically generated GUIs to determine if a particular action should appear.
 
Methods inherited from class wt.workflow.forum.ForumActionDelegate
enableable, getContextServiceName, setContextServiceName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface wt.enterprise.ActionDelegate
enableable, getContextServiceName
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

NavBarForumActionDelegate

public NavBarForumActionDelegate()
Method Detail

setState

public void setState(HTTPState state)
Deprecated.  

Sets the current HTTPState from the TemplateProcessor that is being used to generate the Navigation Bar.

Supported API: true

Specified by:
setState in interface NavBarActionDelegate
Parameters:
state - The current HTTPState.
Returns:
void

setActionName

public void setActionName(String action)
                   throws WTPropertyVetoException
Sets the current Action. This is a bit of a kludge to allow re-using existing ActionDelegates

Supported API: false

Supported API: false

Supported API: false

Specified by:
setActionName in interface NavBarActionDelegate
Parameters:
action -
Returns:
void
Throws:
WTPropertyVetoException

valid

public Boolean valid(Object object)
Description copied from interface: ActionDelegate
Tests if the action is valid on all instances of the class of object; commonly used in the construction of dynamically generated GUIs to determine if a particular action should appear. For instance, the valid method of the "check-in" action will test if the object is "Workable" or not.

Supported API: true

Specified by:
valid in interface ActionDelegate
Overrides:
valid in class ForumActionDelegate
Parameters:
object - The object that you want to test validity on.
Returns:
Boolean