001
014
015 package com.liferay.portlet.exportimport.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.model.SystemEventConstants;
026 import com.liferay.portal.service.BaseLocalService;
027 import com.liferay.portal.service.PersistedModelLocalService;
028
029
041 @ProviderType
042 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
043 PortalException.class, SystemException.class})
044 public interface ExportImportConfigurationLocalService extends BaseLocalService,
045 PersistedModelLocalService {
046
051 public com.liferay.portlet.exportimport.model.ExportImportConfiguration addDraftExportImportConfiguration(
052 long userId, java.lang.String name, int type,
053 java.util.Map<java.lang.String, java.io.Serializable> settingsMap)
054 throws PortalException;
055
056 public com.liferay.portlet.exportimport.model.ExportImportConfiguration addDraftExportImportConfiguration(
057 long userId, int type,
058 java.util.Map<java.lang.String, java.io.Serializable> settingsMap)
059 throws PortalException;
060
061
067 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
068 public com.liferay.portlet.exportimport.model.ExportImportConfiguration addExportImportConfiguration(
069 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration);
070
071 public com.liferay.portlet.exportimport.model.ExportImportConfiguration addExportImportConfiguration(
072 long userId, long groupId, java.lang.String name,
073 java.lang.String description, int type,
074 java.util.Map<java.lang.String, java.io.Serializable> settingsMap,
075 com.liferay.portal.service.ServiceContext serviceContext)
076 throws PortalException;
077
078 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
079 public com.liferay.portlet.exportimport.model.ExportImportConfiguration addExportImportConfiguration(
080 long userId, long groupId, java.lang.String name,
081 java.lang.String description, int type,
082 java.util.Map<java.lang.String, java.io.Serializable> settingsMap,
083 int status, com.liferay.portal.service.ServiceContext serviceContext)
084 throws PortalException;
085
086
092 public com.liferay.portlet.exportimport.model.ExportImportConfiguration createExportImportConfiguration(
093 long exportImportConfigurationId);
094
095
101 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
102 @com.liferay.portal.kernel.systemevent.SystemEvent(type = SystemEventConstants.TYPE_DELETE)
103 public com.liferay.portlet.exportimport.model.ExportImportConfiguration deleteExportImportConfiguration(
104 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration);
105
106
113 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.DELETE)
114 public com.liferay.portlet.exportimport.model.ExportImportConfiguration deleteExportImportConfiguration(
115 long exportImportConfigurationId) throws PortalException;
116
117 public void deleteExportImportConfigurations(long groupId);
118
119
122 @Override
123 public com.liferay.portal.model.PersistedModel deletePersistedModel(
124 com.liferay.portal.model.PersistedModel persistedModel)
125 throws PortalException;
126
127 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
128
129
135 public <T> java.util.List<T> dynamicQuery(
136 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
137
138
150 public <T> java.util.List<T> dynamicQuery(
151 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
152 int end);
153
154
167 public <T> java.util.List<T> dynamicQuery(
168 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
169 int end,
170 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator);
171
172
178 public long dynamicQueryCount(
179 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery);
180
181
188 public long dynamicQueryCount(
189 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
190 com.liferay.portal.kernel.dao.orm.Projection projection);
191
192 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
193 public com.liferay.portlet.exportimport.model.ExportImportConfiguration fetchExportImportConfiguration(
194 long exportImportConfigurationId);
195
196 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
197 public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery();
198
199
206 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
207 public com.liferay.portlet.exportimport.model.ExportImportConfiguration getExportImportConfiguration(
208 long exportImportConfigurationId) throws PortalException;
209
210 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
211 public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
212 long groupId, int type);
213
214 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
215 public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
216 long groupId, int type, int start, int end,
217 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.exportimport.model.ExportImportConfiguration> orderByComparator);
218
219 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
220 public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
221 com.liferay.portal.kernel.search.Hits hits) throws PortalException;
222
223
234 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
235 public java.util.List<com.liferay.portlet.exportimport.model.ExportImportConfiguration> getExportImportConfigurations(
236 int start, int end);
237
238
243 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
244 public int getExportImportConfigurationsCount();
245
246 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
247 public int getExportImportConfigurationsCount(long groupId);
248
249 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
250 public int getExportImportConfigurationsCount(long groupId, int type);
251
252 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
253 public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery();
254
255
260 public java.lang.String getOSGiServiceIdentifier();
261
262 @Override
263 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
264 public com.liferay.portal.model.PersistedModel getPersistedModel(
265 java.io.Serializable primaryKeyObj) throws PortalException;
266
267 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
268 public com.liferay.portlet.exportimport.model.ExportImportConfiguration moveExportImportConfigurationToTrash(
269 long userId, long exportImportConfigurationId)
270 throws PortalException;
271
272 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
273 public com.liferay.portlet.exportimport.model.ExportImportConfiguration restoreExportImportConfigurationFromTrash(
274 long userId, long exportImportConfigurationId)
275 throws PortalException;
276
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.exportimport.model.ExportImportConfiguration> searchExportImportConfigurations(
279 long companyId, long groupId, int type, java.lang.String keywords,
280 int start, int end, com.liferay.portal.kernel.search.Sort sort)
281 throws PortalException;
282
283 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
284 public com.liferay.portal.kernel.search.BaseModelSearchResult<com.liferay.portlet.exportimport.model.ExportImportConfiguration> searchExportImportConfigurations(
285 long companyId, long groupId, int type, java.lang.String name,
286 java.lang.String description, boolean andSearch, int start, int end,
287 com.liferay.portal.kernel.search.Sort sort) throws PortalException;
288
289
295 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
296 public com.liferay.portlet.exportimport.model.ExportImportConfiguration updateExportImportConfiguration(
297 com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration);
298
299 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
300 public com.liferay.portlet.exportimport.model.ExportImportConfiguration updateExportImportConfiguration(
301 long userId, long exportImportConfigurationId, java.lang.String name,
302 java.lang.String description,
303 java.util.Map<java.lang.String, java.io.Serializable> settingsMap,
304 com.liferay.portal.service.ServiceContext serviceContext)
305 throws PortalException;
306
307 @com.liferay.portal.kernel.search.Indexable(type = IndexableType.REINDEX)
308 public com.liferay.portlet.exportimport.model.ExportImportConfiguration updateStatus(
309 long userId, long exportImportConfigurationId, int status)
310 throws PortalException;
311 }