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 long plid, java.lang.String name, java.lang.String url, boolean active,
52 int priority, boolean addCommunityPermissions,
53 boolean addGuestPermissions)
54 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
55 com.liferay.portal.SystemException;
56
57 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
58 long plid, java.lang.String name, java.lang.String url, boolean active,
59 int priority, java.lang.String[] communityPermissions,
60 java.lang.String[] guestPermissions)
61 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException;
63
64 public void deleteFrameworkVersion(long frameworkVersionId)
65 throws java.rmi.RemoteException, 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 java.rmi.RemoteException, 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)
77 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
78
79 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
80 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
81 long groupId, boolean active, int start, int end)
82 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
83
84 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
85 long frameworkVersionId, java.lang.String name, java.lang.String url,
86 boolean active, int priority)
87 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
88 com.liferay.portal.SystemException;
89 }