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