Package net.bluemind.addressbook.api
Interface IAddressBooks
@Path("/addressbooks")
public interface IAddressBooks
-
Method Summary
Modifier and TypeMethodDescriptionfindCertsByEmail
(String email) Look up certificates for the given email in all subscribed addressbooks This operation is suitable to look up usable smime certs to encrypt a message for a recipient.findUidsByEmail
(String email) search
(VCardQuery query) ElasticSearch based vcard search througth all subscribed addressbooks
-
Method Details
-
search
@POST @Path("_search") ListResult<ItemContainerValue<VCardInfo>> search(VCardQuery query) throws ServerFault ElasticSearch based vcard search througth all subscribed addressbooks- Parameters:
query
-- Returns:
- Throws:
ServerFault
-
findUidsByEmail
- Parameters:
email
-- Returns:
- a list of itemId as strings
- Throws:
ServerFault
-
findCertsByEmail
@POST @Path("_findCertsByEmail") List<CertInfo> findCertsByEmail(@QueryParam("email") String email) throws ServerFault Look up certificates for the given email in all subscribed addressbooks This operation is suitable to look up usable smime certs to encrypt a message for a recipient.- Parameters:
email
-- Returns:
- Throws:
ServerFault
-