1
14
15 package com.liferay.portlet.softwarecatalog.service;
16
17 import com.liferay.portal.kernel.annotation.Isolation;
18 import com.liferay.portal.kernel.annotation.Propagation;
19 import com.liferay.portal.kernel.annotation.Transactional;
20 import com.liferay.portal.kernel.exception.PortalException;
21 import com.liferay.portal.kernel.exception.SystemException;
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.kernel.exception.PortalException,
54 com.liferay.portal.kernel.exception.SystemException;
55
56 public void deleteFrameworkVersion(long frameworkVersionId)
57 throws com.liferay.portal.kernel.exception.PortalException,
58 com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
64 com.liferay.portal.kernel.exception.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)
69 throws com.liferay.portal.kernel.exception.SystemException;
70
71 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
72 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
73 long groupId, boolean active, int start, int end)
74 throws com.liferay.portal.kernel.exception.SystemException;
75
76 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
77 long frameworkVersionId, java.lang.String name, java.lang.String url,
78 boolean active, int priority)
79 throws com.liferay.portal.kernel.exception.PortalException,
80 com.liferay.portal.kernel.exception.SystemException;
81 }