1
14
15 package com.liferay.portlet.expando.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class ExpandoColumnLocalServiceUtil {
40 public static com.liferay.portlet.expando.model.ExpandoColumn addExpandoColumn(
41 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
42 throws com.liferay.portal.SystemException {
43 return getService().addExpandoColumn(expandoColumn);
44 }
45
46 public static com.liferay.portlet.expando.model.ExpandoColumn createExpandoColumn(
47 long columnId) {
48 return getService().createExpandoColumn(columnId);
49 }
50
51 public static void deleteExpandoColumn(long columnId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 getService().deleteExpandoColumn(columnId);
55 }
56
57 public static void deleteExpandoColumn(
58 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
59 throws com.liferay.portal.SystemException {
60 getService().deleteExpandoColumn(expandoColumn);
61 }
62
63 public static java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.SystemException {
66 return getService().dynamicQuery(dynamicQuery);
67 }
68
69 public static java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.SystemException {
72 return getService().dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public static com.liferay.portlet.expando.model.ExpandoColumn getExpandoColumn(
76 long columnId)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException {
79 return getService().getExpandoColumn(columnId);
80 }
81
82 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getExpandoColumns(
83 int start, int end) throws com.liferay.portal.SystemException {
84 return getService().getExpandoColumns(start, end);
85 }
86
87 public static int getExpandoColumnsCount()
88 throws com.liferay.portal.SystemException {
89 return getService().getExpandoColumnsCount();
90 }
91
92 public static com.liferay.portlet.expando.model.ExpandoColumn updateExpandoColumn(
93 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn)
94 throws com.liferay.portal.SystemException {
95 return getService().updateExpandoColumn(expandoColumn);
96 }
97
98 public static com.liferay.portlet.expando.model.ExpandoColumn updateExpandoColumn(
99 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn,
100 boolean merge) throws com.liferay.portal.SystemException {
101 return getService().updateExpandoColumn(expandoColumn, merge);
102 }
103
104 public static com.liferay.portlet.expando.model.ExpandoColumn addColumn(
105 long tableId, java.lang.String name, int type)
106 throws com.liferay.portal.PortalException,
107 com.liferay.portal.SystemException {
108 return getService().addColumn(tableId, name, type);
109 }
110
111 public static void deleteColumn(
112 com.liferay.portlet.expando.model.ExpandoColumn column)
113 throws com.liferay.portal.SystemException {
114 getService().deleteColumn(column);
115 }
116
117 public static void deleteColumn(long columnId)
118 throws com.liferay.portal.PortalException,
119 com.liferay.portal.SystemException {
120 getService().deleteColumn(columnId);
121 }
122
123 public static void deleteColumn(long tableId, java.lang.String name)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException {
126 getService().deleteColumn(tableId, name);
127 }
128
129 public static void deleteColumn(long classNameId,
130 java.lang.String tableName, java.lang.String name)
131 throws com.liferay.portal.PortalException,
132 com.liferay.portal.SystemException {
133 getService().deleteColumn(classNameId, tableName, name);
134 }
135
136 public static void deleteColumn(java.lang.String className,
137 java.lang.String tableName, java.lang.String name)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException {
140 getService().deleteColumn(className, tableName, name);
141 }
142
143 public static void deleteColumns(long tableId)
144 throws 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 _service = (ExpandoColumnLocalService)PortalBeanLocatorUtil.locate(ExpandoColumnLocalService.class.getName());
262 }
263
264 return _service;
265 }
266
267 public void setService(ExpandoColumnLocalService service) {
268 _service = service;
269 }
270
271 private static ExpandoColumnLocalService _service;
272 }