public class ContactServiceUtil
extends Object
com.liferay.portal.service.impl.ContactServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.ContactService
Constructor and Description |
---|
ContactServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static List<Contact> |
getCompanyContacts(long companyId,
int start,
int end)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
static int |
getCompanyContactsCount(long companyId) |
static Contact |
getContact(long contactId) |
static List<Contact> |
getContacts(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<Contact> orderByComparator) |
static int |
getContactsCount(long classNameId,
long classPK) |
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ContactService |
getService() |
public static 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.PortalException
public static int getCompanyContactsCount(long companyId)
public static Contact getContact(long contactId) throws PortalException
PortalException
public static List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator) throws PortalException
PortalException
public static int getContactsCount(long classNameId, long classPK) throws PortalException
PortalException
public static String getOSGiServiceIdentifier()
public static ContactService getService()