1
22
23 package com.liferay.portal.service;
24
25
26
47 public class ContactLocalServiceUtil {
48 public static com.liferay.portal.model.Contact addContact(
49 com.liferay.portal.model.Contact contact)
50 throws com.liferay.portal.SystemException {
51 return _service.addContact(contact);
52 }
53
54 public static void deleteContact(long contactId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteContact(contactId);
58 }
59
60 public static void deleteContact(com.liferay.portal.model.Contact contact)
61 throws com.liferay.portal.SystemException {
62 _service.deleteContact(contact);
63 }
64
65 public static java.util.List<Object> dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.SystemException {
68 return _service.dynamicQuery(dynamicQuery);
69 }
70
71 public static java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73 int end) throws com.liferay.portal.SystemException {
74 return _service.dynamicQuery(dynamicQuery, start, end);
75 }
76
77 public static com.liferay.portal.model.Contact getContact(long contactId)
78 throws com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException {
80 return _service.getContact(contactId);
81 }
82
83 public static java.util.List<com.liferay.portal.model.Contact> getContacts(
84 int start, int end) throws com.liferay.portal.SystemException {
85 return _service.getContacts(start, end);
86 }
87
88 public static int getContactsCount()
89 throws com.liferay.portal.SystemException {
90 return _service.getContactsCount();
91 }
92
93 public static com.liferay.portal.model.Contact updateContact(
94 com.liferay.portal.model.Contact contact)
95 throws com.liferay.portal.SystemException {
96 return _service.updateContact(contact);
97 }
98
99 public static ContactLocalService getService() {
100 return _service;
101 }
102
103 public void setService(ContactLocalService service) {
104 _service = service;
105 }
106
107 private static ContactLocalService _service;
108 }