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