Subversion Repositories SmartDukaan

Rev

Rev 3024 | Rev 3390 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3024 Rev 3137
Line 6... Line 6...
6
import in.shop2020.crm.domain.Ticket;
6
import in.shop2020.crm.domain.Ticket;
7
import in.shop2020.crm.persistence.TicketMapper;
7
import in.shop2020.crm.persistence.TicketMapper;
8
 
8
 
9
import java.util.List;
9
import java.util.List;
10
 
10
 
11
import org.apache.thrift.TException;
-
 
12
import org.springframework.beans.factory.annotation.Autowired;
11
import org.springframework.beans.factory.annotation.Autowired;
13
import org.springframework.stereotype.Service;
12
import org.springframework.stereotype.Service;
14
 
13
 
15
/**
14
/**
16
 * Handler for CRUD operations on tickets in database.
15
 * Handler for CRUD operations on tickets in database.
Line 36... Line 35...
36
    }
35
    }
37
 
36
 
38
    public Ticket getTicket(long ticketId) {
37
    public Ticket getTicket(long ticketId) {
39
        return ticketMapper.getTicket(ticketId);
38
        return ticketMapper.getTicket(ticketId);
40
    }
39
    }
-
 
40
 
-
 
41
    public List<in.shop2020.crm.domain.Ticket> getAssignedTickets(long agentId) {
-
 
42
        return ticketMapper.getAssignedTickets(agentId);
-
 
43
    }
-
 
44
 
-
 
45
    public List<Ticket> getUnassignedTickets() {
-
 
46
        return ticketMapper.getUnassignedTickets();
-
 
47
    }
41
}
48
}