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