1
14
15 package com.liferay.portal.service;
16
17
18
34 public class PhoneLocalServiceWrapper implements PhoneLocalService {
35 public PhoneLocalServiceWrapper(PhoneLocalService phoneLocalService) {
36 _phoneLocalService = phoneLocalService;
37 }
38
39 public com.liferay.portal.model.Phone addPhone(
40 com.liferay.portal.model.Phone phone)
41 throws com.liferay.portal.SystemException {
42 return _phoneLocalService.addPhone(phone);
43 }
44
45 public com.liferay.portal.model.Phone createPhone(long phoneId) {
46 return _phoneLocalService.createPhone(phoneId);
47 }
48
49 public void deletePhone(long phoneId)
50 throws com.liferay.portal.PortalException,
51 com.liferay.portal.SystemException {
52 _phoneLocalService.deletePhone(phoneId);
53 }
54
55 public void deletePhone(com.liferay.portal.model.Phone phone)
56 throws com.liferay.portal.SystemException {
57 _phoneLocalService.deletePhone(phone);
58 }
59
60 public java.util.List<Object> dynamicQuery(
61 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62 throws com.liferay.portal.SystemException {
63 return _phoneLocalService.dynamicQuery(dynamicQuery);
64 }
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68 int end) throws com.liferay.portal.SystemException {
69 return _phoneLocalService.dynamicQuery(dynamicQuery, start, end);
70 }
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end,
75 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76 throws com.liferay.portal.SystemException {
77 return _phoneLocalService.dynamicQuery(dynamicQuery, start, end,
78 orderByComparator);
79 }
80
81 public int dynamicQueryCount(
82 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
83 throws com.liferay.portal.SystemException {
84 return _phoneLocalService.dynamicQueryCount(dynamicQuery);
85 }
86
87 public com.liferay.portal.model.Phone getPhone(long phoneId)
88 throws com.liferay.portal.PortalException,
89 com.liferay.portal.SystemException {
90 return _phoneLocalService.getPhone(phoneId);
91 }
92
93 public java.util.List<com.liferay.portal.model.Phone> getPhones(int start,
94 int end) throws com.liferay.portal.SystemException {
95 return _phoneLocalService.getPhones(start, end);
96 }
97
98 public int getPhonesCount() throws com.liferay.portal.SystemException {
99 return _phoneLocalService.getPhonesCount();
100 }
101
102 public com.liferay.portal.model.Phone updatePhone(
103 com.liferay.portal.model.Phone phone)
104 throws com.liferay.portal.SystemException {
105 return _phoneLocalService.updatePhone(phone);
106 }
107
108 public com.liferay.portal.model.Phone updatePhone(
109 com.liferay.portal.model.Phone phone, boolean merge)
110 throws com.liferay.portal.SystemException {
111 return _phoneLocalService.updatePhone(phone, merge);
112 }
113
114 public com.liferay.portal.model.Phone addPhone(long userId,
115 java.lang.String className, long classPK, java.lang.String number,
116 java.lang.String extension, int typeId, boolean primary)
117 throws com.liferay.portal.PortalException,
118 com.liferay.portal.SystemException {
119 return _phoneLocalService.addPhone(userId, className, classPK, number,
120 extension, typeId, primary);
121 }
122
123 public void deletePhones(long companyId, java.lang.String className,
124 long classPK) throws com.liferay.portal.SystemException {
125 _phoneLocalService.deletePhones(companyId, className, classPK);
126 }
127
128 public java.util.List<com.liferay.portal.model.Phone> getPhones()
129 throws com.liferay.portal.SystemException {
130 return _phoneLocalService.getPhones();
131 }
132
133 public java.util.List<com.liferay.portal.model.Phone> getPhones(
134 long companyId, java.lang.String className, long classPK)
135 throws com.liferay.portal.SystemException {
136 return _phoneLocalService.getPhones(companyId, className, classPK);
137 }
138
139 public com.liferay.portal.model.Phone updatePhone(long phoneId,
140 java.lang.String number, java.lang.String extension, int typeId,
141 boolean primary)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException {
144 return _phoneLocalService.updatePhone(phoneId, number, extension,
145 typeId, primary);
146 }
147
148 public PhoneLocalService getWrappedPhoneLocalService() {
149 return _phoneLocalService;
150 }
151
152 private PhoneLocalService _phoneLocalService;
153 }