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) throws PortalException;
063
064
070 public com.liferay.portlet.expando.model.ExpandoRow createExpandoRow(
071 long rowId);
072
073
079 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
080 public com.liferay.portlet.expando.model.ExpandoRow deleteExpandoRow(
081 com.liferay.portlet.expando.model.ExpandoRow expandoRow);
082
083
090 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
091 public com.liferay.portlet.expando.model.ExpandoRow deleteExpandoRow(
092 long rowId) throws PortalException;
093
094
097 @Override
098 public com.liferay.portal.model.PersistedModel deletePersistedModel(
099 com.liferay.portal.model.PersistedModel persistedModel)
100 throws PortalException;
101
102 public void deleteRow(long companyId, java.lang.String className,
103 java.lang.String tableName, long classPK) throws PortalException;
104
105 public void deleteRow(long companyId, long classNameId,
106 java.lang.String tableName, long classPK) throws PortalException;
107
108 public void deleteRow(com.liferay.portlet.expando.model.ExpandoRow row);
109
110 public void deleteRow(long rowId) throws PortalException;
111
112 public void deleteRow(long tableId, long classPK) throws PortalException;
113
114 public void deleteRows(long classPK);
115
116 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
117
118
124 public <T> java.util.List<T> dynamicQuery(
125 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
126
127
139 public <T> java.util.List<T> dynamicQuery(
140 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141 int end);
142
143
156 public <T> java.util.List<T> dynamicQuery(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
158 int end,
159 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
160
161
167 public long dynamicQueryCount(
168 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
169
170
177 public long dynamicQueryCount(
178 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
179 com.liferay.portal.kernel.dao.orm.Projection projection);
180
181 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
182 public com.liferay.portlet.expando.model.ExpandoRow fetchExpandoRow(
183 long rowId);
184
185 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
186 public com.liferay.portlet.expando.model.ExpandoRow fetchRow(long tableId,
187 long classPK);
188
189 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
190 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
191
192 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
193 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
194 long companyId, java.lang.String className, int start, int end);
195
196 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
197 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getDefaultTableRows(
198 long companyId, long classNameId, int start, int end);
199
200 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
201 public int getDefaultTableRowsCount(long companyId,
202 java.lang.String className);
203
204 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
205 public int getDefaultTableRowsCount(long companyId, long classNameId);
206
207
214 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
215 public com.liferay.portlet.expando.model.ExpandoRow getExpandoRow(
216 long rowId) throws PortalException;
217
218
229 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
230 public java.util.List<com.liferay.portlet.expando.model.ExpandoRow> getExpandoRows(
231 int start, int end);
232
233
238 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
239 public int getExpandoRowsCount();
240
241 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
242 public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery();
243
244
249 public java.lang.String getOSGiServiceIdentifier();
250
251 @Override
252 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
253 public com.liferay.portal.model.PersistedModel getPersistedModel(
254 java.io.Serializable primaryKeyObj) throws PortalException;
255
256 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
257 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
258 java.lang.String className, java.lang.String tableName, long classPK);
259
260 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
261 public com.liferay.portlet.expando.model.ExpandoRow getRow(long companyId,
262 long classNameId, java.lang.String tableName, long classPK);
263
264 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
265 public com.liferay.portlet.expando.model.ExpandoRow getRow(long rowId)
266 throws PortalException;
267
268 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
269 public com.liferay.portlet.expando.model.ExpandoRow getRow(long tableId,
270 long classPK) throws 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
322 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
323 public com.liferay.portlet.expando.model.ExpandoRow updateExpandoRow(
324 com.liferay.portlet.expando.model.ExpandoRow expandoRow);
325 }