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

import com.bestray.transtracking.dto.OilChangeSearchDTO;
import com.bestray.transtracking.exceptions.TransTrackException;
import com.bestray.trastrack.domain.ClientCollection;
import com.bestray.trastrack.domain.ClientUser;
import com.bestray.trastrack.domain.OilChange;
import com.bestray.trastrack.domain.Party;
import com.bestray.trastrack.domain.PaymentVoucher;
import com.bestray.trastrack.domain.Vehicle;
import java.util.List;
import java.util.Vector;

/**
 *
 * @author Girija Sahu
 */
public interface OilChangeService {

    public Long saveOilChange(OilChange oilChange)throws TransTrackException;
    
    public Vehicle getLastOilChange(Long vehicleId)throws TransTrackException;

    public List<OilChange> getSearchResult(OilChangeSearchDTO search)throws TransTrackException;
    
    public List<OilChange> getSearchResult2(OilChangeSearchDTO search)throws TransTrackException;
    
    public List<OilChange> getSearchResult3(OilChangeSearchDTO search)throws TransTrackException;

    public OilChange getOilChangeById(Long id)throws TransTrackException;

    public void delete(Long id)throws TransTrackException;

    public Vector<Party> getPartyFillNameList()throws TransTrackException;

    public Vector<ClientUser> getClientFillNameList()throws TransTrackException;

    //public void updateVehicleLastChange(Long vehicleId)throws TransTrackException;

    public void addtoClientCollection(OilChange oilChange,Long id)throws TransTrackException;

    public Long getVehicleOilId(Long vehicleid)throws TransTrackException;

    public List<OilChange> getMaxOilEntryValue(Long vehicleId)throws TransTrackException;

    public void updateNewRecordVehicleMaster(Long vehicleId, OilChange oilChange)throws TransTrackException;

    public void deleteClientCollectionOilRecord(Long oilEntryId)throws TransTrackException;

    public Long getRecivePersonID(Long id);

    public List<ClientCollection> checkForAnyClientCollection(Long oilChangeId);
   

}

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

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