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 ExpandoRowLocalService extends BaseLocalService,
044 PersistedModelLocalService {
045
050
051
057 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
058 public com.liferay.portlet.expando.model.ExpandoRow addExpandoRow(
059 com.liferay.portlet.expando.model.ExpandoRow expandoRow);
060
061 public com.liferay.portlet.expando.model.ExpandoRow addRow(long tableId,
062 long classPK)
063 throws com.liferay.portal.kernel.exception.PortalException;
064
065
071 public com.liferay.portlet.expando.model.ExpandoRow createExpandoRow(
072 long rowId);
073
074
080 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
081 public com.liferay.portlet.expando.model.ExpandoRow deleteExpandoRow(
082 com.liferay.portlet.expando.model.ExpandoRow expandoRow);
083
084
091 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
092 public com.liferay.portlet.expando.model.ExpandoRow deleteExpandoRow(
093 long rowId) throws com.liferay.portal.kernel.exception.PortalException;
094
095
098 @Override
099 public com.liferay.portal.model.PersistedModel deletePersistedModel(
100 com.liferay.portal.model.PersistedModel persistedModel)
101 throws com.liferay.portal.kernel.exception.PortalException;
102
103 public void deleteRow(long companyId, java.lang.String className,
104 java.lang.String tableName, long classPK)
105 throws com.liferay.portal.kernel.exception.PortalException;
106
107 public void deleteRow(long companyId, long classNameId,
108 java.lang.String tableName, long classPK)
109 throws com.liferay.portal.kernel.exception.PortalException;
110
111 public void deleteRow(com.liferay.portlet.expando.model.ExpandoRow row);
112
113 public void deleteRow(long rowId)
114 throws com.liferay.portal.kernel.exception.PortalException;
115
116 public void deleteRow(long tableId, long classPK)
117 throws com.liferay.portal.kernel.exception.PortalException;
118
119 public void deleteRows(long classPK);
120
121 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
122
123
129 public <T> java.util.List<T> dynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
131
132
144 public <T> java.util.List<T> dynamicQuery(
145 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
146 int end);
147
148
161 public <T> java.util.List<T> dynamicQuery(
162 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
163 int end,
164 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
165
166
172 public long dynamicQueryCount(
173 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
174
175
182 public long dynamicQueryCount(
183 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
184 com.liferay.portal.kernel.dao.orm.Projection projection);
185
186 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
187 public com.liferay.portlet.expando.model.ExpandoRow fetchExpandoRow(
188 long rowId);
189
190 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
191 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
192
193
198 public java.lang.String getBeanIdentifier();
199
200 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
201 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
202 long companyId, java.lang.String className, int start, int end);
203
204 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
205 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
206 long companyId, long classNameId, int start, int end);
207
208 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
209 public int getDefaultTableRowsCount(long companyId,
210 java.lang.String className);
211
212 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
213 public int getDefaultTableRowsCount(long companyId, long classNameId);
214
215
222 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
223 public com.liferay.portlet.expando.model.ExpandoRow getExpandoRow(
224 long rowId) throws com.liferay.portal.kernel.exception.PortalException;
225
226
237 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
238 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getExpandoRows(
239 int start, int end);
240
241
246 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
247 public int getExpandoRowsCount();
248
249 @Override
250 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
251 public com.liferay.portal.model.PersistedModel getPersistedModel(
252 java.io.Serializable primaryKeyObj)
253 throws com.liferay.portal.kernel.exception.PortalException;
254
255 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
256 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
257 java.lang.String className, java.lang.String tableName, long classPK);
258
259 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
260 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
261 long classNameId, java.lang.String tableName, long classPK);
262
263 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
264 public com.liferay.portlet.expando.model.ExpandoRow getRow(long rowId)
265 throws com.liferay.portal.kernel.exception.PortalException;
266
267 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
268 public com.liferay.portlet.expando.model.ExpandoRow getRow(long tableId,
269 long classPK)
270 throws com.liferay.portal.kernel.exception.PortalException;
271
272
276 @java.lang.Deprecated
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
279 java.lang.String className, java.lang.String tableName, int start,
280 int end);
281
282 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
283 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
284 long companyId, java.lang.String className, java.lang.String tableName,
285 int start, int end);
286
287 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
288 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
289 long companyId, long classNameId, java.lang.String tableName,
290 int start, int end);
291
292 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
293 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getRows(
294 long tableId, int start, int end);
295
296
300 @java.lang.Deprecated
301 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
302 public int getRowsCount(java.lang.String className,
303 java.lang.String tableName);
304
305 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
306 public int getRowsCount(long companyId, java.lang.String className,
307 java.lang.String tableName);
308
309 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
310 public int getRowsCount(long companyId, long classNameId,
311 java.lang.String tableName);
312
313 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
314 public int getRowsCount(long tableId);
315
316
321 public void setBeanIdentifier(java.lang.String beanIdentifier);
322
323
329 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
330 public com.liferay.portlet.expando.model.ExpandoRow updateExpandoRow(
331 com.liferay.portlet.expando.model.ExpandoRow expandoRow);
332 }