Package com.centraview.cvattic

Examples of com.centraview.cvattic.CvAtticLocalHome


  {
    int transID = 0;
    try
    {
      InitialContext ctx = CVUtility.getInitialContext();
      CvAtticLocalHome home = (CvAtticLocalHome)ctx.lookup("local/CvAttic");
      CvAtticLocal remote = home.create();
      remote.setDataSource(this.dataSource);
      transID = remote.getAtticTransactionID(indvID, dumpType, hm);
    }catch (Exception e){
      System.out.println("Error in sendToAttic(int) Method of Projects " + e);
      e.printStackTrace();
View Full Code Here


  private void sendToAttic(int indvID, int transactionID, String recordType, HashMap primaryMembers)
  {
    try
    {
      InitialContext ctx = CVUtility.getInitialContext();
      CvAtticLocalHome home = (CvAtticLocalHome)ctx.lookup("local/CvAttic");
      CvAtticLocal remote = home.create();
      remote.setDataSource(this.dataSource);
      remote.dumpData(indvID, transactionID, recordType, primaryMembers);
    }catch (Exception e){
      System.out.println("Error in sendToAttic Method of Projects " + e);
      e.printStackTrace();
View Full Code Here

  private void sendToAttic(int userID, int transactionID, String recordType, HashMap primaryMembers)
  {
    try {
      InitialContext ctx = CVUtility.getInitialContext();
      CvAtticLocalHome home = (CvAtticLocalHome)ctx.lookup("local/CvAttic");
      CvAtticLocal remote = home.create();
      remote.setDataSource(this.dataSource);
      remote.dumpData(userID, transactionID, recordType, primaryMembers);
    } catch (Exception e) {
      logger.error("[sendToAttic] Exception thrown.", e);
    }
View Full Code Here

  {
    int transID = 0;
    try {

      InitialContext ctx = CVUtility.getInitialContext();
      CvAtticLocalHome home = (CvAtticLocalHome)ctx.lookup("local/CvAttic");

      CvAtticLocal remote = home.create();
      remote.setDataSource(this.dataSource);

      transID = remote.getAtticTransactionID(userID, dumpType, hm);
    } catch (Exception e) {
      logger.error("[getAtticTransactionID] Exception thrown.", e);
View Full Code Here

  private void sendToAttic(int userID, String recordType, HashMap primaryMembers, HashMap hmDetails, String dumpType)
  {
    try {
      InitialContext ctx = CVUtility.getInitialContext();
      CvAtticLocalHome home = (CvAtticLocalHome) ctx.lookup("local/CvAttic");

      CvAtticLocal remote = home.create();
      remote.setDataSource(this.dataSource);

      int transID = remote.getAtticTransactionID(userID, dumpType, hmDetails);

      if (transID > 0) {
View Full Code Here

      hmDetails.put("owner",new Integer(ev.getOwner()));
      hmDetails.put("module",new Integer(1));
      hmDetails.put("recordtype",new Integer(1));

      InitialContext ctxl=CVUtility.getInitialContext();
      CvAtticLocalHome cahome=(CvAtticLocalHome)ctxl.lookup("local/CvAttic");

      CvAtticLocal caremote =cahome.create();
      caremote.setDataSource(this.dataSource);

      int transactionID=caremote.getAtticTransactionID(individualID,Constants.CV_GARBAGE,hmDetails);

      HashMap hmentity=new HashMap();
View Full Code Here

      hmDetails.put("owner",new Integer(indVO.getOwner()));
      hmDetails.put("module",new Integer(1));
      hmDetails.put("recordtype",new Integer(2));

      InitialContext ctxl=CVUtility.getInitialContext();
      CvAtticLocalHome cahome=(CvAtticLocalHome)ctxl.lookup("local/CvAttic");

      CvAtticLocal caremote =cahome.create();
      caremote.setDataSource(this.dataSource);

      int transactionID=caremote.getAtticTransactionID(indID,Constants.CV_GARBAGE,hmDetails);

      HashMap hmind=new HashMap();
View Full Code Here

TOP

Related Classes of com.centraview.cvattic.CvAtticLocalHome

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.