Liferay 6.2.0

com.liferay.portal.service
Interface ContactService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ContactServiceWrapper

@ProviderType
@AccessControlled
@JSONWebService
@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
abstract  String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
abstract  Contact getContact(long contactId)
           
abstract  List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator orderByComparator)
           
abstract  int getContactsCount(long classNameId, long classPK)
           
abstract  void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

getContact

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

getContacts

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

getContactsCount

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

Liferay 6.2.0