psdi.app.workorder

Class FldNewSpecValue

    • Constructor Detail

      • FldNewSpecValue

        public FldNewSpecValue(MboValue mbv)
        Cosntruct and attach to the mbo value
    • Method Detail

      • getList

        public MboSetRemote getList()
                             throws MXException,
                                    java.rmi.RemoteException
        Returns all second level classifications in classstructure if any level is not checked. If any level is checked then display the whole ASSETCLASS by not setting any criteria.
        Specified by:
        getList in interface MboValueListener
        Overrides:
        getList in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • validate

        public void validate()
                      throws MXException,
                             java.rmi.RemoteException
        set newalnvalue or newnumvalue, 11-17038/IV10385:validate() if it is TABLE type. if it is ALN or NUMERIC, no validate(done in action()).
        Specified by:
        validate in interface MboValueListener
        Overrides:
        validate in class MAXTableDomain
        Throws:
        MXException
        java.rmi.RemoteException
      • smartFill

        public MboSetRemote smartFill(java.lang.String value,
                                      boolean exact)
                               throws MXException,
                                      java.rmi.RemoteException
        If there is no domainid specified in the ASSETSPEC object, do not validate the entry and smartFill should not be in effect.
        Specified by:
        smartFill in interface MboValueListener
        Overrides:
        smartFill in class MAXTableDomain
        Parameters:
        value - the value the ther has entered in this field.
        exact - whether the list is retrieved use exact qbe.
        Throws:
        MXException
        java.rmi.RemoteException
      • getTableDomainObject

        public MboRemote getTableDomainObject(MboRemote atMbo)
                                       throws MXException,
                                              java.rmi.RemoteException
        getTableDomainObject - copy from SearchAttribute.getTableDomainObject() Temp method. When Asset Catalog Service methods are ready, we could call them directrly.
        Throws:
        MXException
        java.rmi.RemoteException
      • getFirstTableAttribute

        public java.lang.String getFirstTableAttribute(MboRemote atMbo)
                                                throws MXException,
                                                       java.rmi.RemoteException
        Find the first table attribute Temp method. When Asset Catalog Service methods are ready, we could call them directrly.
        Throws:
        MXException
        java.rmi.RemoteException
      • removeZeroes

        public java.lang.String removeZeroes(java.lang.String val)
                                      throws MXException,
                                             java.rmi.RemoteException
        IJ15076: removes the trailing zeroes from the passed value
        Parameters:
        val -
        Returns:
        Throws:
        MXException
        java.rmi.RemoteException