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

import com.bestray.transtracking.service.AlertService;
import com.bestray.transtracking.service.impl.AlertServiceImpl;
import com.bestray.trastrack.domain.VehicleMaintenance;
import java.util.Vector;

/**
 *
 * @author sumitHome
 */
public class AlertController {
    
    private AlertService alertService;

    public AlertController() {
        alertService = new AlertServiceImpl();
    }

    public Vector<Vector<String>> getAlertList() {
        return alertService.getAlertList();
    }

    public Vector<Vector<String>> getAlertPending() {
        return alertService.getAlertPending();
    }

    public boolean updateMaintenanceStatus(VehicleMaintenance vehicleMaintenance) {
        return alertService.updateMaintenanceStatus(vehicleMaintenance);
    }

    public void updateVehicleMaster(Long vehicle_id) {
        alertService.updateVehicleMaster(vehicle_id);
    }
    
}

Commits for TransPort_Tracking/TransPortTracking/src/main/java/com/bestray/transtracking/controller/AlertController.java

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