psdi.app.item

Class ItemConditionSet

    • Method Detail

      • canAdd

        public void canAdd()
                    throws MXException
        Can an object be added to the ItemCondtionSet? If the owner of ItemCondition is not Item, stop the process.
        Overrides:
        canAdd in class MboSet
        Throws:
        MXApplicationException(item","cannotAddItemCondition) - is thrown when owner of this mboset is not item. Throw MXApplicationException(item","itemIsNotConditionEnabled") if item is not condition enabled and a new row is clicked on this set.
        MXException
      • OneHundrePercentFound

        public boolean OneHundrePercentFound(MboRemote currentMbo)
                                      throws MXException,
                                             java.rmi.RemoteException
        Returns true if at least one of the records in the set is a already a 100 percent condition rate. false if none of the records in the set is 100 percent rate. Assumes that all are of the same itemnum and itemset id
        Parameters:
        when - checking the 100 percent rate from the set, bypass the mbo specified by the mboIndexToExclude.
        Throws:
        MXException
        java.rmi.RemoteException
      • OneAndOnlyOne100PercentRate

        public int OneAndOnlyOne100PercentRate()
                                        throws MXException,
                                               java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException