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 ContactService
PortalException
public List<Contact> getCompanyContacts(long companyId, int start, int end) throws PortalException
getCompanyContacts
in interface ContactService
PortalException
public int getCompanyContactsCount(long companyId)
getCompanyContactsCount
in interface ContactService
public Contact getContact(long contactId) throws PortalException
getContact
in interface ContactService
PortalException
public List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator) throws PortalException
getContacts
in interface ContactService
PortalException
public int getContactsCount(long classNameId, long classPK) throws PortalException
getContactsCount
in interface ContactService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface ContactService
public 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 ContactService
PortalException
public ContactService getWrappedService()
getWrappedService
in interface ServiceWrapper<ContactService>
public void setWrappedService(ContactService contactService)
setWrappedService
in interface ServiceWrapper<ContactService>