psdi.app.pm

Interface PMServiceRemote

    • Field Detail

      • crtPARENT

        static final java.lang.String crtPARENT
        Criteria for Parent PM.
        A PM can be a parent if pm.route == null and is not this same PM(it cannot be parent for itself) or one of its children, creating a loop in the hierarchy structure.
        See Also:
        Constant Field Values
    • Method Detail

      • genPMsFromMasterAsset

        PMSetRemote genPMsFromMasterAsset(AssetRemote myAssetMbo)
                                   throws MXException,
                                          java.rmi.RemoteException
        Given an asset mbo, generate PMs from master PMs. Used by Apply IAS.

        Get the set of PMs where itemnum = asset.itemnum, (If assetnum is not null, subquery ensures that we didn't already create this one.) Get another set of PM (which will probably be empty) belonging to asset mbo.
        Loop through the master PMs.
        For each, add a member to the asset's set of PMs.
        For each added member, set remaining values via pm.setupPMFromMaster.
        Return the set of new PMs.

        Parameters:
        myAssetMbo - the piece of asset for which PMs are being generated
        Returns:
        the set of newly added PMs which were generated from master
        Throws:
        MXException
        java.rmi.Remote - Exception
        java.rmi.RemoteException
      • meterBasedAutoWogen

        void meterBasedAutoWogen(MboRemote assetlocMbo)
                          throws MXException,
                                 java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • generateWorkNoPMSetReturn

        void generateWorkNoPMSetReturn(UserInfo ui,
                                       java.util.Enumeration enumit,
                                       boolean useFreq,
                                       int leadtime,
                                       java.lang.String repairFac,
                                       java.lang.String repSite,
                                       boolean useAssetDef)
                                throws MXException,
                                       java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.pm.PMService#generateWorkNoPMSetReturn(UserInfo, Enumeration, boolean, int, String, String)