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