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 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
044 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
045 throws com.liferay.portal.kernel.exception.SystemException;
046
047 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion createSCFrameworkVersion(
048 long frameworkVersionId);
049
050 public void deleteSCFrameworkVersion(long frameworkVersionId)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException;
053
054 public void deleteSCFrameworkVersion(
055 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
056 throws com.liferay.portal.kernel.exception.SystemException;
057
058 @SuppressWarnings("unchecked")
059 public java.util.List dynamicQuery(
060 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
061 throws com.liferay.portal.kernel.exception.SystemException;
062
063 @SuppressWarnings("unchecked")
064 public java.util.List dynamicQuery(
065 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066 int end) throws com.liferay.portal.kernel.exception.SystemException;
067
068 @SuppressWarnings("unchecked")
069 public java.util.List dynamicQuery(
070 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
071 int end,
072 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
073 throws com.liferay.portal.kernel.exception.SystemException;
074
075 public long dynamicQueryCount(
076 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
077 throws com.liferay.portal.kernel.exception.SystemException;
078
079 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
080 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getSCFrameworkVersion(
081 long frameworkVersionId)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException;
084
085 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
086 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
087 int start, int end)
088 throws com.liferay.portal.kernel.exception.SystemException;
089
090 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
091 public int getSCFrameworkVersionsCount()
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
095 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
096 throws com.liferay.portal.kernel.exception.SystemException;
097
098 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
099 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
100 boolean merge)
101 throws com.liferay.portal.kernel.exception.SystemException;
102
103 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
104 long userId, java.lang.String name, java.lang.String url,
105 boolean active, int priority,
106 com.liferay.portal.service.ServiceContext serviceContext)
107 throws com.liferay.portal.kernel.exception.PortalException,
108 com.liferay.portal.kernel.exception.SystemException;
109
110 public void addFrameworkVersionResources(long frameworkVersionId,
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(
116 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
117 boolean addCommunityPermissions, boolean addGuestPermissions)
118 throws com.liferay.portal.kernel.exception.PortalException,
119 com.liferay.portal.kernel.exception.SystemException;
120
121 public void addFrameworkVersionResources(long frameworkVersionId,
122 java.lang.String[] communityPermissions,
123 java.lang.String[] guestPermissions)
124 throws com.liferay.portal.kernel.exception.PortalException,
125 com.liferay.portal.kernel.exception.SystemException;
126
127 public void addFrameworkVersionResources(
128 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
129 java.lang.String[] communityPermissions,
130 java.lang.String[] guestPermissions)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException;
133
134 public void deleteFrameworkVersion(long frameworkVersionId)
135 throws com.liferay.portal.kernel.exception.PortalException,
136 com.liferay.portal.kernel.exception.SystemException;
137
138 public void deleteFrameworkVersion(
139 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
140 throws com.liferay.portal.kernel.exception.SystemException;
141
142 public void deleteFrameworkVersions(long groupId)
143 throws com.liferay.portal.kernel.exception.SystemException;
144
145 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
146 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
147 long frameworkVersionId)
148 throws com.liferay.portal.kernel.exception.PortalException,
149 com.liferay.portal.kernel.exception.SystemException;
150
151 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
152 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
153 long groupId, int start, int end)
154 throws com.liferay.portal.kernel.exception.SystemException;
155
156 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
157 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
158 long groupId, boolean active)
159 throws com.liferay.portal.kernel.exception.SystemException;
160
161 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
162 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
163 long groupId, boolean active, int start, int end)
164 throws com.liferay.portal.kernel.exception.SystemException;
165
166 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
167 public int getFrameworkVersionsCount(long groupId)
168 throws com.liferay.portal.kernel.exception.SystemException;
169
170 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
171 public int getFrameworkVersionsCount(long groupId, boolean active)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
175 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
176 long productVersionId)
177 throws com.liferay.portal.kernel.exception.SystemException;
178
179 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
180 long frameworkVersionId, java.lang.String name, java.lang.String url,
181 boolean active, int priority)
182 throws com.liferay.portal.kernel.exception.PortalException,
183 com.liferay.portal.kernel.exception.SystemException;
184 }