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 long plid, java.lang.String name, java.lang.String url, boolean active,
60 int priority, boolean addCommunityPermissions,
61 boolean addGuestPermissions)
62 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
63 com.liferay.portal.SystemException;
64
65 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
66 long plid, java.lang.String name, java.lang.String url, boolean active,
67 int priority, java.lang.String[] communityPermissions,
68 java.lang.String[] guestPermissions)
69 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
70 com.liferay.portal.SystemException;
71
72 public void deleteFrameworkVersion(long frameworkVersionId)
73 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
74 com.liferay.portal.SystemException;
75
76 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
77 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
78 long frameworkVersionId)
79 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
80 com.liferay.portal.SystemException;
81
82 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
83 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
84 long groupId, boolean active)
85 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
86
87 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
88 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
89 long groupId, boolean active, int start, int end)
90 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
91
92 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
93 long frameworkVersionId, java.lang.String name, java.lang.String url,
94 boolean active, int priority)
95 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
96 com.liferay.portal.SystemException;
97 }