1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Isolation;
28 import com.liferay.portal.kernel.annotation.Propagation;
29 import com.liferay.portal.kernel.annotation.Transactional;
30
31
55 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
56 PortalException.class, SystemException.class})
57 public interface SCFrameworkVersionService {
58 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
59 java.lang.String name, java.lang.String url, boolean active,
60 int priority, com.liferay.portal.service.ServiceContext serviceContext)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException;
63
64 public void deleteFrameworkVersion(long frameworkVersionId)
65 throws com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException;
67
68 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
69 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
70 long frameworkVersionId)
71 throws com.liferay.portal.PortalException,
72 com.liferay.portal.SystemException;
73
74 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
75 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
76 long groupId, boolean active) throws com.liferay.portal.SystemException;
77
78 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
79 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
80 long groupId, boolean active, int start, int end)
81 throws com.liferay.portal.SystemException;
82
83 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
84 long frameworkVersionId, java.lang.String name, java.lang.String url,
85 boolean active, int priority)
86 throws com.liferay.portal.PortalException,
87 com.liferay.portal.SystemException;
88 }