com.liferay.portal.service
Interface ContactLocalService


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:
ContactLocalServiceFactory, ContactLocalServiceUtil

Method Summary
 Contact addContact(Contact contact)
           
 void deleteContact(Contact contact)
           
 void deleteContact(long contactId)
           
 java.util.List<Contact> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<Contact> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 Contact getContact(long contactId)
           
 Contact updateContact(Contact contact)
           
 

Method Detail

addContact

Contact addContact(Contact contact)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteContact

void deleteContact(long contactId)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteContact

void deleteContact(Contact contact)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<Contact> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<Contact> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                     int begin,
                                     int end)
                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateContact

Contact updateContact(Contact contact)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getContact

Contact getContact(long contactId)
                   throws com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException