psdi.plusc.webclient.beans.workorder

Class PlusCWODSChangeViewDataBean

    • Constructor Detail

      • PlusCWODSChangeViewDataBean

        public PlusCWODSChangeViewDataBean()
    • Method Detail

      • changeview

        public int changeview()
                       throws MXException,
                              java.rmi.RemoteException
        This method is responsable for changing the Asset Function calibration points. The calibration points view change consists in show all the existing calibration points as default, when the change view button is clicked the only calibration points shown are the ones related to the selected Asset Function. The atribute responsable of controling the select view is the VIEWSASLOOP attribute from PLUSCWODS.
        Returns:
        EVENT_HANDLED
        Throws:
        MXException
        java.rmi.RemoteException
      • getMboSet

        public MboSetRemote getMboSet()
                               throws MXException,
                                      java.rmi.RemoteException
        This method was overided cause the Data Sheet app needs to know wich relationship have to be loaded for Asset Functions according to the View As Loop functionality
        Overrides:
        getMboSet in class DataBean
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • changeviewtopoints

        public int changeviewtopoints()
                               throws MXException,
                                      java.rmi.RemoteException
        Changes the PLUSWODSPOINTS Relationship before add a new row on that
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException
      • changeRelationship

        protected void changeRelationship(DataBean dsBean,
                                          boolean isAltered)
                                   throws java.rmi.RemoteException,
                                          MXException
        This method is responsible for alternating the Asset Function - Calibration Points relationships according to the View As Loop functionality. This is a template method - the implementation will be done in specific subclasses
        Parameters:
        dsBean -
        isAltered -
        Throws:
        MXException
        java.rmi.RemoteException
      • setValue

        public void setValue(int nRow,
                             java.lang.String attribute,
                             java.lang.String value,
                             long accessModifier)
                      throws MXException
        Description copied from class: DataBean
        Updates an attribute's value on the given row. Fires a row change event to all the listeners upon success.
        Overrides:
        setValue in class DataBean
        Parameters:
        nRow -
        attribute -
        value -
        accessModifier -
        Throws:
        MXException