001
014
015 package com.liferay.portlet.expando.service;
016
017 import com.liferay.portal.kernel.annotation.Isolation;
018 import com.liferay.portal.kernel.annotation.Propagation;
019 import com.liferay.portal.kernel.annotation.Transactional;
020 import com.liferay.portal.kernel.exception.PortalException;
021 import com.liferay.portal.kernel.exception.SystemException;
022
023
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface ExpandoTableLocalService {
043
050 public com.liferay.portlet.expando.model.ExpandoTable addExpandoTable(
051 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054
060 public com.liferay.portlet.expando.model.ExpandoTable createExpandoTable(
061 long tableId);
062
063
070 public void deleteExpandoTable(long tableId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException;
073
074
080 public void deleteExpandoTable(
081 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
082 throws com.liferay.portal.kernel.exception.SystemException;
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException;
113
114
128 @SuppressWarnings("rawtypes")
129 public java.util.List dynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
131 int end,
132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135
142 public long dynamicQueryCount(
143 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146
154 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
155 public com.liferay.portlet.expando.model.ExpandoTable getExpandoTable(
156 long tableId)
157 throws com.liferay.portal.kernel.exception.PortalException,
158 com.liferay.portal.kernel.exception.SystemException;
159
160
172 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
173 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getExpandoTables(
174 int start, int end)
175 throws com.liferay.portal.kernel.exception.SystemException;
176
177
183 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
184 public int getExpandoTablesCount()
185 throws com.liferay.portal.kernel.exception.SystemException;
186
187
194 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
195 com.liferay.portlet.expando.model.ExpandoTable expandoTable)
196 throws com.liferay.portal.kernel.exception.SystemException;
197
198
206 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
207 com.liferay.portlet.expando.model.ExpandoTable expandoTable,
208 boolean merge)
209 throws com.liferay.portal.kernel.exception.SystemException;
210
211 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
212 long companyId, long classNameId)
213 throws com.liferay.portal.kernel.exception.PortalException,
214 com.liferay.portal.kernel.exception.SystemException;
215
216 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
217 long companyId, java.lang.String className)
218 throws com.liferay.portal.kernel.exception.PortalException,
219 com.liferay.portal.kernel.exception.SystemException;
220
221 public com.liferay.portlet.expando.model.ExpandoTable addTable(
222 long companyId, long classNameId, java.lang.String name)
223 throws com.liferay.portal.kernel.exception.PortalException,
224 com.liferay.portal.kernel.exception.SystemException;
225
226
229 public com.liferay.portlet.expando.model.ExpandoTable addTable(
230 long classNameId, java.lang.String name)
231 throws com.liferay.portal.kernel.exception.PortalException,
232 com.liferay.portal.kernel.exception.SystemException;
233
234 public com.liferay.portlet.expando.model.ExpandoTable addTable(
235 long companyId, java.lang.String className, java.lang.String name)
236 throws com.liferay.portal.kernel.exception.PortalException,
237 com.liferay.portal.kernel.exception.SystemException;
238
239
242 public com.liferay.portlet.expando.model.ExpandoTable addTable(
243 java.lang.String className, java.lang.String name)
244 throws com.liferay.portal.kernel.exception.PortalException,
245 com.liferay.portal.kernel.exception.SystemException;
246
247 public void deleteTable(
248 com.liferay.portlet.expando.model.ExpandoTable table)
249 throws com.liferay.portal.kernel.exception.SystemException;
250
251 public void deleteTable(long tableId)
252 throws com.liferay.portal.kernel.exception.PortalException,
253 com.liferay.portal.kernel.exception.SystemException;
254
255 public void deleteTable(long companyId, long classNameId,
256 java.lang.String name)
257 throws com.liferay.portal.kernel.exception.PortalException,
258 com.liferay.portal.kernel.exception.SystemException;
259
260 public void deleteTable(long companyId, java.lang.String className,
261 java.lang.String name)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException;
264
265 public void deleteTables(long companyId, long classNameId)
266 throws com.liferay.portal.kernel.exception.SystemException;
267
268 public void deleteTables(long companyId, java.lang.String className)
269 throws com.liferay.portal.kernel.exception.SystemException;
270
271 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
272 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
273 long companyId, long classNameId)
274 throws com.liferay.portal.kernel.exception.PortalException,
275 com.liferay.portal.kernel.exception.SystemException;
276
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
279 long companyId, java.lang.String className)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException;
282
283 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
284 public com.liferay.portlet.expando.model.ExpandoTable getTable(long tableId)
285 throws com.liferay.portal.kernel.exception.PortalException,
286 com.liferay.portal.kernel.exception.SystemException;
287
288 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
289 public com.liferay.portlet.expando.model.ExpandoTable getTable(
290 long companyId, long classNameId, java.lang.String name)
291 throws com.liferay.portal.kernel.exception.PortalException,
292 com.liferay.portal.kernel.exception.SystemException;
293
294
297 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
298 public com.liferay.portlet.expando.model.ExpandoTable getTable(
299 long classNameId, java.lang.String name)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException;
302
303 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
304 public com.liferay.portlet.expando.model.ExpandoTable getTable(
305 long companyId, java.lang.String className, java.lang.String name)
306 throws com.liferay.portal.kernel.exception.PortalException,
307 com.liferay.portal.kernel.exception.SystemException;
308
309
312 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
313 public com.liferay.portlet.expando.model.ExpandoTable getTable(
314 java.lang.String className, java.lang.String name)
315 throws com.liferay.portal.kernel.exception.PortalException,
316 com.liferay.portal.kernel.exception.SystemException;
317
318 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
319 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
320 long companyId, long classNameId)
321 throws com.liferay.portal.kernel.exception.SystemException;
322
323 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
324 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
325 long companyId, java.lang.String className)
326 throws com.liferay.portal.kernel.exception.SystemException;
327
328 public com.liferay.portlet.expando.model.ExpandoTable updateTable(
329 long tableId, java.lang.String name)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException;
332 }