Package com.centraview.marketing

Examples of com.centraview.marketing.PromotionListElement


      StringMember status = new StringMember("status", (String)hm.get("status"), 10, "", 'T', false);
      // int nooforder = ((Long)hm.get("nooforder")).intValue();
      int nooforder = Integer.parseInt(hm.get("ordercount").toString());
      IntMember nooforders = new IntMember("nooforders", nooforder, 10, "", 'T', false, 10);

      PromotionListElement ele = new PromotionListElement(ID);

      ele.put("promotionid", promotionid);
      ele.put("title", title);
      ele.put("description", description);
      ele.put("startdate", startdate);
      ele.put("enddate", enddate);
      ele.put("status", status);
      ele.put("nooforders", nooforders);

      // added by Sameer for generating fixed length sort key from i
      StringBuffer sb = new StringBuffer("00000000000");
      sb.setLength(11);
      String str = (new Integer(i)).toString();
View Full Code Here

TOP

Related Classes of com.centraview.marketing.PromotionListElement

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.