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
60
61
62
63
64
65
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bestray.transtracking.dao;

import com.bestray.transtracking.dto.OilChangeSearchDTO;
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.Vehicle;
import java.util.List;

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

    public Long save(OilChange oilChange)throws Exception;
    
    public Vehicle getLastOilChange(Long vehicleId)throws Exception;

    public List<OilChange> getSearchResults(OilChangeSearchDTO search)throws Exception;
    
    public List<OilChange> getSearchResults2(OilChangeSearchDTO search)throws Exception;
    
    public List<OilChange> getSearchResults3(OilChangeSearchDTO search)throws Exception;

    public OilChange findById(Long id)throws Exception;

    public Long updateOilChage(OilChange oilChange)throws Exception;

    public void delete(Long id)throws Exception;

    public List<Party> findAllPartyNames()throws Exception;

    public List<ClientUser> findAllClientNames()throws Exception;

    public void updateVehicleLastChange(Long vehicleId, OilChange oilchange)throws Exception;

    public void saveClientCollection(OilChange oilChange,Long id) throws Exception;

    public List<Vehicle> selectVehicleMaster(Long vehicleId)throws Exception;

    public Long getVehicleOilInfo(Long vehicleid)throws Exception;

    public List<OilChange> getNewOilInformation(Long vehicleId)throws Exception;

    public void deleteClientCollectionOilRecord(Long oilEntryId)throws Exception;

    public List<ClientCollection> getRecivePersonID(Long id);

    public void updateClientCollection(OilChange oilChange, Long oilChangeId);

    public List<ClientCollection> checkForAnyClientCollection(Long oilChangeId);

  

   

   
    
}

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

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