com.ibm.tivoli.maximo.amcrew.app

Class AMCTQualificationSet

  • java.lang.Object
    • Constructor Detail

      • AMCTQualificationSet

        public AMCTQualificationSet(MboServerInterface ms)
                             throws java.rmi.RemoteException
        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
      • findByPosition

        public MboRemote findByPosition(java.lang.String position)
                                 throws MXException,
                                        java.rmi.RemoteException
        Find a CTqualification mbo whose Position attribute value matches position.
        Specified by:
        findByPosition in interface AMCTQualificationSetRemote
        Parameters:
        position - the position value
        Returns:
        the mbo that matches, or null.
        Throws:
        MXException
        java.rmi.RemoteException
      • adjustCraftQuantities

        public void adjustCraftQuantities(int quantity)
                                   throws MXException,
                                          java.rmi.RemoteException
        Adjust the quantity fields for the mbos for which the current quantity atrribute value exceeds quantity.
        Specified by:
        adjustCraftQuantities in interface AMCTQualificationSetRemote
        Parameters:
        quantity - the quantity value
        Throws:
        MXException
        java.rmi.RemoteException
      • findByAttributeWithTool

        public MboRemote findByAttributeWithTool(java.lang.String attrName,
                                                 java.lang.String attrValue,
                                                 boolean includeDeleted)
                                          throws MXException,
                                                 java.rmi.RemoteException
        Finds a CTQualification mbo whose attribute value matches attrValue and is associated with a tool.
        Specified by:
        findByAttributeWithTool in interface AMCTQualificationSetRemote
        Parameters:
        attrName - the name of the attribute on which to do the match
        attrValue - the matching value
        includeDeleted - tells if "toBeDeleted" mbos should me included in the search
        Returns:
        the first mbo that matches.
        Throws:
        MXException
        java.rmi.RemoteException