Package com.regula.facesdk
Interface IPersonDatabase
public interface IPersonDatabase
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPersonImage
(String personId, ImageUpload image, PersonDBCallback<PersonImage> callback) void
createGroup
(String name, PersonDBCallback<PersonGroup> callback) void
createGroup
(String name, JSONObject metadata, PersonDBCallback<PersonGroup> callback) void
createPerson
(String name, PersonDBCallback<Person> callback) void
createPerson
(String name, String[] groups, PersonDBCallback<Person> callback) void
createPerson
(String name, JSONObject metadata, PersonDBCallback<Person> callback) void
createPerson
(String name, JSONObject metadata, String[] groups, PersonDBCallback<Person> callback) void
deleteGroup
(String groupId, PersonDBCallback<Void> callback) void
deletePerson
(String personId, PersonDBCallback<Void> callback) void
deletePersonImage
(String personId, String imageId, PersonDBCallback<Void> callback) void
editPersonsInGroup
(String groupId, EditGroupPersonsRequest editGroupPersonsRequest, PersonDBCallback<Void> callback) void
getGroup
(String id, PersonDBCallback<PersonGroup> callback) void
getGroups
(PersonDBCallback<<any>> callback) void
getGroupsForPage
(int page, int size, PersonDBCallback<<any>> callback) void
getPerson
(String personId, PersonDBCallback<Person> callback) void
getPersonGroups
(String personId, PersonDBCallback<<any>> callback) void
getPersonGroupsForPage
(String personId, int page, int size, PersonDBCallback<<any>> callback) void
getPersonImageById
(String personId, String imageId, PersonDBCallback<byte[]> callback) void
getPersonImages
(String personId, PersonDBCallback<<any>> callback) void
getPersonImagesForPage
(String personId, int page, int size, PersonDBCallback<<any>> callback) void
getPersonsInGroup
(String groupId, PersonDBCallback<<any>> callback) void
getPersonsInGroupForPage
(String groupId, int page, int size, PersonDBCallback<<any>> callback) void
searchPerson
(SearchPersonRequest searchPersonRequest, PersonDBCallback<List<SearchPerson>> callback) void
updateGroup
(PersonGroup group, PersonDBCallback<Void> callback) void
updatePerson
(Person person, PersonDBCallback<Void> callback)
-
Method Details
-
getPerson
-
createPerson
-
createPerson
-
createPerson
void createPerson(String name, JSONObject metadata, String[] groups, PersonDBCallback<Person> callback) -
createPerson
-
updatePerson
-
deletePerson
-
getPersonImages
-
getPersonImagesForPage
-
addPersonImage
-
getPersonImageById
-
deletePersonImage
-
getGroups
-
getGroupsForPage
-
getPersonGroups
-
getPersonGroupsForPage
-
createGroup
-
createGroup
-
getGroup
-
updateGroup
-
editPersonsInGroup
void editPersonsInGroup(String groupId, EditGroupPersonsRequest editGroupPersonsRequest, PersonDBCallback<Void> callback) -
getPersonsInGroup
-
getPersonsInGroupForPage
-
deleteGroup
-
searchPerson
void searchPerson(SearchPersonRequest searchPersonRequest, PersonDBCallback<List<SearchPerson>> callback)
-