1
19
20 package com.liferay.portlet.expando.service;
21
22
23
44 public class ExpandoColumnLocalServiceUtil {
45 public static com.liferay.portlet.expando.model.ExpandoColumn addExpandoColumn(
46 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
47 throws com.liferay.portal.SystemException {
48 return getService().addExpandoColumn(expandoColumn);
49 }
50
51 public static com.liferay.portlet.expando.model.ExpandoColumn createExpandoColumn(
52 long columnId) {
53 return getService().createExpandoColumn(columnId);
54 }
55
56 public static void deleteExpandoColumn(long columnId)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException {
59 getService().deleteExpandoColumn(columnId);
60 }
61
62 public static void deleteExpandoColumn(
63 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
64 throws com.liferay.portal.SystemException {
65 getService().deleteExpandoColumn(expandoColumn);
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.ExpandoColumn getExpandoColumn(
81 long columnId)
82 throws com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException {
84 return getService().getExpandoColumn(columnId);
85 }
86
87 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getExpandoColumns(
88 int start, int end) throws com.liferay.portal.SystemException {
89 return getService().getExpandoColumns(start, end);
90 }
91
92 public static int getExpandoColumnsCount()
93 throws com.liferay.portal.SystemException {
94 return getService().getExpandoColumnsCount();
95 }
96
97 public static com.liferay.portlet.expando.model.ExpandoColumn updateExpandoColumn(
98 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
99 throws com.liferay.portal.SystemException {
100 return getService().updateExpandoColumn(expandoColumn);
101 }
102
103 public static com.liferay.portlet.expando.model.ExpandoColumn updateExpandoColumn(
104 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn,
105 boolean merge) throws com.liferay.portal.SystemException {
106 return getService().updateExpandoColumn(expandoColumn, merge);
107 }
108
109 public static com.liferay.portlet.expando.model.ExpandoColumn addColumn(
110 long tableId, java.lang.String name, int type)
111 throws com.liferay.portal.PortalException,
112 com.liferay.portal.SystemException {
113 return getService().addColumn(tableId, name, type);
114 }
115
116 public static void deleteColumn(long columnId)
117 throws com.liferay.portal.PortalException,
118 com.liferay.portal.SystemException {
119 getService().deleteColumn(columnId);
120 }
121
122 public static void deleteColumn(long tableId, java.lang.String name)
123 throws com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException {
125 getService().deleteColumn(tableId, name);
126 }
127
128 public static void deleteColumn(long classNameId,
129 java.lang.String tableName, java.lang.String name)
130 throws com.liferay.portal.PortalException,
131 com.liferay.portal.SystemException {
132 getService().deleteColumn(classNameId, tableName, name);
133 }
134
135 public static void deleteColumn(java.lang.String className,
136 java.lang.String tableName, java.lang.String name)
137 throws com.liferay.portal.PortalException,
138 com.liferay.portal.SystemException {
139 getService().deleteColumn(className, tableName, name);
140 }
141
142 public static void deleteColumns(long tableId)
143 throws com.liferay.portal.PortalException,
144 com.liferay.portal.SystemException {
145 getService().deleteColumns(tableId);
146 }
147
148 public static void deleteColumns(long classNameId,
149 java.lang.String tableName)
150 throws com.liferay.portal.PortalException,
151 com.liferay.portal.SystemException {
152 getService().deleteColumns(classNameId, tableName);
153 }
154
155 public static void deleteColumns(java.lang.String className,
156 java.lang.String tableName)
157 throws com.liferay.portal.PortalException,
158 com.liferay.portal.SystemException {
159 getService().deleteColumns(className, tableName);
160 }
161
162 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
163 long columnId)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException {
166 return getService().getColumn(columnId);
167 }
168
169 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
170 long tableId, java.lang.String name)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException {
173 return getService().getColumn(tableId, name);
174 }
175
176 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
177 long classNameId, java.lang.String tableName, java.lang.String name)
178 throws com.liferay.portal.SystemException {
179 return getService().getColumn(classNameId, tableName, name);
180 }
181
182 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
183 java.lang.String className, java.lang.String tableName,
184 java.lang.String name) throws com.liferay.portal.SystemException {
185 return getService().getColumn(className, tableName, name);
186 }
187
188 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
189 long tableId) throws com.liferay.portal.SystemException {
190 return getService().getColumns(tableId);
191 }
192
193 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
194 long classNameId, java.lang.String tableName)
195 throws com.liferay.portal.SystemException {
196 return getService().getColumns(classNameId, tableName);
197 }
198
199 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
200 java.lang.String className, java.lang.String tableName)
201 throws com.liferay.portal.SystemException {
202 return getService().getColumns(className, tableName);
203 }
204
205 public static int getColumnsCount(long tableId)
206 throws com.liferay.portal.SystemException {
207 return getService().getColumnsCount(tableId);
208 }
209
210 public static int getColumnsCount(long classNameId,
211 java.lang.String tableName) throws com.liferay.portal.SystemException {
212 return getService().getColumnsCount(classNameId, tableName);
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 com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
221 long classNameId, java.lang.String name)
222 throws com.liferay.portal.SystemException {
223 return getService().getDefaultTableColumn(classNameId, name);
224 }
225
226 public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
227 java.lang.String className, java.lang.String name)
228 throws com.liferay.portal.SystemException {
229 return getService().getDefaultTableColumn(className, name);
230 }
231
232 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
233 long classNameId) throws com.liferay.portal.SystemException {
234 return getService().getDefaultTableColumns(classNameId);
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 int getDefaultTableColumnsCount(long classNameId)
243 throws com.liferay.portal.SystemException {
244 return getService().getDefaultTableColumnsCount(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 com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
253 long columnId, java.lang.String name, int type)
254 throws com.liferay.portal.PortalException,
255 com.liferay.portal.SystemException {
256 return getService().updateColumn(columnId, name, type);
257 }
258
259 public static ExpandoColumnLocalService getService() {
260 if (_service == null) {
261 throw new RuntimeException("ExpandoColumnLocalService is not set");
262 }
263
264 return _service;
265 }
266
267 public void setService(ExpandoColumnLocalService service) {
268 _service = service;
269 }
270
271 private static ExpandoColumnLocalService _service;
272 }