1
14
15 package com.liferay.portlet.expando.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class ExpandoTableLocalServiceUtil {
40 public static com.liferay.portlet.expando.model.ExpandoTable addExpandoTable(
41 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
42 throws com.liferay.portal.SystemException {
43 return getService().addExpandoTable(expandoTable);
44 }
45
46 public static com.liferay.portlet.expando.model.ExpandoTable createExpandoTable(
47 long tableId) {
48 return getService().createExpandoTable(tableId);
49 }
50
51 public static void deleteExpandoTable(long tableId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 getService().deleteExpandoTable(tableId);
55 }
56
57 public static void deleteExpandoTable(
58 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
59 throws com.liferay.portal.SystemException {
60 getService().deleteExpandoTable(expandoTable);
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 java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end,
78 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
79 throws com.liferay.portal.SystemException {
80 return getService()
81 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
82 }
83
84 public static int dynamicQueryCount(
85 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
86 throws com.liferay.portal.SystemException {
87 return getService().dynamicQueryCount(dynamicQuery);
88 }
89
90 public static com.liferay.portlet.expando.model.ExpandoTable getExpandoTable(
91 long tableId)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 return getService().getExpandoTable(tableId);
95 }
96
97 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getExpandoTables(
98 int start, int end) throws com.liferay.portal.SystemException {
99 return getService().getExpandoTables(start, end);
100 }
101
102 public static int getExpandoTablesCount()
103 throws com.liferay.portal.SystemException {
104 return getService().getExpandoTablesCount();
105 }
106
107 public static com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
108 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
109 throws com.liferay.portal.SystemException {
110 return getService().updateExpandoTable(expandoTable);
111 }
112
113 public static com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
114 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
115 boolean merge) throws com.liferay.portal.SystemException {
116 return getService().updateExpandoTable(expandoTable, merge);
117 }
118
119 public static com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
120 long classNameId)
121 throws com.liferay.portal.PortalException,
122 com.liferay.portal.SystemException {
123 return getService().addDefaultTable(classNameId);
124 }
125
126 public static com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
127 java.lang.String className)
128 throws com.liferay.portal.PortalException,
129 com.liferay.portal.SystemException {
130 return getService().addDefaultTable(className);
131 }
132
133 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
134 long classNameId, java.lang.String name)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 return getService().addTable(classNameId, name);
138 }
139
140 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
141 java.lang.String className, java.lang.String name)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException {
144 return getService().addTable(className, name);
145 }
146
147 public static void deleteTable(
148 com.liferay.portlet.expando.model.ExpandoTable table)
149 throws com.liferay.portal.SystemException {
150 getService().deleteTable(table);
151 }
152
153 public static void deleteTable(long tableId)
154 throws com.liferay.portal.PortalException,
155 com.liferay.portal.SystemException {
156 getService().deleteTable(tableId);
157 }
158
159 public static void deleteTable(long classNameId, java.lang.String name)
160 throws com.liferay.portal.PortalException,
161 com.liferay.portal.SystemException {
162 getService().deleteTable(classNameId, name);
163 }
164
165 public static void deleteTable(java.lang.String className,
166 java.lang.String name)
167 throws com.liferay.portal.PortalException,
168 com.liferay.portal.SystemException {
169 getService().deleteTable(className, name);
170 }
171
172 public static void deleteTables(long classNameId)
173 throws com.liferay.portal.SystemException {
174 getService().deleteTables(classNameId);
175 }
176
177 public static void deleteTables(java.lang.String className)
178 throws com.liferay.portal.SystemException {
179 getService().deleteTables(className);
180 }
181
182 public static com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
183 long classNameId)
184 throws com.liferay.portal.PortalException,
185 com.liferay.portal.SystemException {
186 return getService().getDefaultTable(classNameId);
187 }
188
189 public static com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
190 java.lang.String className)
191 throws com.liferay.portal.PortalException,
192 com.liferay.portal.SystemException {
193 return getService().getDefaultTable(className);
194 }
195
196 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
197 long tableId)
198 throws com.liferay.portal.PortalException,
199 com.liferay.portal.SystemException {
200 return getService().getTable(tableId);
201 }
202
203 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
204 long classNameId, java.lang.String name)
205 throws com.liferay.portal.PortalException,
206 com.liferay.portal.SystemException {
207 return getService().getTable(classNameId, name);
208 }
209
210 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
211 java.lang.String className, java.lang.String name)
212 throws com.liferay.portal.PortalException,
213 com.liferay.portal.SystemException {
214 return getService().getTable(className, name);
215 }
216
217 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
218 long classNameId) throws com.liferay.portal.SystemException {
219 return getService().getTables(classNameId);
220 }
221
222 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
223 java.lang.String className) throws com.liferay.portal.SystemException {
224 return getService().getTables(className);
225 }
226
227 public static com.liferay.portlet.expando.model.ExpandoTable updateTable(
228 long tableId, java.lang.String name)
229 throws com.liferay.portal.PortalException,
230 com.liferay.portal.SystemException {
231 return getService().updateTable(tableId, name);
232 }
233
234 public static ExpandoTableLocalService getService() {
235 if (_service == null) {
236 _service = (ExpandoTableLocalService)PortalBeanLocatorUtil.locate(ExpandoTableLocalService.class.getName());
237 }
238
239 return _service;
240 }
241
242 public void setService(ExpandoTableLocalService service) {
243 _service = service;
244 }
245
246 private static ExpandoTableLocalService _service;
247 }