Skip to content

Dao List

Victor Ye edited this page Apr 1, 2015 · 3 revisions
User:userDao
User getUserById(int id)
User getUserByEmail(String email)
User setUserStatus(User user, int status)
void saveUser(User user)
List<User> listAllUsers()


Ticket:ticketDao
Ticket setTicketStatus(Ticket ticket, int status)
Void saveTicket(Ticket ticket)
List<Ticket> listAllTickets()



Transaction:transactionDao
Void changeStatus(Transaction transaction, String status)
void saveTransaction(Transaction transaction)


CreditCard:creditcardDao
void saveCreditCard(CreditCard creditcard) =>cc.set(User)
void removeCreditCard(CreditCard creditcard)



com.mercury.rts.persistence.dao
com.mercury.rts.persistence.dao.impl
Clone this wiki locally