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 SCFrameworkVersionLocalService {
50 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
51 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion createSCFrameworkVersion(
55 long frameworkVersionId);
56
57 public void deleteSCFrameworkVersion(long frameworkVersionId)
58 throws com.liferay.portal.kernel.exception.PortalException,
59 com.liferay.portal.kernel.exception.SystemException;
60
61 public void deleteSCFrameworkVersion(
62 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
63 throws com.liferay.portal.kernel.exception.SystemException;
64
65 public java.util.List<Object> dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.kernel.exception.SystemException;
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException;
72
73 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
74 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getSCFrameworkVersion(
75 long frameworkVersionId)
76 throws com.liferay.portal.kernel.exception.PortalException,
77 com.liferay.portal.kernel.exception.SystemException;
78
79 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
80 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
81 int start, int end)
82 throws com.liferay.portal.kernel.exception.SystemException;
83
84 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
85 public int getSCFrameworkVersionsCount()
86 throws com.liferay.portal.kernel.exception.SystemException;
87
88 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
89 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
90 throws com.liferay.portal.kernel.exception.SystemException;
91
92 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
93 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
94 boolean merge)
95 throws com.liferay.portal.kernel.exception.SystemException;
96
97 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
98 long userId, java.lang.String name, java.lang.String url,
99 boolean active, int priority,
100 com.liferay.portal.service.ServiceContext serviceContext)
101 throws com.liferay.portal.kernel.exception.PortalException,
102 com.liferay.portal.kernel.exception.SystemException;
103
104 public void addFrameworkVersionResources(long frameworkVersionId,
105 boolean addCommunityPermissions, boolean addGuestPermissions)
106 throws com.liferay.portal.kernel.exception.PortalException,
107 com.liferay.portal.kernel.exception.SystemException;
108
109 public void addFrameworkVersionResources(
110 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
111 boolean addCommunityPermissions, boolean addGuestPermissions)
112 throws com.liferay.portal.kernel.exception.PortalException,
113 com.liferay.portal.kernel.exception.SystemException;
114
115 public void addFrameworkVersionResources(long frameworkVersionId,
116 java.lang.String[] communityPermissions,
117 java.lang.String[] guestPermissions)
118 throws com.liferay.portal.kernel.exception.PortalException,
119 com.liferay.portal.kernel.exception.SystemException;
120
121 public void addFrameworkVersionResources(
122 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
123 java.lang.String[] communityPermissions,
124 java.lang.String[] guestPermissions)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException;
127
128 public void deleteFrameworkVersion(long frameworkVersionId)
129 throws com.liferay.portal.kernel.exception.PortalException,
130 com.liferay.portal.kernel.exception.SystemException;
131
132 public void deleteFrameworkVersion(
133 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
134 throws com.liferay.portal.kernel.exception.SystemException;
135
136 public void deleteFrameworkVersions(long groupId)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
140 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
141 long frameworkVersionId)
142 throws com.liferay.portal.kernel.exception.PortalException,
143 com.liferay.portal.kernel.exception.SystemException;
144
145 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
146 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
147 long groupId, int start, int end)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
151 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
152 long groupId, boolean active)
153 throws com.liferay.portal.kernel.exception.SystemException;
154
155 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
156 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
157 long groupId, boolean active, int start, int end)
158 throws com.liferay.portal.kernel.exception.SystemException;
159
160 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
161 public int getFrameworkVersionsCount(long groupId)
162 throws com.liferay.portal.kernel.exception.SystemException;
163
164 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
165 public int getFrameworkVersionsCount(long groupId, boolean active)
166 throws com.liferay.portal.kernel.exception.SystemException;
167
168 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
169 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
170 long productVersionId)
171 throws com.liferay.portal.kernel.exception.SystemException;
172
173 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
174 long frameworkVersionId, java.lang.String name, java.lang.String url,
175 boolean active, int priority)
176 throws com.liferay.portal.kernel.exception.PortalException,
177 com.liferay.portal.kernel.exception.SystemException;
178 }