psdi.app.inventory

Class InvUseSet

    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Generate a new InvUse object
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms -
        Returns:
        Mbo
        Throws:
        none
        MXException
        java.rmi.RemoteException
      • addInvUse

        public MboRemote addInvUse(MboRemote owner,
                                   java.lang.String useType)
                            throws MXException,
                                   java.rmi.RemoteException
        This method create InvUse record. This method is called from MXAMInvReserve, MXAMMatUseTrans and MXAMMatRecTrans objects.
        Specified by:
        addInvUse in interface InvUseSetRemote
        Parameters:
        Owner - The owner( MXAMMatUseTrans/MXAMMatRecTrans) Mbo
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.mxam.app.inventory.InvUseSet#addInvUse(MboRemote, String)
      • getExternalValues

        public java.lang.String getExternalValues(java.lang.String listName,
                                                  java.lang.String internalValue,
                                                  java.lang.String siteID,
                                                  java.lang.String orgID)
                                           throws MXException,
                                                  java.rmi.RemoteException
        Returns the external list of synonyms for a given valuelist and maxvalue (+ site and org).
        Specified by:
        getExternalValues in interface InvUseSetRemote
        Parameters:
        listName - Name of the ValueList
        internalValue - The MaxValue to get synonyms for
        siteID - The Site to get the synonyms for.
        orgID - The organization to get the synonyms for.
        Returns:
        The comma, quoted list.
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.mxam.app.inventory.InvUseSet#getExternalValues(String, String, String, String)
      • setUserPreference

        public void setUserPreference()
                               throws MXException,
                                      java.rmi.RemoteException
        Throws:
        MXException
        java.rmi.RemoteException
      • initUserPreference

        public void initUserPreference()
                                throws MXException,
                                       java.rmi.RemoteException
        This method initializes the user preferences to be displayed on UI.
        Specified by:
        initUserPreference in interface InvUseSetRemote
        Throws:
        MXException
        java.rmi.RemoteException
        See Also:
        psdi.mxam.app.inventory.InvUseSet#initUserPreference()