wt.clients.part
Class WTSerialNumberedPartMasterTaskDelegate

java.lang.Object
  extended bywt.clients.util.TaskDelegate
      extended bywt.clients.part.WTPartMasterTaskDelegate
          extended bywt.clients.part.WTSerialNumberedPartMasterTaskDelegate

public class WTSerialNumberedPartMasterTaskDelegate
extends WTPartMasterTaskDelegate

Class WTPartMasterTaskDelegate provides support for launching the tasks to create, update and view WTSerialNumberedPartMasters. This class should not be directly instantiated or manipulated. Instead, obtain a wt.clients.util.TaskDelegate from the wt.clients.util.TaskDelegateFactory for a specific object or class, and invoke methods on that obtained TaskDelegate.

Supported API: false

Extendable: false

See Also:
TaskDelegate, TaskDelegateFactory, WTSerialNumberedPartMaster

Field Summary
 
Fields inherited from class wt.clients.util.TaskDelegate
ACTION_KEY, OBJ_PROPS_ACTION, object, objReference, OID_KEY, parentApplet, parentFolder, parentFrame, URL_TEMPLATE_ACTION, URLPROCESSOR_CLASS
 
Constructor Summary
WTSerialNumberedPartMasterTaskDelegate()
          Create the task delegate.
 
Method Summary
 void launchDefineAlternatesTask()
          Launch the task to define alternate serial numbered parts of a given WTSerialNumberedPartMaster.
 void launchViewTask()
          Launch the task to view a given WTSerialNumberedPartMaster.
static void main(String[] args)
          A main method that demonstrates how to use this class and allows testing
 
Methods inherited from class wt.clients.part.WTPartMasterTaskDelegate
getApplet, getFrame, getObject, getVersionForMaster, launchCreateTask, launchDeleteTask, launchUpdateTask
 
Methods inherited from class wt.clients.util.TaskDelegate
confirmAction, deleteObject, displayPropertiesPage, getParentApplet, getParentFolder, getParentFrame, launchSaveAsTask, launchViewDistributionListTask, setObject, setObjectReference, setParentApplet, setParentFolder, setParentFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WTSerialNumberedPartMasterTaskDelegate

public WTSerialNumberedPartMasterTaskDelegate()
Create the task delegate.

Method Detail

launchViewTask

public void launchViewTask()
                    throws TaskDelegateException,
                           ObjectNoLongerExistsException,
                           NotAuthorizedException,
                           WTException
Launch the task to view a given WTSerialNumberedPartMaster. This method will display the HTML properties page for the master which is the context of this task delegate.

Overrides:
launchViewTask in class WTPartMasterTaskDelegate
Throws:
TaskDelegateException - if no object has been given to update or the given object is not a WTSerialNumberedPart
NotAuthorizedException - if the current user does not have permission to modify nor view the given WTSerialNumberedPart
ObjectNoLongerExistsException - the given WTSerialNumberedPart no longer exists in the database
WTException - if an error occurs preparing the given WTSerialNumberedPart for modification
See Also:
WTSerialNumberedPart, wt.part.WTSerialNumberdPartMaster

launchDefineAlternatesTask

public void launchDefineAlternatesTask()
                                throws TaskDelegateException,
                                       WTException
Launch the task to define alternate serial numbered parts of a given WTSerialNumberedPartMaster. This method will display the HTML Define Alternates form for the master that is the context for this task delegate.

Overrides:
launchDefineAlternatesTask in class WTPartMasterTaskDelegate
Throws:
TaskDelegateException
WTException

main

public static void main(String[] args)
A main method that demonstrates how to use this class and allows testing