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 addColumn(
104 long tableId, java.lang.String name, int type)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException {
107 return getService().addColumn(tableId, name, type);
108 }
109
110 public static void deleteColumn(long columnId)
111 throws com.liferay.portal.PortalException,
112 com.liferay.portal.SystemException {
113 getService().deleteColumn(columnId);
114 }
115
116 public static void deleteColumn(long tableId, java.lang.String name)
117 throws com.liferay.portal.PortalException,
118 com.liferay.portal.SystemException {
119 getService().deleteColumn(tableId, name);
120 }
121
122 public static void deleteColumn(java.lang.String className,
123 java.lang.String tableName, java.lang.String name)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException {
126 getService().deleteColumn(className, tableName, 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 deleteColumns(long tableId)
137 throws com.liferay.portal.PortalException,
138 com.liferay.portal.SystemException {
139 getService().deleteColumns(tableId);
140 }
141
142 public static void deleteColumns(java.lang.String className,
143 java.lang.String tableName)
144 throws com.liferay.portal.PortalException,
145 com.liferay.portal.SystemException {
146 getService().deleteColumns(className, tableName);
147 }
148
149 public static void deleteColumns(long classNameId,
150 java.lang.String tableName)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException {
153 getService().deleteColumns(classNameId, tableName);
154 }
155
156 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
157 long columnId)
158 throws com.liferay.portal.PortalException,
159 com.liferay.portal.SystemException {
160 return getService().getColumn(columnId);
161 }
162
163 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
164 long tableId, java.lang.String name)
165 throws com.liferay.portal.PortalException,
166 com.liferay.portal.SystemException {
167 return getService().getColumn(tableId, name);
168 }
169
170 public static com.liferay.portlet.expando.model.ExpandoColumn getColumn(
171 java.lang.String className, java.lang.String tableName,
172 java.lang.String name) throws com.liferay.portal.SystemException {
173 return getService().getColumn(className, tableName, 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 java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
183 long tableId) throws com.liferay.portal.SystemException {
184 return getService().getColumns(tableId);
185 }
186
187 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getColumns(
188 java.lang.String className, java.lang.String tableName)
189 throws com.liferay.portal.SystemException {
190 return getService().getColumns(className, tableName);
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 int getColumnsCount(long tableId)
200 throws com.liferay.portal.SystemException {
201 return getService().getColumnsCount(tableId);
202 }
203
204 public static int getColumnsCount(java.lang.String className,
205 java.lang.String tableName) throws com.liferay.portal.SystemException {
206 return getService().getColumnsCount(className, tableName);
207 }
208
209 public static int getColumnsCount(long classNameId,
210 java.lang.String tableName) throws com.liferay.portal.SystemException {
211 return getService().getColumnsCount(classNameId, tableName);
212 }
213
214 public static com.liferay.portlet.expando.model.ExpandoColumn getDefaultTableColumn(
215 java.lang.String className, java.lang.String name)
216 throws com.liferay.portal.SystemException {
217 return getService().getDefaultTableColumn(className, name);
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 java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
227 java.lang.String className) throws com.liferay.portal.SystemException {
228 return getService().getDefaultTableColumns(className);
229 }
230
231 public static java.util.List<com.liferay.portlet.expando.model.ExpandoColumn> getDefaultTableColumns(
232 long classNameId) throws com.liferay.portal.SystemException {
233 return getService().getDefaultTableColumns(classNameId);
234 }
235
236 public static int getDefaultTableColumnsCount(java.lang.String className)
237 throws com.liferay.portal.SystemException {
238 return getService().getDefaultTableColumnsCount(className);
239 }
240
241 public static int getDefaultTableColumnsCount(long classNameId)
242 throws com.liferay.portal.SystemException {
243 return getService().getDefaultTableColumnsCount(classNameId);
244 }
245
246 public static com.liferay.portlet.expando.model.ExpandoColumn updateColumn(
247 long columnId, java.lang.String name, int type)
248 throws com.liferay.portal.PortalException,
249 com.liferay.portal.SystemException {
250 return getService().updateColumn(columnId, name, type);
251 }
252
253 public static ExpandoColumnLocalService getService() {
254 if (_service == null) {
255 throw new RuntimeException("ExpandoColumnLocalService is not set");
256 }
257
258 return _service;
259 }
260
261 public void setService(ExpandoColumnLocalService service) {
262 _service = service;
263 }
264
265 private static ExpandoColumnLocalService _service;
266 }