Package com.expositds.ars.dao.entity.billing

Examples of com.expositds.ars.dao.entity.billing.SubsidiaryEntity


    if (page != null) {
      position = (page - 1) * DETAILS_PER_PAGE;
      amount = DETAILS_PER_PAGE;
    }

    SubsidiaryEntity subsidiaryEntity = DozerHelper.map(subsidiary,
        SubsidiaryEntity.class);

    List<DetailEntity> detailEntities = detailRepository.findBySubsidiary(
        subsidiaryEntity, used, amount, position);
    result = DozerHelper.mapList(detailEntities, Detail.class);
View Full Code Here


    if (page != null) {
      position = (page - 1) * DETAILS_PER_PAGE;
      amount = DETAILS_PER_PAGE;
    }

    SubsidiaryEntity subsidiaryEntity = DozerHelper.map(subsidiary,
        SubsidiaryEntity.class);

    List<DetailEntity> detailEntities = detailRepository.findByName(
        subsidiaryEntity, name, used, amount, position);
    result = DozerHelper.mapList(detailEntities, Detail.class);
View Full Code Here

    if (page != null) {
      position = (page - 1) * PAYMENTS_PER_PAGE;
      amount = PAYMENTS_PER_PAGE;
    }

    SubsidiaryEntity subsidiaryEntity = DozerHelper.map(subsidiary,
        SubsidiaryEntity.class);

    List<PaymentEntity> paymentEntities = paymentRepository
        .findBySubsidiaryInPeriod(subsidiaryEntity, beginDate,
            endingDate, completed, type, amount, position);
View Full Code Here

    if (page != null) {
      position = (page - 1) * REVIEWS_PER_PAGE;
      amount = REVIEWS_PER_PAGE;
    }

    SubsidiaryEntity subsidiaryEntity = DozerHelper.map(subsidiary,
        SubsidiaryEntity.class);

    List<ReviewEntity> reviewEntities = reviewsRepository
        .findBySubsidiaryAndRating(subsidiaryEntity, ratingLo,
            ratingHi, amount, position);
View Full Code Here

    if (page != null) {
      position = (page - 1) * MECHANICS_PER_PAGE;
      amount = MECHANICS_PER_PAGE;
    }

    SubsidiaryEntity subsidiaryEntity = DozerHelper.map(subsidiary,
        SubsidiaryEntity.class);

    List<MechanicEntity> mechanicEntities = mechanicRepository
        .findBySubsidiary(subsidiaryEntity, amount, position);
    result = DozerHelper.mapList(mechanicEntities, Mechanic.class);
View Full Code Here

    if (page != null) {
      position = (page - 1) * ORDERS_PER_PAGE;
      amount = ORDERS_PER_PAGE;
    }

    SubsidiaryEntity subsidiaryEntity = DozerHelper.map(subsidiary,
        SubsidiaryEntity.class);

    List<OrderEntity> orderEntities = orderRepository.findBySubsidiary(
        subsidiaryEntity, status, amount, position);
    result = DozerHelper.mapList(orderEntities, Order.class);
View Full Code Here

    // Create
    MechanicEntity mechanicEntity = DozerHelper.map(mechanic,
        MechanicEntity.class);
    Long id = mechanicRepository.save(mechanicEntity);

    SubsidiaryEntity subsidiaryEntity = null;
    subsidiaryEntity = subsidiaryRepository.findByName("ARS JUnit Test")
        .get(0);

    Subsidiary subsidiary = DozerHelper.map(subsidiaryEntity,
        Subsidiary.class);
View Full Code Here

TOP

Related Classes of com.expositds.ars.dao.entity.billing.SubsidiaryEntity

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.