Examples of ExcelReportSetting


Examples of no.ugland.utransprod.util.excel.ExcelReportSetting

  }
  public void generateReport() {
    try {
      ExcelReportViewHandler excelReportViewHandler = new ExcelReportViewHandler(
          ExcelReportEnum.ORDRERESERVE_TAKSTOL,new Dimension(320, 110));
      ExcelReportSetting excelReportSetting=new ExcelReportSetting(ExcelReportEnum.ORDRERESERVE_TAKSTOL);
      excelReportViewHandler.generateExcel(null,excelReportSetting);
    } catch (ProTransException e) {
      Util.showErrorDialog((WindowInterface)null, "Feil", e.getMessage());
      e.printStackTrace();
    }
View Full Code Here

Examples of no.ugland.utransprod.util.excel.ExcelReportSetting

  private Dimension windowSize;

  public ExcelReportViewHandler(ExcelReportEnum excelReportType,
      Dimension aWindowSize) {
    windowSize = aWindowSize;
    presentationModel = new PresentationModel(new ExcelReportSetting(
        excelReportType));
    excelReportEnum = excelReportType;
  }
View Full Code Here

Examples of no.ugland.utransprod.util.excel.ExcelReportSetting

    /**
     * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
     */
    public void actionPerformed(ActionEvent arg0) {
      try {
        ExcelReportSetting excelReportSetting = (ExcelReportSetting) presentationModel
            .getBean();
        generateExcel(window, excelReportSetting);
      } catch (ProTransException e) {
        Util.showErrorDialog(window, "Feil", e.getMessage());
        e.printStackTrace();
View Full Code Here

Examples of no.ugland.utransprod.util.excel.ExcelReportSetting

public class OrderStatusNotSentVManagerTest {

  @Test
  public void testFindByParams()throws Exception{
    OrderStatusNotSentVManager orderStatusNotSentVManager=(OrderStatusNotSentVManager)ModelUtil.getBean("orderStatusNotSentVManager");
    ExcelReportSetting params =new ExcelReportSetting(ExcelReportEnum.PRODUCTIVITY_ORDER_STATUS);
    assertNotNull(orderStatusNotSentVManager.findByParams(params));
  }
View Full Code Here

Examples of no.ugland.utransprod.util.excel.ExcelReportSetting

public class PostShipmentCountVManagerTest {

  @Test
  public void testFindByParams()throws Exception{
    PostShipmentCountVManager postShipmentCountVManager=(PostShipmentCountVManager)ModelUtil.getBean("postShipmentCountVManager");
    ExcelReportSetting params =new ExcelReportSetting(ExcelReportEnum.POST_SHIPMENT_SENT_COUNT);
    assertNotNull(postShipmentCountVManager.findByParams(params));
  }
View Full Code Here

Examples of no.ugland.utransprod.util.excel.ExcelReportSetting

public class OrderPacklistReadyVManagerTest {

  @Test
  public void testFindByParams()throws Exception{
    OrderPacklistReadyVManager orderPacklistReadyVManager=(OrderPacklistReadyVManager)ModelUtil.getBean("orderPacklistReadyVManager");
    ExcelReportSetting params =new ExcelReportSetting(ExcelReportEnum.PRODUCTIVITY_PACKLIST);
    assertNotNull(orderPacklistReadyVManager.findByParams(params));
  }
View Full Code Here

Examples of no.ugland.utransprod.util.excel.ExcelReportSetting

        Periode periode = new Periode(2010, 5, 5);
        Collection<SalesmanGoal> salesGoalList = salesVManager.getSalesGoalList(periode);
    ExcelUtil.setUseUniqueFileName(false);
    ExcelUtil excelUtil=new ExcelUtil();
   
    ExcelReportSetting reportSetting=new ExcelReportSetting(ExcelReportEnum.SALES_GOAL);
    reportSetting.setYear(2010);
    reportSetting.setWeekFrom(5);
    reportSetting.setWeekTo(5);
    Map<Object,Object> data=Maps.newHashMap();
    data.put("Reportdata", salesGoalList);
    excelUtil.generateSalesGoalReport(reportSetting, data);
   
    ExcelUtil excelUtilReader=new ExcelUtil();
View Full Code Here

Examples of no.ugland.utransprod.util.excel.ExcelReportSetting

public class NotInvoicedVManagerTest {

  @Test
  public void testFindByParams()throws Exception{
    NotInvoicedVManager notInvoicedVManager=(NotInvoicedVManager)ModelUtil.getBean("notInvoicedVManager");
    ExcelReportSetting params =new ExcelReportSetting(ExcelReportEnum.PRODUCTIVITY_LIST_NOT_INVOICED);
    assertNotNull(notInvoicedVManager.findByParams(params));
  }
View Full Code Here

Examples of no.ugland.utransprod.util.excel.ExcelReportSetting

    assertNotNull(tegnere);
   
    ExcelUtil.setUseUniqueFileName(false);
    ExcelUtil excelUtil=new ExcelUtil();
   
    ExcelReportSetting reportSetting=new ExcelReportSetting(ExcelReportEnum.TAKSTOLTEGNER);
    reportSetting.setYear(2010);
    reportSetting.setWeekFrom(4);
    reportSetting.setWeekTo(5);
   
    Map<Object,Object> data=Maps.newHashMap();
    data.put("Reportdata", tegnere);
   
    excelUtil.generateTakstoltegnerReport(reportSetting, data);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.