1
22
23 package com.liferay.portlet.expando.service;
24
25
26
47 public class ExpandoColumnLocalServiceUtil {
48 public static com.liferay.portlet.expando.model.ExpandoColumn addExpandoColumn(
49 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
50 throws com.liferay.portal.SystemException {
51 return getService().addExpandoColumn(expandoColumn);
52 }
53
54 public static com.liferay.portlet.expando.model.ExpandoColumn createExpandoColumn(
55 long columnId) {
56 return getService().createExpandoColumn(columnId);
57 }
58
59 public static void deleteExpandoColumn(long columnId)
60 throws com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException {
62 getService().deleteExpandoColumn(columnId);
63 }
64
65 public static void deleteExpandoColumn(
66 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
67 throws com.liferay.portal.SystemException {
68 getService().deleteExpandoColumn(expandoColumn);
69 }
70
71 public static java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73 throws com.liferay.portal.SystemException {
74 return getService().dynamicQuery(dynamicQuery);
75 }
76
77 public static java.util.List<Object> dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end) throws com.liferay.portal.SystemException {
80 return getService().dynamicQuery(dynamicQuery, start, end);
81 }
82
83 public static com.liferay.portlet.expando.model.ExpandoColumn getExpandoColumn(
84 long columnId)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException {
87 return getService().getExpandoColumn(columnId);
88 }
89
90 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getExpandoColumns(
91 int start, int end) throws com.liferay.portal.SystemException {
92 return getService().getExpandoColumns(start, end);
93 }
94
95 public static int getExpandoColumnsCount()
96 throws com.liferay.portal.SystemException {
97 return getService().getExpandoColumnsCount();
98 }
99
100 public static com.liferay.portlet.expando.model.ExpandoColumn updateExpandoColumn(
101 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
102 throws com.liferay.portal.SystemException {
103 return getService().updateExpandoColumn(expandoColumn);
104 }
105
106 public static com.liferay.portlet.expando.model.ExpandoColumn addColumn(
107 long tableId, java.lang.String name, int type)
108 throws com.liferay.portal.PortalException,
109 com.liferay.portal.SystemException {
110 return getService().addColumn(tableId, name, type);
111 }
112
113 public static com.liferay.portlet.expando.model.ExpandoColumn addColumn(
114 long tableId, java.lang.String name, int type,
115 java.lang.Object defaultData)
116 throws com.liferay.portal.PortalException,
117 com.liferay.portal.SystemException {
118 return getService().addColumn(tableId, name, type, defaultData);
119 }
120
121 public static void deleteColumn(long columnId)
122 throws com.liferay.portal.PortalException,
123 com.liferay.portal.SystemException {
124 getService().deleteColumn(columnId);
125 }
126
127 public static void deleteColumn(long tableId, java.lang.String name)
128 throws com.liferay.portal.PortalException,
129 com.liferay.portal.SystemException {
130 getService().deleteColumn(tableId, name);
131 }
132
133 public static void deleteColumn(java.lang.String className,
134 java.lang.String tableName, java.lang.String name)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 getService().deleteColumn(className, tableName, name);
138 }
139
140 public static void deleteColumn(long classNameId,
141 java.lang.String tableName, java.lang.String name)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException {
144 getService().deleteColumn(classNameId, tableName, name);
145 }
146
147 public static void deleteColumns(long tableId)
148 throws com.liferay.portal.PortalException,
149 com.liferay.portal.SystemException {
150 getService().deleteColumns(tableId);
151 }
152
153 public static void deleteColumns(java.lang.String className,
154 java.lang.String tableName)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException {
157 getService().deleteColumns(className, tableName);
158 }
159
160 public static void deleteColumns(long classNameId,
161 java.lang.String tableName)
162 throws com.liferay.portal.PortalException,
163 com.liferay.portal.SystemException {
164 getService().deleteColumns(classNameId, tableName);
165 }
166
167 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
168 long columnId)
169 throws com.liferay.portal.PortalException,
170 com.liferay.portal.SystemException {
171 return getService().getColumn(columnId);
172 }
173
174 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
175 long tableId, java.lang.String name)
176 throws com.liferay.portal.PortalException,
177 com.liferay.portal.SystemException {
178 return getService().getColumn(tableId, name);
179 }
180
181 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
182 java.lang.String className, java.lang.String tableName,
183 java.lang.String name) throws com.liferay.portal.SystemException {
184 return getService().getColumn(className, tableName, name);
185 }
186
187 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
188 long classNameId, java.lang.String tableName, java.lang.String name)
189 throws com.liferay.portal.SystemException {
190 return getService().getColumn(classNameId, tableName, name);
191 }
192
193 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
194 long tableId) throws com.liferay.portal.SystemException {
195 return getService().getColumns(tableId);
196 }
197
198 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
199 java.lang.String className, java.lang.String tableName)
200 throws com.liferay.portal.SystemException {
201 return getService().getColumns(className, tableName);
202 }
203
204 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
205 long classNameId, java.lang.String tableName)
206 throws com.liferay.portal.SystemException {
207 return getService().getColumns(classNameId, tableName);
208 }
209
210 public static int getColumnsCount(long tableId)
211 throws com.liferay.portal.SystemException {
212 return getService().getColumnsCount(tableId);
213 }
214
215 public static int getColumnsCount(java.lang.String className,
216 java.lang.String tableName) throws com.liferay.portal.SystemException {
217 return getService().getColumnsCount(className, tableName);
218 }
219
220 public static int getColumnsCount(long classNameId,
221 java.lang.String tableName) throws com.liferay.portal.SystemException {
222 return getService().getColumnsCount(classNameId, tableName);
223 }
224
225 public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
226 java.lang.String className, java.lang.String name)
227 throws com.liferay.portal.SystemException {
228 return getService().getDefaultTableColumn(className, name);
229 }
230
231 public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
232 long classNameId, java.lang.String name)
233 throws com.liferay.portal.SystemException {
234 return getService().getDefaultTableColumn(classNameId, name);
235 }
236
237 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
238 java.lang.String className) throws com.liferay.portal.SystemException {
239 return getService().getDefaultTableColumns(className);
240 }
241
242 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
243 long classNameId) throws com.liferay.portal.SystemException {
244 return getService().getDefaultTableColumns(classNameId);
245 }
246
247 public static int getDefaultTableColumnsCount(java.lang.String className)
248 throws com.liferay.portal.SystemException {
249 return getService().getDefaultTableColumnsCount(className);
250 }
251
252 public static int getDefaultTableColumnsCount(long classNameId)
253 throws com.liferay.portal.SystemException {
254 return getService().getDefaultTableColumnsCount(classNameId);
255 }
256
257 public static com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
258 long columnId, java.lang.String name, int type)
259 throws com.liferay.portal.PortalException,
260 com.liferay.portal.SystemException {
261 return getService().updateColumn(columnId, name, type);
262 }
263
264 public static com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
265 long columnId, java.lang.String name, int type,
266 java.lang.Object defaultData)
267 throws com.liferay.portal.PortalException,
268 com.liferay.portal.SystemException {
269 return getService().updateColumn(columnId, name, type, defaultData);
270 }
271
272 public static com.liferay.portlet.expando.model.ExpandoColumn updateTypeSettings(
273 long columnId, java.lang.String typeSettings)
274 throws com.liferay.portal.PortalException,
275 com.liferay.portal.SystemException {
276 return getService().updateTypeSettings(columnId, typeSettings);
277 }
278
279 public static ExpandoColumnLocalService getService() {
280 if (_service == null) {
281 throw new RuntimeException("ExpandoColumnLocalService is not set");
282 }
283
284 return _service;
285 }
286
287 public void setService(ExpandoColumnLocalService service) {
288 _service = service;
289 }
290
291 private static ExpandoColumnLocalService _service;
292 }