001
014
015 package com.liferay.portlet.expando.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.exception.PortalException;
020 import com.liferay.portal.kernel.exception.SystemException;
021 import com.liferay.portal.kernel.search.IndexableType;
022 import com.liferay.portal.kernel.transaction.Isolation;
023 import com.liferay.portal.kernel.transaction.Propagation;
024 import com.liferay.portal.kernel.transaction.Transactional;
025 import com.liferay.portal.service.BaseLocalService;
026 import com.liferay.portal.service.PersistedModelLocalService;
027
028
040 @ProviderType
041 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
042 PortalException.class, SystemException.class})
043 public interface ExpandoTableLocalService extends BaseLocalService,
044 PersistedModelLocalService {
045
050 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
051 long companyId, java.lang.String className)
052 throws com.liferay.portal.kernel.exception.PortalException;
053
054 public com.liferay.portlet.expando.model.ExpandoTable addDefaultTable(
055 long companyId, long classNameId)
056 throws com.liferay.portal.kernel.exception.PortalException;
057
058
064 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
065 public com.liferay.portlet.expando.model.ExpandoTable addExpandoTable(
066 com.liferay.portlet.expando.model.ExpandoTable expandoTable);
067
068
072 @java.lang.Deprecated
073 public com.liferay.portlet.expando.model.ExpandoTable addTable(
074 java.lang.String className, java.lang.String name)
075 throws com.liferay.portal.kernel.exception.PortalException;
076
077
081 @java.lang.Deprecated
082 public com.liferay.portlet.expando.model.ExpandoTable addTable(
083 long classNameId, java.lang.String name)
084 throws com.liferay.portal.kernel.exception.PortalException;
085
086 public com.liferay.portlet.expando.model.ExpandoTable addTable(
087 long companyId, java.lang.String className, java.lang.String name)
088 throws com.liferay.portal.kernel.exception.PortalException;
089
090 public com.liferay.portlet.expando.model.ExpandoTable addTable(
091 long companyId, long classNameId, java.lang.String name)
092 throws com.liferay.portal.kernel.exception.PortalException;
093
094
100 public com.liferay.portlet.expando.model.ExpandoTable createExpandoTable(
101 long tableId);
102
103
109 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
110 public com.liferay.portlet.expando.model.ExpandoTable deleteExpandoTable(
111 com.liferay.portlet.expando.model.ExpandoTable expandoTable);
112
113
120 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
121 public com.liferay.portlet.expando.model.ExpandoTable deleteExpandoTable(
122 long tableId)
123 throws com.liferay.portal.kernel.exception.PortalException;
124
125
128 @Override
129 public com.liferay.portal.model.PersistedModel deletePersistedModel(
130 com.liferay.portal.model.PersistedModel persistedModel)
131 throws com.liferay.portal.kernel.exception.PortalException;
132
133 public void deleteTable(long companyId, java.lang.String className,
134 java.lang.String name)
135 throws com.liferay.portal.kernel.exception.PortalException;
136
137 public void deleteTable(long companyId, long classNameId,
138 java.lang.String name)
139 throws com.liferay.portal.kernel.exception.PortalException;
140
141 public void deleteTable(
142 com.liferay.portlet.expando.model.ExpandoTable table);
143
144 public void deleteTable(long tableId)
145 throws com.liferay.portal.kernel.exception.PortalException;
146
147 public void deleteTables(long companyId, java.lang.String className);
148
149 public void deleteTables(long companyId, long classNameId);
150
151 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
152
153
159 public <T> java.util.List<T> dynamicQuery(
160 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
161
162
174 public <T> java.util.List<T> dynamicQuery(
175 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
176 int end);
177
178
191 public <T> java.util.List<T> dynamicQuery(
192 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
193 int end,
194 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
195
196
202 public long dynamicQueryCount(
203 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
204
205
212 public long dynamicQueryCount(
213 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
214 com.liferay.portal.kernel.dao.orm.Projection projection);
215
216 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
217 public com.liferay.portlet.expando.model.ExpandoTable fetchDefaultTable(
218 long companyId, java.lang.String className);
219
220 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
221 public com.liferay.portlet.expando.model.ExpandoTable fetchDefaultTable(
222 long companyId, long classNameId);
223
224 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
225 public com.liferay.portlet.expando.model.ExpandoTable fetchExpandoTable(
226 long tableId);
227
228 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
229 public com.liferay.portlet.expando.model.ExpandoTable fetchTable(
230 long companyId, long classNameId, java.lang.String name);
231
232 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
233 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
234
235
240 public java.lang.String getBeanIdentifier();
241
242 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
243 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
244 long companyId, java.lang.String className)
245 throws com.liferay.portal.kernel.exception.PortalException;
246
247 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
248 public com.liferay.portlet.expando.model.ExpandoTable getDefaultTable(
249 long companyId, long classNameId)
250 throws com.liferay.portal.kernel.exception.PortalException;
251
252
259 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
260 public com.liferay.portlet.expando.model.ExpandoTable getExpandoTable(
261 long tableId)
262 throws com.liferay.portal.kernel.exception.PortalException;
263
264
275 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
276 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getExpandoTables(
277 int start, int end);
278
279
284 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
285 public int getExpandoTablesCount();
286
287 @Override
288 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
289 public com.liferay.portal.model.PersistedModel getPersistedModel(
290 java.io.Serializable primaryKeyObj)
291 throws com.liferay.portal.kernel.exception.PortalException;
292
293
297 @java.lang.Deprecated
298 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
299 public com.liferay.portlet.expando.model.ExpandoTable getTable(
300 java.lang.String className, java.lang.String name)
301 throws com.liferay.portal.kernel.exception.PortalException;
302
303
307 @java.lang.Deprecated
308 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
309 public com.liferay.portlet.expando.model.ExpandoTable getTable(
310 long classNameId, java.lang.String name)
311 throws com.liferay.portal.kernel.exception.PortalException;
312
313 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
314 public com.liferay.portlet.expando.model.ExpandoTable getTable(
315 long companyId, java.lang.String className, java.lang.String name)
316 throws com.liferay.portal.kernel.exception.PortalException;
317
318 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
319 public com.liferay.portlet.expando.model.ExpandoTable getTable(
320 long companyId, long classNameId, java.lang.String name)
321 throws com.liferay.portal.kernel.exception.PortalException;
322
323 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
324 public com.liferay.portlet.expando.model.ExpandoTable getTable(long tableId)
325 throws com.liferay.portal.kernel.exception.PortalException;
326
327 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
328 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
329 long companyId, java.lang.String className);
330
331 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
332 public java.util.List<com.liferay.portlet.expando.model.ExpandoTable> getTables(
333 long companyId, long classNameId);
334
335
340 public void setBeanIdentifier(java.lang.String beanIdentifier);
341
342
348 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
349 public com.liferay.portlet.expando.model.ExpandoTable updateExpandoTable(
350 com.liferay.portlet.expando.model.ExpandoTable expandoTable);
351
352 public com.liferay.portlet.expando.model.ExpandoTable updateTable(
353 long tableId, java.lang.String name)
354 throws com.liferay.portal.kernel.exception.PortalException;
355 }