psdi.app.inventory.virtual

Class InvUseChangeStatusSet

    • Constructor Detail

      • InvUseChangeStatusSet

        public InvUseChangeStatusSet(MboServerInterface ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Construct the set
        Parameters:
        ms - The MboServerInterface
        Throws:
        MXException
        java.rmi.RemoteException
    • Method Detail

      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Factory method to create an InvChangeStatus object.
        Specified by:
        getMboInstance in class MboSet
        Parameters:
        ms - The InvUseChangeStatusSet.
        Returns:
        an InvUseChangeStatusMbo object.
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboIntoSet

        protected MboSetRemote getMboIntoSet(MboRemote mbo)
                                      throws MXException,
                                             java.rmi.RemoteException
        This method returns the select Mbo in a set by itself. The MboSet should not be linked to any other set as it will be used to change status and will be saved. An Example:
        MboSetRemote changeInvUseSet = getMboServer().getMboSet("InvUse", getUserInfo()) ; SqlFormat sqf = new SqlFormat(mbo, "invusenum = :invusenum and siteid=:siteid") ; changeInvUseSet.setWhere(sqf.format()) ; return changeInvUseSet ;
        Specified by:
        getMboIntoSet in class ChangeStatusSet
        Throws:
        MXException
        java.rmi.RemoteException