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