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 SCFrameworkVersionService {
043 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
044 java.lang.String name, java.lang.String url, boolean active,
045 int priority, com.liferay.portal.service.ServiceContext serviceContext)
046 throws com.liferay.portal.kernel.exception.PortalException,
047 com.liferay.portal.kernel.exception.SystemException;
048
049 public void deleteFrameworkVersion(long frameworkVersionId)
050 throws com.liferay.portal.kernel.exception.PortalException,
051 com.liferay.portal.kernel.exception.SystemException;
052
053 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
054 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
055 long frameworkVersionId)
056 throws com.liferay.portal.kernel.exception.PortalException,
057 com.liferay.portal.kernel.exception.SystemException;
058
059 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
060 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
061 long groupId, boolean active)
062 throws com.liferay.portal.kernel.exception.SystemException;
063
064 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
065 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
066 long groupId, boolean active, int start, int end)
067 throws com.liferay.portal.kernel.exception.SystemException;
068
069 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
070 long frameworkVersionId, java.lang.String name, java.lang.String url,
071 boolean active, int priority)
072 throws com.liferay.portal.kernel.exception.PortalException,
073 com.liferay.portal.kernel.exception.SystemException;
074 }