wt.clients.part
Class WTSerialNumberedPartMasterTaskDelegate
java.lang.Object
wt.clients.util.TaskDelegate
wt.clients.part.WTPartMasterTaskDelegate
wt.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
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.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 |
WTSerialNumberedPartMasterTaskDelegate
public WTSerialNumberedPartMasterTaskDelegate()
- Create the task delegate.
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