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.RemoteException
MXException
public static boolean isUsingAssetsSA(UserInfo userInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static boolean hasPromptedAndCancelled(UserInfo userInfo) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public static int promptSAReplaceWithAssets(UserInfo userInfo, Asset asset, AddressableMbo addrmbo) throws java.rmi.RemoteException, MXApplicationYesNoCancelException, MXException
java.rmi.RemoteException
MXApplicationYesNoCancelException
MXException
public static int promptSAReplaceWithLocation(UserInfo userInfo, Location location, AddressableMbo mbo) throws java.rmi.RemoteException, MXApplicationYesNoCancelException, MXException
java.rmi.RemoteException
MXApplicationYesNoCancelException
MXException
public 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.RemoteException
MXApplicationYesNoCancelException
MXException
public void setAttachedSAChanged(Mbo mbo) throws java.rmi.RemoteException, MXException
mbo
- java.rmi.RemoteException
MXException