com.ibm.tivoli.maximo.amcrew.app

Class AMCrewToolSet

  • java.lang.Object
    • Constructor Detail

      • AMCrewToolSet

        public AMCrewToolSet(MboServerInterface ms)
                      throws java.rmi.RemoteException
        Parameters:
        ms -
        Throws:
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Description copied from class: MboSet
        Factory to create the business objects This must be overridden in derived class
        Specified by:
        getMboInstance in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException
      • createAMCrewTool

        public void createAMCrewTool(MboRemote unrestrictedMbo,
                                     MboRemote owner,
                                     boolean fromNewRow,
                                     java.lang.String dialogID)
                              throws MXException,
                                     java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • checkExistingTools

        public void checkExistingTools(MboRemote unrestrictedMbo,
                                       MboRemote owner)
                                throws MXException,
                                       java.rmi.RemoteException
        Checks to see if the unrestirctedMbo's asset already exists in the current tools set based on the assetnumber and the effective date. Throws error if the effectivedate is in the same asset effectivedate and end date.
        Parameters:
        unrestrictedMbo -
        owner -
        Throws:
        MXException
        java.rmi.RemoteException
      • removeToolAssignment

        public MboSetRemote removeToolAssignment(MboRemote unrestrictedMbo,
                                                 MboRemote amCrewTool,
                                                 java.lang.String dialogID,
                                                 MboRemote collision)
                                          throws MXException,
                                                 java.rmi.RemoteException
        Modifies existing records based on collisions found based on the unrestrictedMbo.
        Parameters:
        unrestrictedMbo -
        amCrewTool -
        dialogID -
        collision - If the Mbo of the collision is already found, pass it in. This is only used when the unrestrictedMbo is based on AMCREWTOOL, otherwise pass null
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • createAMCrewToolForRemove

        public void createAMCrewToolForRemove(MboRemote unrestrictedMbo,
                                              MboRemote amCrewTool,
                                              java.lang.String dialogID)
                                       throws MXException,
                                              java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • checkSetInMemory

        public boolean checkSetInMemory(MboRemote unrestrictedMbo,
                                        MboSetRemote foundCollisions,
                                        boolean findAnyOverlap)
                                 throws MXException,
                                        java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • setFromNewRow

        public void setFromNewRow(boolean fromNewRow)
                           throws java.rmi.RemoteException
        Specified by:
        setFromNewRow in interface AMCrewToolSetRemote
        Throws:
        java.rmi.RemoteException
      • isFromNewRow

        public boolean isFromNewRow()
                             throws java.rmi.RemoteException
        Throws:
        java.rmi.RemoteException
      • updateStatusTableViewStatusDialog

        public void updateStatusTableViewStatusDialog()
                                               throws MXException,
                                                      java.rmi.RemoteException
        Loops through the requirements to see if the requirements have been fulfilled.
        Throws:
        MXException
        java.rmi.RemoteException