com.liferay.portal.service
Class ContactServiceUtil
java.lang.Object
com.liferay.portal.service.ContactServiceUtil
@ProviderType
public class ContactServiceUtil
- extends Object
Provides the remote service utility for Contact. This utility wraps
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,
ContactServiceBaseImpl,
ContactServiceImpl- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
| 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
getContacts
public static List<Contact> getContacts(long classNameId,
long classPK,
int start,
int end,
OrderByComparator<Contact> orderByComparator)
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
getService
public static ContactService getService()