Retrieving database entries

The following personalization APIs are used to retrieve entries from the database:

GetBinding gets the value corresponding to a UID, PID, TID, and name set, and is used to form the fully-qualified name for a column. For more information, see the AddressBookEntry.getFullEntryForThisUser method in AddressBookDBAccess.java.

GetMultipleBindings uses the UID, PID, and TID to get a map containing all the key sets for the name value. GetMultipleBindings is used in the listCategories method, which gets a HashMap, then iterates over the list to check for the string “CATEGORY,” since all categories are stored as “CATEGORY.<category_name>,” where <category_name> is the string value of the category. Another method that uses the GetMultipleBindings API is getAllLSCommaFSInThisCategory, which iterates a HashMap and parses the names for the strings “FirstName” and “LastName.”