@Override
 public void closeTicket(Ticket ticket) {
   validateTicket(ticket);
   ticket.setStatus(TicketStatus.CLOSED);
   ticket.setLastModifiedDate(new Timestamp(System.currentTimeMillis()));
   updateTicket(ticket);
 }
 @Override
 public void reopenTicket(Ticket ticket) {
   validateTicket(ticket);
   ticket.setStatus(TicketStatus.REOPEN);
   ticket.setLastModifiedDate(new Timestamp(System.currentTimeMillis()));
   updateTicket(ticket);
 }
 @Override
 public void updateTicket(Ticket ticket) {
   validateTicket(ticket);
   ticket.setLastModifiedDate(new Timestamp(System.currentTimeMillis()));
   getHibernateTemplate().saveOrUpdate(ticket);
 }