public class ContactServiceWrapper extends Object implements ContactService, ServiceWrapper<ContactService>
ContactService
.ContactService
Constructor and Description |
---|
ContactServiceWrapper(ContactService contactService) |
Modifier and Type | Method and Description |
---|---|
List<Contact> |
getCompanyContacts(long companyId,
int start,
int end)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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) |
public ContactServiceWrapper(ContactService contactService)
public List<Contact> getCompanyContacts(long companyId, int start, int end) throws PortalException
ContactServiceUtil
to access the contact remote service. Add custom service methods to com.liferay.portal.service.impl.ContactServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.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 ContactService getWrappedService()
getWrappedService
in interface ServiceWrapper<ContactService>
public void setWrappedService(ContactService contactService)
setWrappedService
in interface ServiceWrapper<ContactService>