001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.transaction.Isolation;
020 import com.liferay.portal.kernel.transaction.Propagation;
021 import com.liferay.portal.kernel.transaction.Transactional;
022 import com.liferay.portal.service.PersistedModelLocalService;
023
024
037 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
038 PortalException.class, SystemException.class})
039 public interface SCFrameworkVersionLocalService
040 extends PersistedModelLocalService {
041
046
047
054 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
055 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058
064 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion createSCFrameworkVersion(
065 long frameworkVersionId);
066
067
074 public void deleteSCFrameworkVersion(long frameworkVersionId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException;
077
078
084 public void deleteSCFrameworkVersion(
085 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
086 throws com.liferay.portal.kernel.exception.SystemException;
087
088
095 @SuppressWarnings("rawtypes")
096 public java.util.List dynamicQuery(
097 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
098 throws com.liferay.portal.kernel.exception.SystemException;
099
100
113 @SuppressWarnings("rawtypes")
114 public java.util.List dynamicQuery(
115 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
116 int end) throws com.liferay.portal.kernel.exception.SystemException;
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
151 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion fetchSCFrameworkVersion(
152 long frameworkVersionId)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155
163 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
164 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getSCFrameworkVersion(
165 long frameworkVersionId)
166 throws com.liferay.portal.kernel.exception.PortalException,
167 com.liferay.portal.kernel.exception.SystemException;
168
169 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
170 public com.liferay.portal.model.PersistedModel getPersistedModel(
171 java.io.Serializable primaryKeyObj)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException;
174
175
187 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
188 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
189 int start, int end)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192
198 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
199 public int getSCFrameworkVersionsCount()
200 throws com.liferay.portal.kernel.exception.SystemException;
201
202
209 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
210 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
211 throws com.liferay.portal.kernel.exception.SystemException;
212
213
221 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
222 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
223 boolean merge)
224 throws com.liferay.portal.kernel.exception.SystemException;
225
226
231 public java.lang.String getBeanIdentifier();
232
233
238 public void setBeanIdentifier(java.lang.String beanIdentifier);
239
240 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
241 long userId, java.lang.String name, java.lang.String url,
242 boolean active, int priority,
243 com.liferay.portal.service.ServiceContext serviceContext)
244 throws com.liferay.portal.kernel.exception.PortalException,
245 com.liferay.portal.kernel.exception.SystemException;
246
247 public void addFrameworkVersionResources(long frameworkVersionId,
248 boolean addGroupPermissions, boolean addGuestPermissions)
249 throws com.liferay.portal.kernel.exception.PortalException,
250 com.liferay.portal.kernel.exception.SystemException;
251
252 public void addFrameworkVersionResources(long frameworkVersionId,
253 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException;
256
257 public void addFrameworkVersionResources(
258 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
259 boolean addGroupPermissions, boolean addGuestPermissions)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException;
262
263 public void addFrameworkVersionResources(
264 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
265 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException;
268
269 public void deleteFrameworkVersion(long frameworkVersionId)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException;
272
273 public void deleteFrameworkVersion(
274 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
275 throws com.liferay.portal.kernel.exception.SystemException;
276
277 public void deleteFrameworkVersions(long groupId)
278 throws com.liferay.portal.kernel.exception.SystemException;
279
280 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
281 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
282 long frameworkVersionId)
283 throws com.liferay.portal.kernel.exception.PortalException,
284 com.liferay.portal.kernel.exception.SystemException;
285
286 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
287 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
288 long groupId, boolean active)
289 throws com.liferay.portal.kernel.exception.SystemException;
290
291 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
292 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
293 long groupId, boolean active, int start, int end)
294 throws com.liferay.portal.kernel.exception.SystemException;
295
296 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
297 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
298 long groupId, int start, int end)
299 throws com.liferay.portal.kernel.exception.SystemException;
300
301 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
302 public int getFrameworkVersionsCount(long groupId)
303 throws com.liferay.portal.kernel.exception.SystemException;
304
305 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
306 public int getFrameworkVersionsCount(long groupId, boolean active)
307 throws com.liferay.portal.kernel.exception.SystemException;
308
309 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
310 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
311 long productVersionId)
312 throws com.liferay.portal.kernel.exception.SystemException;
313
314 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
315 long frameworkVersionId, java.lang.String name, java.lang.String url,
316 boolean active, int priority)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException;
319 }