public interface ContactsDao
Contact
sModifier and Type | Method and Description |
---|---|
void |
addContact(Contact contact)
Add this
Contact to the database. |
Contact |
getContact(int cid,
java.lang.String uuid)
Fetch a Contact from the database
|
Contact |
getContact(int cid,
java.lang.String setName,
int size,
int index)
Fetch a Contact from the database.
|
java.util.HashMap<java.lang.String,java.util.Date> |
getContactOldestMap(Chain chain)
Return a map of the oldest contacts in this chain.
|
Contact |
getNewestContact()
Fetch the newest contact we made
|
void addContact(Contact contact)
Contact
to the database.contact
- Contact getContact(int cid, java.lang.String uuid)
cid
- The Chain Id of the Chain to queryuuid
- The uuid of the contact i.e. G-100-02Contact getContact(int cid, java.lang.String setName, int size, int index)
cid
- The Chain Id of the Chain to querysetName
- The name of the Setsize
- The thumbnail sizeindex
- which contact number in this seriesContact getNewestContact()
java.util.HashMap<java.lang.String,java.util.Date> getContactOldestMap(Chain chain)
chain
- The Chain to process