Liferay 7.0-ce-b4

com.liferay.portal.service
Class ContactServiceUtil

java.lang.Object
  extended by com.liferay.portal.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, ContactServiceBaseImpl, com.liferay.portal.service.impl.ContactServiceImpl

Constructor Summary
ContactServiceUtil()
           
 
Method Summary
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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactServiceUtil

public ContactServiceUtil()
Method Detail

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()

Liferay 7.0-ce-b4