// Setting the Values in the Values Map
TreeMap Values = new TreeMap();
Values.put("--TicketNumber--", new Integer(tVO.getId()).toString());
GlobalMasterLists gml = GlobalMasterLists.getGlobalMasterLists(dataSource);
Vector statusVec = gml.getAllStatus();
if (statusVec != null) {
for (int j = 0; j < statusVec.size(); j++) {
DDNameValue ddName = (DDNameValue) statusVec.get(j);
int compId = tVO.getStatusId();
if (ddName.getId() == compId) {
Values.put("--Status--", ddName.getName());
}
}
} // end if (vec != null)
Vector priorityVec = gml.getAllPriorities();
if (priorityVec != null) {
for (int j = 0; j < priorityVec.size(); j++) {
DDNameValue ddName = (DDNameValue) priorityVec.get(j);
int compId = tVO.getPriorityId();
if (ddName.getId() == compId) {