Subversion Repository Public Repository

TransPort_Tracking

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bestray.transtracking.dao;

import com.bestray.transtracking.dto.PaymentVoucherSearchDTO;
import com.bestray.trastrack.domain.Employee;
import com.bestray.trastrack.domain.Party;
import com.bestray.trastrack.domain.PaymentVoucher;
import com.bestray.trastrack.domain.ReceiptVoucher;
import com.bestray.trastrack.domain.ViewDomain;
import java.util.List;

/**
 *
 * @author Bitu
 */
public interface PaymentVoucherDao {
    
   //public List<Party> findallReceipt();

   // public PaymentVoucher getTotalPartyBalance(Long partyId);
    public List<Employee> findAllEmployees()throws Exception;
    
    public void savePayment(PaymentVoucher payment)throws Exception;
    
    public List<PaymentVoucher> getSearchResults(PaymentVoucherSearchDTO search)throws Exception;
    
   public PaymentVoucher getLastBalance(Long partyId)throws Exception;

    public ViewDomain getTotalOilBalance(Long partyId)throws Exception;

    public ViewDomain getTotalPaymentBalance(Long partyId)throws Exception;

    public ViewDomain getTotalExpenseBalance(Long partyId)throws Exception;

    public PaymentVoucher findById(Long id)throws Exception;

    public void delete(Long id)throws Exception;

    public void updatePayment(PaymentVoucher payment)throws Exception;

    public List<Party> findAllPartysNames()throws Exception;

    public ViewDomain getTotalPayment(Long partyId)throws Exception;

   

    
    
}

Commits for TransPort_Tracking/TransPortTracking/src/main/java/com/bestray/transtracking/dao/PaymentVoucherDao.java

Diff revisions: vs.
Revision Author Commited Message
1 girijabapi picture girijabapi Sat 28 Jul, 2018 05:29:14 +0000