Wednesday 13 July 2011

Calling Page from AM's

package cisco.oracle.apps.xxcfi.ap.holdtel.summary.server;

import cisco.oracle.apps.xxcfi.ap.holdtel.server.xxcfiHoldtelAMImpl;
import oracle.apps.fnd.common.VersionInfo;
//import cisco.oracle.apps.xxcfi.ap.holdtel.summary.server.xxcfiBuyerSearchVOImpl;
//import cisco.oracle.apps.xxcfi.ap.holdtel.summary.server.xxcfiManagerSearchVOImpl;
//import cisco.oracle.apps.xxcfi.ap.holdtel.summary.server.xxcfiSupplierSearchVOImpl;
//import cisco.oracle.apps.xxcfi.ap.holdtel.summary.server.xxcfiInvoicesSearchVOImpl;
//import cisco.oracle.apps.xxcfi.ap.holdtel.summary.server.xxcfiInvoicesDtlsSearchVOImpl;


// ---------------------------------------------------------------------
// ---    File generated by Oracle ADF Business Components Design Time.
// ---    Custom code may be added to this class.
// ---    Warning: Do not modify method signatures of generated methods.
// ---------------------------------------------------------------------
public class xxcfiSummaryReportsAMImpl extends xxcfiHoldtelAMImpl
{
  public static final String RCS_ID="$Header: SummaryReportsAMImpl.java 1.0 kandkuma $ ";
  public static final boolean RCS_ID_RECORDED =
  VersionInfo.recordClassVersion(RCS_ID, "cisco.oracle.apps.xxcfi.ap.holdtel.summary.server");

  /**This is the default constructor (do not remove)
   */
  public xxcfiSummaryReportsAMImpl()
  {
  }

  /**
   * procedure to call the manager search query
   * @param purchasingGroup
   * @param managerId
   * @param buyerId
   * @param supplierId
   */
  public void execManagerSrchQuery(String purchasingGroup, String managerId, String buyerId, String supplierId)
  {
    xxcfiManagerSearchVOImpl mgrSrchVO = getxxcfiManagerSearchVO1();
    mgrSrchVO.execManagerSrchQuery(purchasingGroup,  managerId, buyerId, supplierId); //calls the manager search vo.  
  }
 
 /**
   * procedure to call the buyer search query
   * @param purchaseGroup
   * @param managerId
   * @param buyerId
   * @param supplierId
 */
   public void execBuyerSrchQuery(String purchaseGroup, String managerId, String buyerId, String supplierId)
   {
     xxcfiBuyerSearchVOImpl buyerSrchVO = getxxcfiBuyerSearchVO1();
     buyerSrchVO.execBuyerSrchQuery(purchaseGroup,managerId,buyerId,supplierId); // executes the buyer search vo.
   }
 
 /**
   * procedure to call the supplier search query
   * @param purchaseGroup
   * @param managerId
   * @param buyerId
   * @param supplierId
 */
   public void execSupplierSrchQuery(String purchaseGroup, String managerId, String buyerId, String supplierId)
   {
     xxcfiSupplierSearchVOImpl supplierSrchVO = getxxcfiSupplierSearchVO1();  
     supplierSrchVO.execSupplierSrchQuery(purchaseGroup,managerId,buyerId,supplierId); //calls the supplier search vo.
   }
 /**
  * procedure to call the inovice search query
  * @param purchaseGroup
  * @param managerId
  * @param buyerId
  * @param supplierId
 */

  public void execInvoiceSrchQuery(String purchaseGroup, String managerId, String buyerId, String supplierId)
  {
  xxcfiInvoicesSearchVOImpl invoiceSrchVO = getxxcfiInvoicesSearchVO1();
  invoiceSrchVO.execInvoiceSrchQuery(purchaseGroup,managerId,buyerId,supplierId); // executes the invoice search vo.
  }
 
  /**
   * procedure to calll the invoice details search query.
   * @param buyerId
   * @param supplierId
   * @param invoiceId
   */
  public void execInvoiceDetailSrchQuery(String buyerId, String supplierId, String invoiceId)
  {
    xxcfiInvoicesDtlsSearchVOImpl invoiceDetailsSrchVO = getxxcfiInvoicesDtlsSearchVO1();
    invoiceDetailsSrchVO.execInvoiceDetailSrchQuery(buyerId,supplierId,invoiceId); // calls the invoice details search vo.
  }


  /**Container's getter for xxcfiBuyerSearchVO1
   */
  public xxcfiBuyerSearchVOImpl getxxcfiBuyerSearchVO1()
  {
    return (xxcfiBuyerSearchVOImpl)findViewObject("xxcfiBuyerSearchVO1");
  }


  /**Container's getter for xxcfiInvoicesSearchVO1
   */
  public xxcfiInvoicesSearchVOImpl getxxcfiInvoicesSearchVO1()
  {
    return (xxcfiInvoicesSearchVOImpl)findViewObject("xxcfiInvoicesSearchVO1");
  }

  /**Container's getter for xxcfiManagerSearchVO1
   */
  public xxcfiManagerSearchVOImpl getxxcfiManagerSearchVO1()
  {
    return (xxcfiManagerSearchVOImpl)findViewObject("xxcfiManagerSearchVO1");
  }


  /**Container's getter for xxcfiSupplierSearchVO1
   */
  public xxcfiSupplierSearchVOImpl getxxcfiSupplierSearchVO1()
  {
    return (xxcfiSupplierSearchVOImpl)findViewObject("xxcfiSupplierSearchVO1");
  }

  /**Container's getter for xxcfiInvoicesDtlsSearchVO1
   */
  public xxcfiInvoicesDtlsSearchVOImpl getxxcfiInvoicesDtlsSearchVO1()
  {
    return (xxcfiInvoicesDtlsSearchVOImpl)findViewObject("xxcfiInvoicesDtlsSearchVO1");
  }

  /**Sample main for debugging Business Components code using the tester.
   */
  public static void main(String[] args)
  {
    launchTester("cisco.oracle.apps.xxcfi.ap.holdtel.summary.server", /* package name */
      "xxcfiSummaryReportsAMLocal" /* Configuration Name */);
  }
}

No comments:

Post a Comment