public abstract class DbContactsHandlerImpl extends DbHandlerImpl implements DbContactsHandler
Modifier | Constructor and Description |
---|---|
protected |
DbContactsHandlerImpl() |
protected |
DbContactsHandlerImpl(String schema) |
Modifier and Type | Method and Description |
---|---|
protected DbContact |
createContact() |
DbContact |
getContact(Connection c,
long id) |
long[] |
getContactIds(Connection c) |
abstract long[] |
getContactIds(Connection c,
Boolean withObjects) |
DbContact[] |
getContacts(Connection c) |
abstract DbContact[] |
getContacts(Connection c,
Boolean withObjects) |
abstract DbContact[] |
getContacts(Connection c,
long[] ids) |
void |
removeContact(Connection c,
long id) |
abstract void |
removeContacts(Connection c,
long[] ids) |
abstract void |
saveContact(Connection c,
DbContact contact) |
getSchema, getSchemaPath, setSchema
protected DbContactsHandlerImpl()
protected DbContactsHandlerImpl(String schema)
protected DbContact createContact()
public final DbContact getContact(Connection c, long id) throws SQLException
getContact
in interface DbContactsHandler
SQLException
public final DbContact[] getContacts(Connection c) throws SQLException
getContacts
in interface DbContactsHandler
SQLException
public abstract DbContact[] getContacts(Connection c, Boolean withObjects) throws SQLException
getContacts
in interface DbContactsHandler
SQLException
public abstract DbContact[] getContacts(Connection c, long[] ids) throws SQLException
getContacts
in interface DbContactsHandler
SQLException
public final long[] getContactIds(Connection c) throws SQLException
getContactIds
in interface DbContactsHandler
SQLException
public abstract long[] getContactIds(Connection c, Boolean withObjects) throws SQLException
getContactIds
in interface DbContactsHandler
SQLException
public final void removeContact(Connection c, long id) throws SQLException
removeContact
in interface DbContactsHandler
SQLException
public abstract void removeContacts(Connection c, long[] ids) throws SQLException
removeContacts
in interface DbContactsHandler
SQLException
public abstract void saveContact(Connection c, DbContact contact) throws SQLException
saveContact
in interface DbContactsHandler
SQLException
Copyright © 2019 OpenEstate. All rights reserved.