@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface ContactService extends BaseService
ContactServiceUtil
Modifier and Type | Method and Description |
---|---|
List<Contact> |
getCompanyContacts(long companyId,
int start,
int end)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
int |
getCompanyContactsCount(long companyId) |
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.
|
@Transactional(propagation=SUPPORTS, readOnly=true) List<Contact> getCompanyContacts(long companyId, int start, int end) throws PortalException
ContactServiceUtil
to access the contact remote service. Add custom service methods to com.liferay.portal.service.impl.ContactServiceImpl
and rerun ServiceBuilder to automatically copy the method declarations to this interface.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCompanyContactsCount(long companyId)
@Transactional(propagation=SUPPORTS, readOnly=true) Contact getContact(long contactId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Contact> getContacts(long classNameId, long classPK, int start, int end, OrderByComparator<Contact> orderByComparator) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getContactsCount(long classNameId, long classPK) throws PortalException
PortalException
String getOSGiServiceIdentifier()