Liferay 7.0-ce-a2

com.liferay.portal.service
Interface ContactService

All Superinterfaces:
BaseService
All Known Implementing Classes:
ContactServiceBaseImpl, ContactServiceImpl, 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, ContactServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 Contact getContact(long contactId)
           
 List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator)
           
 int getContactsCount(long classNameId, long classPK)
           
 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

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

setBeanIdentifier

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

Parameters:
beanIdentifier - the Spring bean ID for this bean

Liferay 7.0-ce-a2