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) int
getCompanyContactsCount
(long companyId) getContact
(long contactId) getContacts
(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator) int
getContactsCount
(long classNameId, long classPK) Returns the OSGi service identifier.void
setWrappedService
(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:
addContact
in interfaceContactService
- Throws:
PortalException
-
getCompanyContacts
- Specified by:
getCompanyContacts
in interfaceContactService
- Throws:
PortalException
-
getCompanyContactsCount
public int getCompanyContactsCount(long companyId) - Specified by:
getCompanyContactsCount
in interfaceContactService
-
getContact
- Specified by:
getContact
in interfaceContactService
- Throws:
PortalException
-
getContacts
public List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator) throws PortalException - Specified by:
getContacts
in interfaceContactService
- Throws:
PortalException
-
getContactsCount
- Specified by:
getContactsCount
in interfaceContactService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in 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:
updateContact
in interfaceContactService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<ContactService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<ContactService>
-