1
22
23 package com.liferay.portlet.expando.service;
24
25
26
53 public class ExpandoRowLocalServiceUtil {
54 public static com.liferay.portlet.expando.model.ExpandoRow addExpandoRow(
55 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
56 throws com.liferay.portal.SystemException {
57 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
58
59 return expandoRowLocalService.addExpandoRow(expandoRow);
60 }
61
62 public static void deleteExpandoRow(long rowId)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException {
65 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
66
67 expandoRowLocalService.deleteExpandoRow(rowId);
68 }
69
70 public static void deleteExpandoRow(
71 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
72 throws com.liferay.portal.SystemException {
73 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
74
75 expandoRowLocalService.deleteExpandoRow(expandoRow);
76 }
77
78 public static java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
80 throws com.liferay.portal.SystemException {
81 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
82
83 return expandoRowLocalService.dynamicQuery(dynamicQuery);
84 }
85
86 public static java.util.List<Object> dynamicQuery(
87 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
88 int end) throws com.liferay.portal.SystemException {
89 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
90
91 return expandoRowLocalService.dynamicQuery(dynamicQuery, start, end);
92 }
93
94 public static com.liferay.portlet.expando.model.ExpandoRow getExpandoRow(
95 long rowId)
96 throws com.liferay.portal.PortalException,
97 com.liferay.portal.SystemException {
98 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
99
100 return expandoRowLocalService.getExpandoRow(rowId);
101 }
102
103 public static com.liferay.portlet.expando.model.ExpandoRow updateExpandoRow(
104 com.liferay.portlet.expando.model.ExpandoRow expandoRow)
105 throws com.liferay.portal.SystemException {
106 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
107
108 return expandoRowLocalService.updateExpandoRow(expandoRow);
109 }
110
111 public static com.liferay.portlet.expando.model.ExpandoRow addRow(
112 long tableId, long classPK) throws com.liferay.portal.SystemException {
113 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
114
115 return expandoRowLocalService.addRow(tableId, classPK);
116 }
117
118 public static void deleteRow(long rowId)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException {
121 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
122
123 expandoRowLocalService.deleteRow(rowId);
124 }
125
126 public static void deleteRow(long tableId, long classPK)
127 throws com.liferay.portal.PortalException,
128 com.liferay.portal.SystemException {
129 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
130
131 expandoRowLocalService.deleteRow(tableId, classPK);
132 }
133
134 public static void deleteRow(java.lang.String className,
135 java.lang.String tableName, long classPK)
136 throws com.liferay.portal.PortalException,
137 com.liferay.portal.SystemException {
138 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
139
140 expandoRowLocalService.deleteRow(className, tableName, classPK);
141 }
142
143 public static void deleteRow(long classNameId, java.lang.String tableName,
144 long classPK)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException {
147 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
148
149 expandoRowLocalService.deleteRow(classNameId, tableName, classPK);
150 }
151
152 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
153 java.lang.String className, int start, int end)
154 throws com.liferay.portal.SystemException {
155 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
156
157 return expandoRowLocalService.getDefaultTableRows(className, start, end);
158 }
159
160 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
161 long classNameId, int start, int end)
162 throws com.liferay.portal.SystemException {
163 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
164
165 return expandoRowLocalService.getDefaultTableRows(classNameId, start,
166 end);
167 }
168
169 public static int getDefaultTableRowsCount(java.lang.String className)
170 throws com.liferay.portal.SystemException {
171 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
172
173 return expandoRowLocalService.getDefaultTableRowsCount(className);
174 }
175
176 public static int getDefaultTableRowsCount(long classNameId)
177 throws com.liferay.portal.SystemException {
178 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
179
180 return expandoRowLocalService.getDefaultTableRowsCount(classNameId);
181 }
182
183 public static com.liferay.portlet.expando.model.ExpandoRow getRow(
184 long rowId)
185 throws com.liferay.portal.PortalException,
186 com.liferay.portal.SystemException {
187 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
188
189 return expandoRowLocalService.getRow(rowId);
190 }
191
192 public static com.liferay.portlet.expando.model.ExpandoRow getRow(
193 long tableId, long classPK)
194 throws com.liferay.portal.PortalException,
195 com.liferay.portal.SystemException {
196 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
197
198 return expandoRowLocalService.getRow(tableId, classPK);
199 }
200
201 public static com.liferay.portlet.expando.model.ExpandoRow getRow(
202 java.lang.String className, java.lang.String tableName, long classPK)
203 throws com.liferay.portal.SystemException {
204 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
205
206 return expandoRowLocalService.getRow(className, tableName, classPK);
207 }
208
209 public static com.liferay.portlet.expando.model.ExpandoRow getRow(
210 long classNameId, java.lang.String tableName, long classPK)
211 throws com.liferay.portal.SystemException {
212 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
213
214 return expandoRowLocalService.getRow(classNameId, tableName, classPK);
215 }
216
217 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
218 long tableId, int start, int end)
219 throws com.liferay.portal.SystemException {
220 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
221
222 return expandoRowLocalService.getRows(tableId, start, end);
223 }
224
225 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
226 java.lang.String className, java.lang.String tableName, int start,
227 int end) throws com.liferay.portal.SystemException {
228 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
229
230 return expandoRowLocalService.getRows(className, tableName, start, end);
231 }
232
233 public static java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
234 long classNameId, java.lang.String tableName, int start, int end)
235 throws com.liferay.portal.SystemException {
236 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
237
238 return expandoRowLocalService.getRows(classNameId, tableName, start, end);
239 }
240
241 public static int getRowsCount(long tableId)
242 throws com.liferay.portal.SystemException {
243 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
244
245 return expandoRowLocalService.getRowsCount(tableId);
246 }
247
248 public static int getRowsCount(java.lang.String className,
249 java.lang.String tableName) throws com.liferay.portal.SystemException {
250 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
251
252 return expandoRowLocalService.getRowsCount(className, tableName);
253 }
254
255 public static int getRowsCount(long classNameId, java.lang.String tableName)
256 throws com.liferay.portal.SystemException {
257 ExpandoRowLocalService expandoRowLocalService = ExpandoRowLocalServiceFactory.getService();
258
259 return expandoRowLocalService.getRowsCount(classNameId, tableName);
260 }
261 }