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