public class SACommonWOSR
extends java.lang.Object
| Constructor and Description |
|---|
SACommonWOSR() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasPromptedAndCancelled(UserInfo userInfo) |
static boolean |
isUsingAssetsSA(UserInfo userInfo) |
static boolean |
isUsingLocationsSA(UserInfo userInfo) |
static int |
promptSAReplacement(UserInfo userInfo,
AddressableMbo addressable,
AddressableMbo targetMbo,
java.lang.String msgGroup,
java.lang.String msgKey,
java.lang.String inputId) |
static int |
promptSAReplaceWithAssets(UserInfo userInfo,
Asset asset,
AddressableMbo addrmbo) |
static int |
promptSAReplaceWithLocation(UserInfo userInfo,
Location location,
AddressableMbo mbo) |
void |
setAttachedSAChanged(Mbo mbo)
This method updates the flag saying this record was updated and clears the ADDRESSCODE FIELD.
|
public static boolean isUsingLocationsSA(UserInfo userInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic static boolean isUsingAssetsSA(UserInfo userInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic static boolean hasPromptedAndCancelled(UserInfo userInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic static int promptSAReplaceWithAssets(UserInfo userInfo, Asset asset, AddressableMbo addrmbo) throws java.rmi.RemoteException, MXApplicationYesNoCancelException, MXException
java.rmi.RemoteExceptionMXApplicationYesNoCancelExceptionMXExceptionpublic static int promptSAReplaceWithLocation(UserInfo userInfo, Location location, AddressableMbo mbo) throws java.rmi.RemoteException, MXApplicationYesNoCancelException, MXException
java.rmi.RemoteExceptionMXApplicationYesNoCancelExceptionMXExceptionpublic static int promptSAReplacement(UserInfo userInfo, AddressableMbo addressable, AddressableMbo targetMbo, java.lang.String msgGroup, java.lang.String msgKey, java.lang.String inputId) throws java.rmi.RemoteException, MXApplicationYesNoCancelException, MXException
userInfo - addressable - targetMbo - msgGroup - msgKey - inputId - java.rmi.RemoteExceptionMXApplicationYesNoCancelExceptionMXExceptionpublic void setAttachedSAChanged(Mbo mbo) throws java.rmi.RemoteException, MXException
mbo - java.rmi.RemoteExceptionMXException