com.liferay.portal.kernel.service
Class ContactServiceUtil
java.lang.Object
com.liferay.portal.kernel.service.ContactServiceUtil
@ProviderType
public class ContactServiceUtil
- extends Object
Provides the remote service utility for Contact. This utility wraps
com.liferay.portal.service.impl.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.
- See Also:
ContactService,
com.liferay.portal.service.base.ContactServiceBaseImpl,
com.liferay.portal.service.impl.ContactServiceImpl- {$generated.description}
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContactServiceUtil
public ContactServiceUtil()
getContact
public static Contact getContact(long contactId)
throws PortalException
- Throws:
PortalException
getContactsCount
public static int getContactsCount(long classNameId,
long classPK)
throws PortalException
- Throws:
PortalException
getOSGiServiceIdentifier
public static String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Returns:
- the OSGi service identifier
getContacts
public static List<Contact> getContacts(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<Contact> orderByComparator)
throws PortalException
- Throws:
PortalException
getService
public static ContactService getService()