Protected by Copyscape Web Copyright Protection Software

Pages

Search This Blog

Wednesday, March 5, 2014

OAF Search Page AM Code

Hi all,

This is the Application Module code.

package Test3.oracle.apps.ap.suppliers.server;

import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;

// ---------------------------------------------------------------------
// ---    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 Test3AMImpl extends OAApplicationModuleImpl {
    /**This is the default constructor (do not remove)
     */
    public Test3AMImpl() {
    }

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

  /**Container's getter for JaganTestVO1
   */
  public Test3VOImpl getTest3VO1()
  {
    return (Test3VOImpl)findViewObject("Test3VO1");
  }
 
  public void Test3a(String Vendorid)
  //Here Test3a is a method defined and called it in Test3CO.java
  {
    Test3VOImpl ab=getTest3VO1();
    ab.setWhereClause(null);
    ab.setWhereClauseParam(0,Vendorid);
  //ab.addWhereClause("vendor_id="+vendorid);
  // System.out.println(ab.getQuery());-- This is to print query in oaf builder while running.
    ab.executeQuery();
  }
}
You can see the CO code Here

No comments:

Post a Comment