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 addDefaultTable(
104 java.lang.String className)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException {
107 return getService().addDefaultTable(className);
108 }
109
110 public static com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
111 long classNameId)
112 throws com.liferay.portal.PortalException,
113 com.liferay.portal.SystemException {
114 return getService().addDefaultTable(classNameId);
115 }
116
117 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
118 java.lang.String className, java.lang.String name)
119 throws com.liferay.portal.PortalException,
120 com.liferay.portal.SystemException {
121 return getService().addTable(className, name);
122 }
123
124 public static com.liferay.portlet.expando.model.ExpandoTable addTable(
125 long classNameId, java.lang.String name)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException {
128 return getService().addTable(classNameId, name);
129 }
130
131 public static void deleteTable(long tableId)
132 throws com.liferay.portal.PortalException,
133 com.liferay.portal.SystemException {
134 getService().deleteTable(tableId);
135 }
136
137 public static void deleteTable(java.lang.String className,
138 java.lang.String name)
139 throws com.liferay.portal.PortalException,
140 com.liferay.portal.SystemException {
141 getService().deleteTable(className, name);
142 }
143
144 public static void deleteTable(long classNameId, java.lang.String name)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException {
147 getService().deleteTable(classNameId, name);
148 }
149
150 public static void deleteTables(java.lang.String className)
151 throws com.liferay.portal.PortalException,
152 com.liferay.portal.SystemException {
153 getService().deleteTables(className);
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 com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
163 java.lang.String className)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException {
166 return getService().getDefaultTable(className);
167 }
168
169 public static com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
170 long classNameId)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException {
173 return getService().getDefaultTable(classNameId);
174 }
175
176 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
177 long tableId)
178 throws com.liferay.portal.PortalException,
179 com.liferay.portal.SystemException {
180 return getService().getTable(tableId);
181 }
182
183 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
184 java.lang.String className, java.lang.String name)
185 throws com.liferay.portal.PortalException,
186 com.liferay.portal.SystemException {
187 return getService().getTable(className, name);
188 }
189
190 public static com.liferay.portlet.expando.model.ExpandoTable getTable(
191 long classNameId, java.lang.String name)
192 throws com.liferay.portal.PortalException,
193 com.liferay.portal.SystemException {
194 return getService().getTable(classNameId, name);
195 }
196
197 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
198 java.lang.String className) throws com.liferay.portal.SystemException {
199 return getService().getTables(className);
200 }
201
202 public static java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
203 long classNameId) throws com.liferay.portal.SystemException {
204 return getService().getTables(classNameId);
205 }
206
207 public static com.liferay.portlet.expando.model.ExpandoTable updateTable(
208 long tableId, java.lang.String name)
209 throws com.liferay.portal.PortalException,
210 com.liferay.portal.SystemException {
211 return getService().updateTable(tableId, name);
212 }
213
214 public static ExpandoTableLocalService getService() {
215 if (_service == null) {
216 throw new RuntimeException("ExpandoTableLocalService is not set");
217 }
218
219 return _service;
220 }
221
222 public void setService(ExpandoTableLocalService service) {
223 _service = service;
224 }
225
226 private static ExpandoTableLocalService _service;
227 }