001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017 import com.liferay.portal.kernel.annotation.Isolation;
018 import com.liferay.portal.kernel.annotation.Propagation;
019 import com.liferay.portal.kernel.annotation.Transactional;
020 import com.liferay.portal.kernel.exception.PortalException;
021 import com.liferay.portal.kernel.exception.SystemException;
022
023
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface SCFrameworkVersionLocalService {
043
050 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
051 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054
060 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion createSCFrameworkVersion(
061 long frameworkVersionId);
062
063
070 public void deleteSCFrameworkVersion(long frameworkVersionId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException;
073
074
080 public void deleteSCFrameworkVersion(
081 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
082 throws com.liferay.portal.kernel.exception.SystemException;
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException;
113
114
128 @SuppressWarnings("rawtypes")
129 public java.util.List dynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
131 int end,
132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135
142 public long dynamicQueryCount(
143 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146
154 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
155 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getSCFrameworkVersion(
156 long frameworkVersionId)
157 throws com.liferay.portal.kernel.exception.PortalException,
158 com.liferay.portal.kernel.exception.SystemException;
159
160
172 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
173 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
174 int start, int end)
175 throws com.liferay.portal.kernel.exception.SystemException;
176
177
183 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
184 public int getSCFrameworkVersionsCount()
185 throws com.liferay.portal.kernel.exception.SystemException;
186
187
194 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
195 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
196 throws com.liferay.portal.kernel.exception.SystemException;
197
198
206 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
207 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
208 boolean merge)
209 throws com.liferay.portal.kernel.exception.SystemException;
210
211 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
212 long userId, java.lang.String name, java.lang.String url,
213 boolean active, int priority,
214 com.liferay.portal.service.ServiceContext serviceContext)
215 throws com.liferay.portal.kernel.exception.PortalException,
216 com.liferay.portal.kernel.exception.SystemException;
217
218 public void addFrameworkVersionResources(long frameworkVersionId,
219 boolean addCommunityPermissions, boolean addGuestPermissions)
220 throws com.liferay.portal.kernel.exception.PortalException,
221 com.liferay.portal.kernel.exception.SystemException;
222
223 public void addFrameworkVersionResources(
224 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
225 boolean addCommunityPermissions, boolean addGuestPermissions)
226 throws com.liferay.portal.kernel.exception.PortalException,
227 com.liferay.portal.kernel.exception.SystemException;
228
229 public void addFrameworkVersionResources(long frameworkVersionId,
230 java.lang.String[] communityPermissions,
231 java.lang.String[] guestPermissions)
232 throws com.liferay.portal.kernel.exception.PortalException,
233 com.liferay.portal.kernel.exception.SystemException;
234
235 public void addFrameworkVersionResources(
236 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
237 java.lang.String[] communityPermissions,
238 java.lang.String[] guestPermissions)
239 throws com.liferay.portal.kernel.exception.PortalException,
240 com.liferay.portal.kernel.exception.SystemException;
241
242 public void deleteFrameworkVersion(long frameworkVersionId)
243 throws com.liferay.portal.kernel.exception.PortalException,
244 com.liferay.portal.kernel.exception.SystemException;
245
246 public void deleteFrameworkVersion(
247 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
248 throws com.liferay.portal.kernel.exception.SystemException;
249
250 public void deleteFrameworkVersions(long groupId)
251 throws com.liferay.portal.kernel.exception.SystemException;
252
253 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
254 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
255 long frameworkVersionId)
256 throws com.liferay.portal.kernel.exception.PortalException,
257 com.liferay.portal.kernel.exception.SystemException;
258
259 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
260 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
261 long groupId, int start, int end)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
265 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
266 long groupId, boolean active)
267 throws com.liferay.portal.kernel.exception.SystemException;
268
269 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
270 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
271 long groupId, boolean active, int start, int end)
272 throws com.liferay.portal.kernel.exception.SystemException;
273
274 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
275 public int getFrameworkVersionsCount(long groupId)
276 throws com.liferay.portal.kernel.exception.SystemException;
277
278 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
279 public int getFrameworkVersionsCount(long groupId, boolean active)
280 throws com.liferay.portal.kernel.exception.SystemException;
281
282 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
283 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
284 long productVersionId)
285 throws com.liferay.portal.kernel.exception.SystemException;
286
287 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
288 long frameworkVersionId, java.lang.String name, java.lang.String url,
289 boolean active, int priority)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException;
292 }