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