wt.workflow.work
Class AssociatedProcessName

java.lang.Object
  extended bywt.workflow.work.AssociatedProcessName
All Implemented Interfaces:
TableField

public class AssociatedProcessName
extends Object
implements TableField

Class AssociatedProcessName is used to create a table entry in a table constructed by an AssociatedProcessProcessor. It can supply a column header for "Associated Processes" and a link to view the specified workflow process in the Process Manager.



Supported API: false

Extendable: true


Field Summary
private  Locale myLocale
           
private  WfProcess myProcess
           
private static ResourceBundle rb
           
private static String RESOURCE
           
private static boolean VERBOSE
           
 
Constructor Summary
AssociatedProcessName()
           
 
Method Summary
 String getColumnName()
          Localized column header for the link to the Process manager for this workflow process
 Locale getLocale()
          Get the current locale, returns the WTContext locale by default
 WfProcess getProcess()
          Get the current process context
 String getValue()
          Returns a link to the Process Manager for this workflow process.
 void setContextObject(WTObject object)
          Set the current WfProcess context object
 void setLocale(Locale locale)
          Sets the current locale
 
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

rb

private static ResourceBundle rb

myLocale

private Locale myLocale

VERBOSE

private static boolean VERBOSE

myProcess

private WfProcess myProcess
Constructor Detail

AssociatedProcessName

public AssociatedProcessName()
Method Detail

setContextObject

public void setContextObject(WTObject object)
Set the current WfProcess context object

Specified by:
setContextObject in interface TableField

getProcess

public WfProcess getProcess()
Get the current process context


getValue

public String getValue()
Returns a link to the Process Manager for this workflow process. The tag for the link is the name of the workflow process. If the process name is null, return an html blank-space tag.

Specified by:
getValue in interface TableField
Returns:
HTML LINK to the Process Manger

getColumnName

public String getColumnName()
Localized column header for the link to the Process manager for this workflow process

Specified by:
getColumnName in interface TableField
Returns:
workflow process column header

setLocale

public void setLocale(Locale locale)
Sets the current locale


getLocale

public Locale getLocale()
Get the current locale, returns the WTContext locale by default