1
14
15 package com.liferay.portlet.softwarecatalog.service;
16
17 import com.liferay.portal.PortalException;
18 import com.liferay.portal.SystemException;
19 import com.liferay.portal.kernel.annotation.Isolation;
20 import com.liferay.portal.kernel.annotation.Propagation;
21 import com.liferay.portal.kernel.annotation.Transactional;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface SCFrameworkVersionService {
50 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
51 java.lang.String name, java.lang.String url, boolean active,
52 int priority, com.liferay.portal.service.ServiceContext serviceContext)
53 throws com.liferay.portal.PortalException,
54 com.liferay.portal.SystemException;
55
56 public void deleteFrameworkVersion(long frameworkVersionId)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException;
59
60 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
61 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
62 long frameworkVersionId)
63 throws com.liferay.portal.PortalException,
64 com.liferay.portal.SystemException;
65
66 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
67 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
68 long groupId, boolean active) throws com.liferay.portal.SystemException;
69
70 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
71 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
72 long groupId, boolean active, int start, int end)
73 throws com.liferay.portal.SystemException;
74
75 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
76 long frameworkVersionId, java.lang.String name, java.lang.String url,
77 boolean active, int priority)
78 throws com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException;
80 }