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
MXApplicationYesNoCancelException
java.rmi.RemoteException
MXException
public boolean needsToConfirmLocation(UserInfo userInfo)
userInfo
- public void confirmLocation(MboValue mboValue, MboRemote locWithNoSiteid) throws java.rmi.RemoteException, MXException
mboValue
- locWithNoSiteid
- java.rmi.RemoteException
MXException
public void confirmLocation(MboValue mboValue) throws java.rmi.RemoteException, MXException
mboValue
- java.rmi.RemoteException
MXException
public void executeAction(MboValue mboValue) throws MXException, java.rmi.RemoteException
mboValue
- MXException
java.rmi.RemoteException
public void confirmAsset(MboValue mboValue) throws MXException, java.rmi.RemoteException
mboValue
- java.rmi.RemoteException
MXException
public void confirmAsset(MboValue mboValue, MboRemote assetRetrievedWithoutSiteId) throws MXException, java.rmi.RemoteException
mboValue
- locWithNoSiteid
- java.rmi.RemoteException
MXException
public boolean needsToConfirmAsset(UserInfo userInfo)
userInfo
- public void reset() throws MXException
MXException
public void executeNonInteractiveFlow(MboValue mboValue) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int confirmReplacementByAssetOrDelete(MboValue assetMboValue) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public int confirmReplacementByLocationsOrDelete(MboValue locationMboValue) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException