InboxDataSourceDAO

public class InboxDataSourceDAO extends DataSourceDAO implements InboxDAO
Author:Donahue Sze Window - Preferences - Java - Code Style - Code Templates

Methods

addInbox

public void addInbox(InboxDVO data)

createDVO

public DVO createDVO()

deleteInbox

public void deleteInbox(InboxDVO data)

findInbox

public boolean findInbox(InboxDVO data)

findInboxNextOrderNo

public long findInboxNextOrderNo()

Returns next value of inbox order no. from DB sequence. it determines message order being retrieved by client. For DB, PostgreSQL & Oracle built-in auto number (sequence) will be used. Otherwise for mySQL, max(order_no) + 1 will be returned. Default starting order no is 1.

Returns:the value of next inbox order no.

updateInbox

public boolean updateInbox(InboxDVO data)