com.ptc.windchill.enterprise.change2.dataUtilities
Class AutomateFastTrackDataUtility
java.lang.Object
com.ptc.core.components.factory.AbstractDataUtility
com.ptc.windchill.enterprise.change2.dataUtilities.AutomateFastTrackDataUtility
- All Implemented Interfaces:
- com.ptc.core.components.descriptor.DataUtility
public class AutomateFastTrackDataUtility
- extends com.ptc.core.components.factory.AbstractDataUtility
This class is responsible for rendering the "Automate Fast Track" GUI
component for JSP pages. It is thread safe, because it does not contain
internal state (except for a logger and the AutomateFastTrack string
resources).
Supported API: true
Extendable: false
|
Method Summary |
Object |
getDataValue(String componentId,
Object datum,
com.ptc.core.components.descriptor.ModelContext mc)
This method takes in a componentId (as string), a WorkItem (cast to an Object),
and a ModelContext. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getDataValue
public Object getDataValue(String componentId,
Object datum,
com.ptc.core.components.descriptor.ModelContext mc)
throws WTException
- This method takes in a componentId (as string), a WorkItem (cast to an Object),
and a ModelContext. The null pointer is returned when the user's preferences
disable the operation (/wt/workflow/work/automateFastTrack), when the componentId
is not valid (see below), or when the ModelContext is null or invalid. In all
other cases, a valid CheckBox is returned. This method should not be called
with any other componentId except for the string identifying the AUTOMATE_FASTTRACK
as defined in the resource com.ptc.windchill.enterprise.change2.ChangeManagementDescriptorConstants
class. The resource com.ptc.windchill.enterprise.change2.change2ClientResource defines
what text will label the check box.
Supported API: true
- Throws:
WTException