001
014
015 package com.liferay.portlet.softwarecatalog.service;
016
017 import com.liferay.portal.kernel.exception.PortalException;
018 import com.liferay.portal.kernel.exception.SystemException;
019 import com.liferay.portal.kernel.transaction.Isolation;
020 import com.liferay.portal.kernel.transaction.Propagation;
021 import com.liferay.portal.kernel.transaction.Transactional;
022 import com.liferay.portal.service.PersistedModelLocalService;
023
024
037 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
038 PortalException.class, SystemException.class})
039 public interface SCFrameworkVersionLocalService
040 extends PersistedModelLocalService {
041
046
047
054 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
055 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058
064 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion createSCFrameworkVersion(
065 long frameworkVersionId);
066
067
074 public void deleteSCFrameworkVersion(long frameworkVersionId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException;
077
078
084 public void deleteSCFrameworkVersion(
085 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
086 throws com.liferay.portal.kernel.exception.SystemException;
087
088
095 @SuppressWarnings("rawtypes")
096 public java.util.List dynamicQuery(
097 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
098 throws com.liferay.portal.kernel.exception.SystemException;
099
100
113 @SuppressWarnings("rawtypes")
114 public java.util.List dynamicQuery(
115 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
116 int end) throws com.liferay.portal.kernel.exception.SystemException;
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException;
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException;
149
150
158 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
159 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getSCFrameworkVersion(
160 long frameworkVersionId)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException;
163
164 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
165 public com.liferay.portal.model.PersistedModel getPersistedModel(
166 java.io.Serializable primaryKeyObj)
167 throws com.liferay.portal.kernel.exception.PortalException,
168 com.liferay.portal.kernel.exception.SystemException;
169
170
182 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
183 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
184 int start, int end)
185 throws com.liferay.portal.kernel.exception.SystemException;
186
187
193 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
194 public int getSCFrameworkVersionsCount()
195 throws com.liferay.portal.kernel.exception.SystemException;
196
197
204 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
205 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
206 throws com.liferay.portal.kernel.exception.SystemException;
207
208
216 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
217 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
218 boolean merge)
219 throws com.liferay.portal.kernel.exception.SystemException;
220
221
226 public java.lang.String getBeanIdentifier();
227
228
233 public void setBeanIdentifier(java.lang.String beanIdentifier);
234
235 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
236 long userId, java.lang.String name, java.lang.String url,
237 boolean active, int priority,
238 com.liferay.portal.service.ServiceContext serviceContext)
239 throws com.liferay.portal.kernel.exception.PortalException,
240 com.liferay.portal.kernel.exception.SystemException;
241
242 public void addFrameworkVersionResources(long frameworkVersionId,
243 boolean addCommunityPermissions, boolean addGuestPermissions)
244 throws com.liferay.portal.kernel.exception.PortalException,
245 com.liferay.portal.kernel.exception.SystemException;
246
247 public void addFrameworkVersionResources(long frameworkVersionId,
248 java.lang.String[] communityPermissions,
249 java.lang.String[] guestPermissions)
250 throws com.liferay.portal.kernel.exception.PortalException,
251 com.liferay.portal.kernel.exception.SystemException;
252
253 public void addFrameworkVersionResources(
254 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
255 boolean addCommunityPermissions, boolean addGuestPermissions)
256 throws com.liferay.portal.kernel.exception.PortalException,
257 com.liferay.portal.kernel.exception.SystemException;
258
259 public void addFrameworkVersionResources(
260 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
261 java.lang.String[] communityPermissions,
262 java.lang.String[] guestPermissions)
263 throws com.liferay.portal.kernel.exception.PortalException,
264 com.liferay.portal.kernel.exception.SystemException;
265
266 public void deleteFrameworkVersion(long frameworkVersionId)
267 throws com.liferay.portal.kernel.exception.PortalException,
268 com.liferay.portal.kernel.exception.SystemException;
269
270 public void deleteFrameworkVersion(
271 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
272 throws com.liferay.portal.kernel.exception.SystemException;
273
274 public void deleteFrameworkVersions(long groupId)
275 throws com.liferay.portal.kernel.exception.SystemException;
276
277 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
278 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
279 long frameworkVersionId)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException;
282
283 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
284 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
285 long groupId, boolean active)
286 throws com.liferay.portal.kernel.exception.SystemException;
287
288 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
289 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
290 long groupId, boolean active, int start, int end)
291 throws com.liferay.portal.kernel.exception.SystemException;
292
293 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
294 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
295 long groupId, int start, int end)
296 throws com.liferay.portal.kernel.exception.SystemException;
297
298 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
299 public int getFrameworkVersionsCount(long groupId)
300 throws com.liferay.portal.kernel.exception.SystemException;
301
302 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
303 public int getFrameworkVersionsCount(long groupId, boolean active)
304 throws com.liferay.portal.kernel.exception.SystemException;
305
306 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
307 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
308 long productVersionId)
309 throws com.liferay.portal.kernel.exception.SystemException;
310
311 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
312 long frameworkVersionId, java.lang.String name, java.lang.String url,
313 boolean active, int priority)
314 throws com.liferay.portal.kernel.exception.PortalException,
315 com.liferay.portal.kernel.exception.SystemException;
316 }