Liferay 7.0-ce-b4

com.liferay.portal.service
Interface ContactService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ContactServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface ContactService
extends BaseService

Provides the remote service interface for Contact. 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:
ContactServiceUtil, ContactServiceBaseImpl, com.liferay.portal.service.impl.ContactServiceImpl

Method Summary
 Contact getContact(long contactId)
           
 List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator)
           
 int getContactsCount(long classNameId, long classPK)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 

Method Detail

getContact

@Transactional(propagation=SUPPORTS,
               readOnly=true)
Contact getContact(long contactId)
                   throws PortalException
Throws:
PortalException

getContacts

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<Contact> getContacts(long classNameId,
                                                                   long classPK,
                                                                   int start,
                                                                   int end,
                                                                   OrderByComparator<Contact> orderByComparator)
                          throws PortalException
Throws:
PortalException

getContactsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getContactsCount(long classNameId,
                                                              long classPK)
                     throws PortalException
Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

Liferay 7.0-ce-b4