psdi.plusc.app.plusctmplt.virtual

Class PlusCAssetTemplateChgStatusSet

    • Constructor Detail

      • PlusCAssetTemplateChgStatusSet

        public PlusCAssetTemplateChgStatusSet(MboServerInterface ms)
                                       throws MXException,
                                              java.rmi.RemoteException
        Instantiates a new plus c asset template chg status set.
        Parameters:
        ms - the ms
        Throws:
        MXException - the mX exception
        java.rmi.RemoteException - the remote exception
    • Method Detail

      • getMboIntoSet

        protected MboSetRemote getMboIntoSet(MboRemote mbo)
                                      throws MXException,
                                             java.rmi.RemoteException
        Description copied from class: ChangeStatusSet
        This method returns the select Mbo in a set by itself. This should be a framework method but for now it's not. 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 changeWOSet = getMboServer().getMboSet("WORKORDER", getUserInfo()) ; SqlFormat sqf = new SqlFormat(mbo, "wonum = :wonum") ; changeWOSet.setWhere(sqf.format()) ; return changeWOSet ; Make sure that if the query to the database happens within the execution of the set, make sure you set the appname to the set to be returned before the query happens.
        Specified by:
        getMboIntoSet in class ChangeStatusSet
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboInstance

        protected Mbo getMboInstance(MboSet ms)
                              throws MXException,
                                     java.rmi.RemoteException
        Description copied from class: MboSet
        Factory to create the business objects This must be overridden in derived class
        Specified by:
        getMboInstance in class MboSet
        Throws:
        MXException
        java.rmi.RemoteException