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
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bestray.transtracking.service;

import com.bestray.transtracking.dto.PaymentVoucherSearchDTO;
import com.bestray.transtracking.exceptions.TransTrackException;
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 PaymentVoucherService {

   // public List<Party> getPartyNameList();
    
    //public PaymentVoucher getTotalPartyBalance(Long partyId);
    public List<Employee> getEmployeeNameList()throws TransTrackException;
    
    public boolean collectPayment(PaymentVoucher payment)throws TransTrackException;
    
    public List<PaymentVoucher> getSearchResult(PaymentVoucherSearchDTO search)throws TransTrackException;
    
    public PaymentVoucher getLastBalance(Long partyId)throws TransTrackException;

    public ViewDomain getTotalOilBalance(Long partyId)throws TransTrackException;

    public ViewDomain getTotalPaymentBalance(Long partyId)throws TransTrackException;

    public ViewDomain getTotalExpenseBalance(Long partyId)throws TransTrackException;

    public PaymentVoucher getPaymentChangeById(Long id)throws TransTrackException;

    public void delete(Long id)throws TransTrackException;

    public List<Party> getAllPartyNameList()throws TransTrackException;

    public ViewDomain getPayment(Long partyId)throws TransTrackException;

    

}

Commits for TransPort_Tracking/TransPortTracking/src/main/java/com/bestray/transtracking/service/PaymentVoucherService.java

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