Package Express.services

Examples of Express.services.BusinessClass


     * @param attrNumber Type: int
     * @param attrValue Type: DataValue
     */
    public void handleValueChange(int attrNumber, DataValue attrValue) {
        try {
            BusinessClass theCurrentRecord = this.getCurRec();
   
            //
            // Ignore the change if the user is in search mode.
            //
            if (this.getWindowMode().intValue() == ExpressContainerWindow.WM_EDIT) {
                //
                // Call any user provided validation.  If any errors
                // occur, this method will raise an exception and abort
                // the value change.
                //
                this.validateField(attrNumber, attrValue);
   
                //
                // Mark the field as changed.
                //
                if (this.getBusinessClient() != null) {
                    this.getBusinessClient().logAttr(theCurrentRecord, attrNumber);
                }
   
                //
                // Change the field in the selected record.
                //
                if (theCurrentRecord != null) {
                    theCurrentRecord.setAttrValue(attrNumber, attrValue);
                }
   
                //
                // Mark the result set as modified.
                //
View Full Code Here

TOP

Related Classes of Express.services.BusinessClass

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.