public class ContactServiceWrapper extends Object implements ContactService, ServiceWrapper<ContactService>
ContactService.ContactService| Constructor and Description |
|---|
ContactServiceWrapper() |
ContactServiceWrapper(ContactService contactService) |
| Modifier and Type | Method and Description |
|---|---|
Contact |
addContact(long userId,
String className,
long classPK,
String emailAddress,
String firstName,
String middleName,
String lastName,
long prefixListTypeId,
long suffixListTypeId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String facebookSn,
String jabberSn,
String skypeSn,
String twitterSn,
String jobTitle) |
List<Contact> |
getCompanyContacts(long companyId,
int start,
int end) |
int |
getCompanyContactsCount(long companyId) |
Contact |
getContact(long contactId) |
List<Contact> |
getContacts(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<Contact> orderByComparator) |
int |
getContactsCount(long classNameId,
long classPK) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
ContactService |
getWrappedService() |
void |
setWrappedService(ContactService contactService) |
Contact |
updateContact(long contactId,
String emailAddress,
String firstName,
String middleName,
String lastName,
long prefixListTypeId,
long suffixListTypeId,
boolean male,
int birthdayMonth,
int birthdayDay,
int birthdayYear,
String smsSn,
String facebookSn,
String jabberSn,
String skypeSn,
String twitterSn,
String jobTitle) |
public ContactServiceWrapper()
public ContactServiceWrapper(ContactService contactService)
public Contact addContact(long userId, String className, long classPK, String emailAddress, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle) throws PortalException
addContact in interface ContactServicePortalExceptionpublic List<Contact> getCompanyContacts(long companyId, int start, int end) throws PortalException
getCompanyContacts in interface ContactServicePortalExceptionpublic int getCompanyContactsCount(long companyId)
getCompanyContactsCount in interface ContactServicepublic Contact getContact(long contactId) throws PortalException
getContact in interface ContactServicePortalExceptionpublic List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator) throws PortalException
getContacts in interface ContactServicePortalExceptionpublic int getContactsCount(long classNameId,
long classPK)
throws PortalException
getContactsCount in interface ContactServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface ContactServicepublic Contact updateContact(long contactId, String emailAddress, String firstName, String middleName, String lastName, long prefixListTypeId, long suffixListTypeId, boolean male, int birthdayMonth, int birthdayDay, int birthdayYear, String smsSn, String facebookSn, String jabberSn, String skypeSn, String twitterSn, String jobTitle) throws PortalException
updateContact in interface ContactServicePortalExceptionpublic ContactService getWrappedService()
getWrappedService in interface ServiceWrapper<ContactService>public void setWrappedService(ContactService contactService)
setWrappedService in interface ServiceWrapper<ContactService>