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