1
14
15 package com.liferay.portlet.softwarecatalog.service;
16
17 import com.liferay.portal.kernel.annotation.Isolation;
18 import com.liferay.portal.kernel.annotation.Propagation;
19 import com.liferay.portal.kernel.annotation.Transactional;
20 import com.liferay.portal.kernel.exception.PortalException;
21 import com.liferay.portal.kernel.exception.SystemException;
22
23
47 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
48 PortalException.class, SystemException.class})
49 public interface SCFrameworkVersionLocalService {
50 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
51 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
52 throws com.liferay.portal.kernel.exception.SystemException;
53
54 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion createSCFrameworkVersion(
55 long frameworkVersionId);
56
57 public void deleteSCFrameworkVersion(long frameworkVersionId)
58 throws com.liferay.portal.kernel.exception.PortalException,
59 com.liferay.portal.kernel.exception.SystemException;
60
61 public void deleteSCFrameworkVersion(
62 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
63 throws com.liferay.portal.kernel.exception.SystemException;
64
65 public java.util.List<Object> dynamicQuery(
66 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
67 throws com.liferay.portal.kernel.exception.SystemException;
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException;
72
73 public java.util.List<Object> dynamicQuery(
74 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
75 int end,
76 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77 throws com.liferay.portal.kernel.exception.SystemException;
78
79 public int dynamicQueryCount(
80 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
81 throws com.liferay.portal.kernel.exception.SystemException;
82
83 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
84 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getSCFrameworkVersion(
85 long frameworkVersionId)
86 throws com.liferay.portal.kernel.exception.PortalException,
87 com.liferay.portal.kernel.exception.SystemException;
88
89 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
90 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
91 int start, int end)
92 throws com.liferay.portal.kernel.exception.SystemException;
93
94 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
95 public int getSCFrameworkVersionsCount()
96 throws com.liferay.portal.kernel.exception.SystemException;
97
98 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
99 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
100 throws com.liferay.portal.kernel.exception.SystemException;
101
102 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
103 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
104 boolean merge)
105 throws com.liferay.portal.kernel.exception.SystemException;
106
107 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
108 long userId, java.lang.String name, java.lang.String url,
109 boolean active, int priority,
110 com.liferay.portal.service.ServiceContext serviceContext)
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException;
113
114 public void addFrameworkVersionResources(long frameworkVersionId,
115 boolean addCommunityPermissions, boolean addGuestPermissions)
116 throws com.liferay.portal.kernel.exception.PortalException,
117 com.liferay.portal.kernel.exception.SystemException;
118
119 public void addFrameworkVersionResources(
120 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
121 boolean addCommunityPermissions, boolean addGuestPermissions)
122 throws com.liferay.portal.kernel.exception.PortalException,
123 com.liferay.portal.kernel.exception.SystemException;
124
125 public void addFrameworkVersionResources(long frameworkVersionId,
126 java.lang.String[] communityPermissions,
127 java.lang.String[] guestPermissions)
128 throws com.liferay.portal.kernel.exception.PortalException,
129 com.liferay.portal.kernel.exception.SystemException;
130
131 public void addFrameworkVersionResources(
132 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
133 java.lang.String[] communityPermissions,
134 java.lang.String[] guestPermissions)
135 throws com.liferay.portal.kernel.exception.PortalException,
136 com.liferay.portal.kernel.exception.SystemException;
137
138 public void deleteFrameworkVersion(long frameworkVersionId)
139 throws com.liferay.portal.kernel.exception.PortalException,
140 com.liferay.portal.kernel.exception.SystemException;
141
142 public void deleteFrameworkVersion(
143 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146 public void deleteFrameworkVersions(long groupId)
147 throws com.liferay.portal.kernel.exception.SystemException;
148
149 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
150 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
151 long frameworkVersionId)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException;
154
155 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
156 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
157 long groupId, int start, int end)
158 throws com.liferay.portal.kernel.exception.SystemException;
159
160 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
161 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
162 long groupId, boolean active)
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
166 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
167 long groupId, boolean active, int start, int end)
168 throws com.liferay.portal.kernel.exception.SystemException;
169
170 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
171 public int getFrameworkVersionsCount(long groupId)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
175 public int getFrameworkVersionsCount(long groupId, boolean active)
176 throws com.liferay.portal.kernel.exception.SystemException;
177
178 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
179 public java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
180 long productVersionId)
181 throws com.liferay.portal.kernel.exception.SystemException;
182
183 public com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
184 long frameworkVersionId, java.lang.String name, java.lang.String url,
185 boolean active, int priority)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException;
188 }