com.liferay.portal.service
Interface ContactLocalService
- All Known Implementing Classes:
- ContactLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface ContactLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.ContactLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
ContactLocalServiceUtil
- Generated:
addContact
Contact addContact(Contact contact)
throws SystemException
- Throws:
SystemException
createContact
Contact createContact(long contactId)
deleteContact
void deleteContact(long contactId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteContact
void deleteContact(Contact contact)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getContact
@Transactional(propagation=SUPPORTS,
readOnly=true)
Contact getContact(long contactId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getContacts
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Contact> getContacts(int start,
int end)
throws SystemException
- Throws:
SystemException
getContactsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getContactsCount()
throws SystemException
- Throws:
SystemException
updateContact
Contact updateContact(Contact contact)
throws SystemException
- Throws:
SystemException
updateContact
Contact updateContact(Contact contact,
boolean merge)
throws SystemException
- Throws:
SystemException