Examples of InvoicePosition


Examples of org.bigk.invoices.model.InvoicePosition

  public InvoicePosition prepareNewInvoicePosition() throws ServiceException {
    if (logger.isDebugEnabled()) {
      logger.debug("prepareNewInvoicePosition() - start");
    }

    InvoicePosition ip = null;
    if (this.invoicePositionTemplate != null) {
      try {
        ip = invoicePositionTemplate.clone();
      } catch (CloneNotSupportedException e) {
        logger.warn("prepareNewInvoice()", e);
      }
    }
   
    if (ip == null) {
      ip = new InvoicePosition();
    }

    if (logger.isDebugEnabled()) {
      logger.debug("prepareNewInvoicePosition() - end - return value=" + ip);
    }
View Full Code Here

Examples of org.bigk.invoices.model.InvoicePosition

 
  @Override
  public InvoicePosition getInvoicePosition(Invoice i, Long idx)
      throws ServiceException {
   
    InvoicePosition ip = null;
   
    if (i != null
        && i.getInvoicePositions() != null
        && i.getInvoicePositions().size() > idx) {
      ip = i.getInvoicePositions().get(idx.intValue());
View Full Code Here

Examples of org.bigk.invoices.model.InvoicePosition

 
  @Override
  public void prepareSave() throws ServiceException {
    logger.debug("prepareSave() - start");

    this.model = new InvoicePosition();

    logger.debug("prepareSave() - end");
  }
View Full Code Here

Examples of org.bigk.invoices.model.InvoicePosition

    this.invoice = InvoicesActionHelper.retrieveInvoiceFromSession();
   
    if (pId != null) {
      this.model = invoicesService.getInvoicePosition(this.invoice, pId);
    } else {
      this.model = new InvoicePosition();
    }

    logger.debug("prepareBackToInvoice() - end");
  }
View Full Code Here

Examples of org.bigk.invoices.model.InvoicePosition

  public InvoicePosition prepareNewInvoicePosition() throws ServiceException {
    if (logger.isDebugEnabled()) {
      logger.debug("prepareNewInvoicePosition() - start");
    }

    InvoicePosition ip = null;
    if (this.invoicePositionTemplate != null) {
      try {
        ip = invoicePositionTemplate.clone();
      } catch (CloneNotSupportedException e) {
        logger.warn("prepareNewInvoice()", e);
      }
    }
   
    if (ip == null) {
      ip = new InvoicePosition();
    }

    if (logger.isDebugEnabled()) {
      logger.debug("prepareNewInvoicePosition() - end - return value=" + ip);
    }
View Full Code Here

Examples of org.bigk.invoices.model.InvoicePosition

  public void prepareSave() throws ServiceException {
    if (logger.isDebugEnabled()) {
      logger.debug("prepareSave() - start");
    }

    this.model = new InvoicePosition();

    if (logger.isDebugEnabled()) {
      logger.debug("prepareSave() - end");
    }
  }
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.