@ProviderType
public class ContactServiceUtil
extends Object
ContactServiceImpl
and is the
primary 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
,
ContactServiceBaseImpl
,
ContactServiceImpl
Constructor and Description |
---|
ContactServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static List<Contact> |
getCompanyContacts(long companyId,
int start,
int end) |
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
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()