public interface ContactServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
Contact |
createContact(Contact contact)
Creates a new
Contact. |
Contact[] |
createContacts(Contact[] contacts)
Creates new
Contact objects. |
Contact |
getContact(Long contactId)
Returns the
Contact uniquely identified by the given
ID. |
ContactPage |
getContactsByStatement(Statement statement)
|
Contact |
updateContact(Contact contact)
Updates the specified
Contact. |
Contact[] |
updateContacts(Contact[] contacts)
Updates the specified
Contact objects. |
Contact createContact(Contact contact) throws RemoteException, ApiException
Contact.
The following fields are required:
contact - the contact to createRemoteExceptionApiExceptionContact[] createContacts(Contact[] contacts) throws RemoteException, ApiException
Contact objects.contacts - the contacts to createRemoteExceptionApiExceptionContact getContact(Long contactId) throws RemoteException, ApiException
Contact uniquely identified by the given
ID.contactId - the ID of the contact, which must already existContact uniquely identified by the given IDRemoteExceptionApiExceptionContactPage getContactsByStatement(Statement statement) throws RemoteException, ApiException
ContactPage of Contact objects that
satisfy the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
name |
Contact.name |
email |
Contact.email |
id |
Contact.id |
comment |
Contact.comment |
companyId |
Contact.companyId |
title |
Contact.title |
cellPhone |
Contact.cellPhone |
workPhone |
Contact.workPhone |
faxPhone |
Contact.faxPhone |
status |
Contact.status |
filterStatement - a Publisher Query Language statement used to
filter
a set of contactsRemoteExceptionApiExceptionContact updateContact(Contact contact) throws RemoteException, ApiException
Contact.contact - the contact to updateRemoteExceptionApiExceptionContact[] updateContacts(Contact[] contacts) throws RemoteException, ApiException
Contact objects.contacts - the contacts to updateRemoteExceptionApiExceptionCopyright © 2013. All Rights Reserved.