Class ContactServiceWrapper
Object
com.liferay.portal.kernel.service.ContactServiceWrapper
- All Implemented Interfaces:
BaseService,ContactService,ServiceWrapper<ContactService>
public class ContactServiceWrapper
extends Object
implements ContactService, ServiceWrapper<ContactService>
Provides a wrapper for
ContactService.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddContact(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) getCompanyContacts(long companyId, int start, int end) intgetCompanyContactsCount(long companyId) getContact(long contactId) getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator) intgetContactsCount(long classNameId, long classPK) Returns the OSGi service identifier.voidsetWrappedService(ContactService contactService) 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)
-
Constructor Details
-
ContactServiceWrapper
public ContactServiceWrapper() -
ContactServiceWrapper
-
-
Method Details
-
addContact
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 - Specified by:
addContactin interfaceContactService- Throws:
PortalException
-
getCompanyContacts
- Specified by:
getCompanyContactsin interfaceContactService- Throws:
PortalException
-
getCompanyContactsCount
public int getCompanyContactsCount(long companyId) - Specified by:
getCompanyContactsCountin interfaceContactService
-
getContact
- Specified by:
getContactin interfaceContactService- Throws:
PortalException
-
getContacts
public List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator) throws PortalException - Specified by:
getContactsin interfaceContactService- Throws:
PortalException
-
getContactsCount
- Specified by:
getContactsCountin interfaceContactService- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceContactService- Returns:
- the OSGi service identifier
-
updateContact
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 - Specified by:
updateContactin interfaceContactService- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedServicein interfaceServiceWrapper<ContactService>
-
setWrappedService
- Specified by:
setWrappedServicein interfaceServiceWrapper<ContactService>
-