public class WOTKTCommonFld
extends java.lang.Object
| Constructor and Description | 
|---|
| WOTKTCommonFld() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | confirmAsset(MboValue mboValue)Prompts the user to confirm if he wants to replace the current SA with the Asset's SA | 
| void | confirmAsset(MboValue mboValue,
            MboRemote assetRetrievedWithoutSiteId)Used when the Asset cannot be retrieved directly using the relationship. | 
| void | confirmLocation(MboValue mboValue)Prompts the user to confirm if he wants to replace the current SA with the Locations SA | 
| void | confirmLocation(MboValue mboValue,
               MboRemote locWithNoSiteid)Used when the location cannot be retrieved directly using the relationship. | 
| int | confirmReplacementByAssetOrDelete(MboValue assetMboValue) | 
| int | confirmReplacementByLocationsOrDelete(MboValue locationMboValue) | 
| void | executeAction(MboValue mboValue)After all actions are defined it just executes what ever is needed with the SA selected by the user | 
| void | executeNonInteractiveFlow(MboValue mboValue) | 
| boolean | hasPromptedAndCancelled(UserInfo userInfo)Checks if user has cancelled to any of the prompted msgs | 
| boolean | needsToConfirmAsset(UserInfo userInfo)Checks if replacement of SA with Assets SA prompt is needed | 
| boolean | needsToConfirmLocation(UserInfo userInfo)Checks if replacement of SA with Locations SA prompt is needed | 
| void | reset()Reset its state | 
public boolean hasPromptedAndCancelled(UserInfo userInfo) throws MXApplicationYesNoCancelException, java.rmi.RemoteException, MXException
MXApplicationYesNoCancelExceptionjava.rmi.RemoteExceptionMXExceptionpublic boolean needsToConfirmLocation(UserInfo userInfo)
userInfo - public void confirmLocation(MboValue mboValue, MboRemote locWithNoSiteid) throws java.rmi.RemoteException, MXException
mboValue - locWithNoSiteid - java.rmi.RemoteExceptionMXExceptionpublic void confirmLocation(MboValue mboValue) throws java.rmi.RemoteException, MXException
mboValue - java.rmi.RemoteExceptionMXExceptionpublic void executeAction(MboValue mboValue) throws MXException, java.rmi.RemoteException
mboValue - MXExceptionjava.rmi.RemoteExceptionpublic void confirmAsset(MboValue mboValue) throws MXException, java.rmi.RemoteException
mboValue - java.rmi.RemoteExceptionMXExceptionpublic void confirmAsset(MboValue mboValue, MboRemote assetRetrievedWithoutSiteId) throws MXException, java.rmi.RemoteException
mboValue - locWithNoSiteid - java.rmi.RemoteExceptionMXExceptionpublic boolean needsToConfirmAsset(UserInfo userInfo)
userInfo - public void reset()
           throws MXException
MXExceptionpublic void executeNonInteractiveFlow(MboValue mboValue) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int confirmReplacementByAssetOrDelete(MboValue assetMboValue) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic int confirmReplacementByLocationsOrDelete(MboValue locationMboValue) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXException