package oracle.adfdi.demo.cf.model.service.client;

import oracle.adfdi.demo.cf.model.service.common.CFService;

import oracle.jbo.client.remote.ApplicationModuleImpl;
import oracle.jbo.domain.Number;
// ---------------------------------------------------------------------
// ---    File generated by Oracle ADF Business Components Design Time.
// ---    Mon Feb 01 23:39:13 IST 2010
// ---    Custom code may be added to this class.
// ---    Warning: Do not modify method signatures of generated methods.
// ---------------------------------------------------------------------
public class CFServiceClient extends ApplicationModuleImpl implements CFService {
    /**
     * This is the default constructor (do not remove).
     */
    public CFServiceClient() {
    }


    public void searchForProducts(Number parentCategoryId, Number categoryId,
                                  Number supplierId) {
        Object _ret =
            this.riInvokeExportedMethod(this,"searchForProducts",new String [] {"java.lang.Number","java.lang.Number","java.lang.Number"},new Object[] {parentCategoryId, categoryId, supplierId});
        return;
    }


    public String sayHelloOracle() {
        Object _ret = this.riInvokeExportedMethod(this,"sayHelloOracle",null,null);
        return (String)_ret;
    }

    public String sayHello(String name) {
        Object _ret =
            this.riInvokeExportedMethod(this,"sayHello",new String [] {"java.lang.String"},new Object[] {name});
        return (String)_ret;
    }

    public void assignSelectedSupplierToCurrentProductRow() {
        Object _ret =
            this.riInvokeExportedMethod(this,"assignSelectedSupplierToCurrentProductRow",null,null);
        return;
    }

    public void searchProductsByName(String productName) {
        Object _ret =
            this.riInvokeExportedMethod(this,"searchProductsByName",new String [] {"java.lang.String"},new Object[] {productName});
        return;
    }

    public void initializeSupplierRows() {
        Object _ret =
            this.riInvokeExportedMethod(this,"initializeSupplierRows",null,null);
        return;
    }

    public void fetchProductsByCategory(Number categoryId) {
        Object _ret =
            this.riInvokeExportedMethod(this,"fetchProductsByCategory",new String [] {"oracle.jbo.domain.Number"},new Object[] {categoryId});
        return;
    }

    public void insertProductWithDiscriminator() {
        Object _ret =
            this.riInvokeExportedMethod(this,"insertProductWithDiscriminator",null,null);
        return;
    }

    public void assignSupplierIdForProductFromSupplierName() {
        Object _ret =
            this.riInvokeExportedMethod(this,"assignSupplierIdForProductFromSupplierName",null,null);
        return;
    }
}
