com.ibm.tivoli.maximo.srvad.app.common

Class WOTKTCommonFld

  • java.lang.Object
    • com.ibm.tivoli.maximo.srvad.app.common.WOTKTCommonFld


  • public class WOTKTCommonFld
    extends java.lang.Object
    Common code for WO and Ticket for handling asset and location field classes.
    • Constructor Detail

      • WOTKTCommonFld

        public WOTKTCommonFld()
    • Method Detail

      • needsToConfirmLocation

        public boolean needsToConfirmLocation(UserInfo userInfo)
        Checks if replacement of SA with Locations SA prompt is needed
        Parameters:
        userInfo -
        Returns:
      • confirmLocation

        public void confirmLocation(MboValue mboValue,
                                    MboRemote locWithNoSiteid)
                             throws java.rmi.RemoteException,
                                    MXException
        Used when the location cannot be retrieved directly using the relationship.
        Parameters:
        mboValue -
        locWithNoSiteid -
        Throws:
        java.rmi.RemoteException
        MXException
      • confirmLocation

        public void confirmLocation(MboValue mboValue)
                             throws java.rmi.RemoteException,
                                    MXException
        Prompts the user to confirm if he wants to replace the current SA with the Locations SA
        Parameters:
        mboValue -
        Throws:
        java.rmi.RemoteException
        MXException
      • executeAction

        public void executeAction(MboValue mboValue)
                           throws MXException,
                                  java.rmi.RemoteException
        After all actions are defined it just executes what ever is needed with the SA selected by the user
        Parameters:
        mboValue -
        Throws:
        MXException
        java.rmi.RemoteException
      • confirmAsset

        public void confirmAsset(MboValue mboValue)
                          throws MXException,
                                 java.rmi.RemoteException
        Prompts the user to confirm if he wants to replace the current SA with the Asset's SA
        Parameters:
        mboValue -
        Throws:
        java.rmi.RemoteException
        MXException
      • confirmAsset

        public void confirmAsset(MboValue mboValue,
                                 MboRemote assetRetrievedWithoutSiteId)
                          throws MXException,
                                 java.rmi.RemoteException
        Used when the Asset cannot be retrieved directly using the relationship.
        Parameters:
        mboValue -
        locWithNoSiteid -
        Throws:
        java.rmi.RemoteException
        MXException
      • needsToConfirmAsset

        public boolean needsToConfirmAsset(UserInfo userInfo)
        Checks if replacement of SA with Assets SA prompt is needed
        Parameters:
        userInfo -
        Returns:
      • executeNonInteractiveFlow

        public void executeNonInteractiveFlow(MboValue mboValue)
                                       throws MXException,
                                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • confirmReplacementByAssetOrDelete

        public int confirmReplacementByAssetOrDelete(MboValue assetMboValue)
                                              throws java.rmi.RemoteException,
                                                     MXException
        Throws:
        java.rmi.RemoteException
        MXException
      • confirmReplacementByLocationsOrDelete

        public int confirmReplacementByLocationsOrDelete(MboValue locationMboValue)
                                                  throws java.rmi.RemoteException,
                                                         MXException
        Throws:
        java.rmi.RemoteException
        MXException