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 updateExpandoColumn(
107 com.liferay.portlet.expando.model.ExpandoColumn expandoColumn,
108 boolean merge) throws com.liferay.portal.SystemException {
109 return getService().updateExpandoColumn(expandoColumn, merge);
110 }
111
112 public static com.liferay.portlet.expando.model.ExpandoColumn addColumn(
113 long tableId, java.lang.String name, int type)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException {
116 return getService().addColumn(tableId, name, type);
117 }
118
119 public static void deleteColumn(long columnId)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 getService().deleteColumn(columnId);
123 }
124
125 public static void deleteColumn(long tableId, java.lang.String name)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException {
128 getService().deleteColumn(tableId, name);
129 }
130
131 public static void deleteColumn(long classNameId,
132 java.lang.String tableName, java.lang.String name)
133 throws com.liferay.portal.PortalException,
134 com.liferay.portal.SystemException {
135 getService().deleteColumn(classNameId, tableName, name);
136 }
137
138 public static void deleteColumn(java.lang.String className,
139 java.lang.String tableName, java.lang.String name)
140 throws com.liferay.portal.PortalException,
141 com.liferay.portal.SystemException {
142 getService().deleteColumn(className, tableName, name);
143 }
144
145 public static void deleteColumns(long tableId)
146 throws com.liferay.portal.PortalException,
147 com.liferay.portal.SystemException {
148 getService().deleteColumns(tableId);
149 }
150
151 public static void deleteColumns(long classNameId,
152 java.lang.String tableName)
153 throws com.liferay.portal.PortalException,
154 com.liferay.portal.SystemException {
155 getService().deleteColumns(classNameId, tableName);
156 }
157
158 public static void deleteColumns(java.lang.String className,
159 java.lang.String tableName)
160 throws com.liferay.portal.PortalException,
161 com.liferay.portal.SystemException {
162 getService().deleteColumns(className, tableName);
163 }
164
165 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
166 long columnId)
167 throws com.liferay.portal.PortalException,
168 com.liferay.portal.SystemException {
169 return getService().getColumn(columnId);
170 }
171
172 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
173 long tableId, java.lang.String name)
174 throws com.liferay.portal.PortalException,
175 com.liferay.portal.SystemException {
176 return getService().getColumn(tableId, name);
177 }
178
179 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
180 long classNameId, java.lang.String tableName, java.lang.String name)
181 throws com.liferay.portal.SystemException {
182 return getService().getColumn(classNameId, tableName, name);
183 }
184
185 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
186 java.lang.String className, java.lang.String tableName,
187 java.lang.String name) throws com.liferay.portal.SystemException {
188 return getService().getColumn(className, tableName, name);
189 }
190
191 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
192 long tableId) throws com.liferay.portal.SystemException {
193 return getService().getColumns(tableId);
194 }
195
196 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
197 long classNameId, java.lang.String tableName)
198 throws com.liferay.portal.SystemException {
199 return getService().getColumns(classNameId, tableName);
200 }
201
202 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
203 java.lang.String className, java.lang.String tableName)
204 throws com.liferay.portal.SystemException {
205 return getService().getColumns(className, tableName);
206 }
207
208 public static int getColumnsCount(long tableId)
209 throws com.liferay.portal.SystemException {
210 return getService().getColumnsCount(tableId);
211 }
212
213 public static int getColumnsCount(long classNameId,
214 java.lang.String tableName) throws com.liferay.portal.SystemException {
215 return getService().getColumnsCount(classNameId, tableName);
216 }
217
218 public static int getColumnsCount(java.lang.String className,
219 java.lang.String tableName) throws com.liferay.portal.SystemException {
220 return getService().getColumnsCount(className, tableName);
221 }
222
223 public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
224 long classNameId, java.lang.String name)
225 throws com.liferay.portal.SystemException {
226 return getService().getDefaultTableColumn(classNameId, name);
227 }
228
229 public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
230 java.lang.String className, java.lang.String name)
231 throws com.liferay.portal.SystemException {
232 return getService().getDefaultTableColumn(className, name);
233 }
234
235 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
236 long classNameId) throws com.liferay.portal.SystemException {
237 return getService().getDefaultTableColumns(classNameId);
238 }
239
240 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
241 java.lang.String className) throws com.liferay.portal.SystemException {
242 return getService().getDefaultTableColumns(className);
243 }
244
245 public static int getDefaultTableColumnsCount(long classNameId)
246 throws com.liferay.portal.SystemException {
247 return getService().getDefaultTableColumnsCount(classNameId);
248 }
249
250 public static int getDefaultTableColumnsCount(java.lang.String className)
251 throws com.liferay.portal.SystemException {
252 return getService().getDefaultTableColumnsCount(className);
253 }
254
255 public static com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
256 long columnId, java.lang.String name, int type)
257 throws com.liferay.portal.PortalException,
258 com.liferay.portal.SystemException {
259 return getService().updateColumn(columnId, name, type);
260 }
261
262 public static ExpandoColumnLocalService getService() {
263 if (_service == null) {
264 throw new RuntimeException("ExpandoColumnLocalService is not set");
265 }
266
267 return _service;
268 }
269
270 public void setService(ExpandoColumnLocalService service) {
271 _service = service;
272 }
273
274 private static ExpandoColumnLocalService _service;
275 }