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 addGroupPermissions, 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[] groupPermissions, java.lang.String[] guestPermissions)
249 throws com.liferay.portal.kernel.exception.PortalException,
250 com.liferay.portal.kernel.exception.SystemException;
251
252 public void addFrameworkVersionResources(
253 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
254 boolean addGroupPermissions, boolean addGuestPermissions)
255 throws com.liferay.portal.kernel.exception.PortalException,
256 com.liferay.portal.kernel.exception.SystemException;
257
258 public void addFrameworkVersionResources(
259 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
260 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException;
263
264 public void deleteFrameworkVersion(long frameworkVersionId)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException;
267
268 public void deleteFrameworkVersion(
269 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
270 throws com.liferay.portal.kernel.exception.SystemException;
271
272 public void deleteFrameworkVersions(long groupId)
273 throws com.liferay.portal.kernel.exception.SystemException;
274
275 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
276 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
277 long frameworkVersionId)
278 throws com.liferay.portal.kernel.exception.PortalException,
279 com.liferay.portal.kernel.exception.SystemException;
280
281 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
282 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
283 long groupId, boolean active)
284 throws com.liferay.portal.kernel.exception.SystemException;
285
286 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
287 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
288 long groupId, boolean active, int start, int end)
289 throws com.liferay.portal.kernel.exception.SystemException;
290
291 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
292 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
293 long groupId, int start, int end)
294 throws com.liferay.portal.kernel.exception.SystemException;
295
296 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
297 public int getFrameworkVersionsCount(long groupId)
298 throws com.liferay.portal.kernel.exception.SystemException;
299
300 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
301 public int getFrameworkVersionsCount(long groupId, boolean active)
302 throws com.liferay.portal.kernel.exception.SystemException;
303
304 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
305 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
306 long productVersionId)
307 throws com.liferay.portal.kernel.exception.SystemException;
308
309 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
310 long frameworkVersionId, java.lang.String name, java.lang.String url,
311 boolean active, int priority)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException;
314 }