psdi.app.inventory.virtual

Class AssetInput

    • Constructor Detail

      • AssetInput

        public AssetInput(MboSet ms)
                   throws MXException,
                          java.rmi.RemoteException
        Construct the AssetInput Mbo.
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • init

        public void init()
                  throws MXException
        Description copied from class: Mbo
        Called by the framework when the Mbo has been constructed and the MboValues have been initialized. This can be overridden by the programmer to provide any custom initialization they would like to do.
        Overrides:
        init in class Mbo
        Throws:
        MXException
      • applyIASAutoNumAll

        public void applyIASAutoNumAll()
                                throws MXException,
                                       java.rmi.RemoteException
        Auto key the rotating child asset when apply IAS is being done on this AssetInput.
        Specified by:
        applyIASAutoNumAll in interface AssetInputRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.inventory.virtual.AssetInputt#applyIASAutoNumAll
      • applyIASAutoKeyChildren

        public void applyIASAutoKeyChildren(MboSetRemote rotatingChildren)
                                     throws MXException,
                                            java.rmi.RemoteException
        Recursively get the rotating children, telling each child to autokey new asset, and setting the assetnum to "0" to trigger the field validation FldItemStructAssetnum.
        Parameters:
        rotatingChildren - the mboset(ItemStructSet) where autokey will be done for new asset.
        Throws:
        MXException
        java.rmi.RemoteException
      • applyIASCreateChild

        public MboRemote applyIASCreateChild(MboRemote itemStruct,
                                             boolean autokey)
                                      throws MXException,
                                             java.rmi.RemoteException
        Applies IAS for the asset based on the next level rotating item specified in the passed ItemStruct; ie, create a child asset.
        Specified by:
        applyIASCreateChild in interface AssetInputRemote
        Parameters:
        itemStruct - the asset.item's rotating child.
        autokey - true to autokey the new asset and the new pms.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.inventory.virtual.AssetInputt#applyIASCreateChild
      • getIASApplied

        public boolean getIASApplied()
                              throws MXException,
                                     java.rmi.RemoteException
        Returns iasApplied to indicate if IAS has been applied on this AssetInput.
        Specified by:
        getIASApplied in interface AssetInputRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.inventory.virtual.AssetInputt#getIASApplied
      • setIASApplied

        public void setIASApplied()
                           throws MXException,
                                  java.rmi.RemoteException
        Marks the AssetInput object to indicate that IAS has been applied.
        Specified by:
        setIASApplied in interface AssetInputRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.inventory.virtual.AssetInputt#setIASApplied
      • getChildAssetCreatedViaApplyIAS

        public boolean getChildAssetCreatedViaApplyIAS()
                                                throws MXException,
                                                       java.rmi.RemoteException
        Returns true if a child asset is created as a result of apply ias upon receiving (07-13500).
        Specified by:
        getChildAssetCreatedViaApplyIAS in interface AssetInputRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.app.inventory.virtual.AssetInputt#getChildAssetCreatedViaApplyIAS