1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
26
46 public class SCFrameworkVersionLocalServiceUtil {
47 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addSCFrameworkVersion(
48 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
49 throws com.liferay.portal.SystemException {
50 return getService().addSCFrameworkVersion(scFrameworkVersion);
51 }
52
53 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion createSCFrameworkVersion(
54 long frameworkVersionId) {
55 return getService().createSCFrameworkVersion(frameworkVersionId);
56 }
57
58 public static void deleteSCFrameworkVersion(long frameworkVersionId)
59 throws com.liferay.portal.PortalException,
60 com.liferay.portal.SystemException {
61 getService().deleteSCFrameworkVersion(frameworkVersionId);
62 }
63
64 public static void deleteSCFrameworkVersion(
65 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
66 throws com.liferay.portal.SystemException {
67 getService().deleteSCFrameworkVersion(scFrameworkVersion);
68 }
69
70 public static java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
72 throws com.liferay.portal.SystemException {
73 return getService().dynamicQuery(dynamicQuery);
74 }
75
76 public static java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end) throws com.liferay.portal.SystemException {
79 return getService().dynamicQuery(dynamicQuery, start, end);
80 }
81
82 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getSCFrameworkVersion(
83 long frameworkVersionId)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException {
86 return getService().getSCFrameworkVersion(frameworkVersionId);
87 }
88
89 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getSCFrameworkVersions(
90 int start, int end) throws com.liferay.portal.SystemException {
91 return getService().getSCFrameworkVersions(start, end);
92 }
93
94 public static int getSCFrameworkVersionsCount()
95 throws com.liferay.portal.SystemException {
96 return getService().getSCFrameworkVersionsCount();
97 }
98
99 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
100 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion)
101 throws com.liferay.portal.SystemException {
102 return getService().updateSCFrameworkVersion(scFrameworkVersion);
103 }
104
105 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateSCFrameworkVersion(
106 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion scFrameworkVersion,
107 boolean merge) throws com.liferay.portal.SystemException {
108 return getService().updateSCFrameworkVersion(scFrameworkVersion, merge);
109 }
110
111 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
112 long userId, long plid, java.lang.String name, java.lang.String url,
113 boolean active, int priority, boolean addCommunityPermissions,
114 boolean addGuestPermissions)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException {
117 return getService()
118 .addFrameworkVersion(userId, plid, name, url, active,
119 priority, addCommunityPermissions, addGuestPermissions);
120 }
121
122 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
123 long userId, long plid, java.lang.String name, java.lang.String url,
124 boolean active, int priority, java.lang.String[] communityPermissions,
125 java.lang.String[] guestPermissions)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException {
128 return getService()
129 .addFrameworkVersion(userId, plid, name, url, active,
130 priority, communityPermissions, guestPermissions);
131 }
132
133 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
134 long userId, long plid, java.lang.String name, java.lang.String url,
135 boolean active, int priority,
136 java.lang.Boolean addCommunityPermissions,
137 java.lang.Boolean addGuestPermissions,
138 java.lang.String[] communityPermissions,
139 java.lang.String[] guestPermissions)
140 throws com.liferay.portal.PortalException,
141 com.liferay.portal.SystemException {
142 return getService()
143 .addFrameworkVersion(userId, plid, name, url, active,
144 priority, addCommunityPermissions, addGuestPermissions,
145 communityPermissions, guestPermissions);
146 }
147
148 public static void addFrameworkVersionResources(long frameworkVersionId,
149 boolean addCommunityPermissions, boolean addGuestPermissions)
150 throws com.liferay.portal.PortalException,
151 com.liferay.portal.SystemException {
152 getService()
153 .addFrameworkVersionResources(frameworkVersionId,
154 addCommunityPermissions, addGuestPermissions);
155 }
156
157 public static void addFrameworkVersionResources(
158 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
159 boolean addCommunityPermissions, boolean addGuestPermissions)
160 throws com.liferay.portal.PortalException,
161 com.liferay.portal.SystemException {
162 getService()
163 .addFrameworkVersionResources(frameworkVersion,
164 addCommunityPermissions, addGuestPermissions);
165 }
166
167 public static void addFrameworkVersionResources(long frameworkVersionId,
168 java.lang.String[] communityPermissions,
169 java.lang.String[] guestPermissions)
170 throws com.liferay.portal.PortalException,
171 com.liferay.portal.SystemException {
172 getService()
173 .addFrameworkVersionResources(frameworkVersionId,
174 communityPermissions, guestPermissions);
175 }
176
177 public static void addFrameworkVersionResources(
178 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
179 java.lang.String[] communityPermissions,
180 java.lang.String[] guestPermissions)
181 throws com.liferay.portal.PortalException,
182 com.liferay.portal.SystemException {
183 getService()
184 .addFrameworkVersionResources(frameworkVersion,
185 communityPermissions, guestPermissions);
186 }
187
188 public static void deleteFrameworkVersion(long frameworkVersionId)
189 throws com.liferay.portal.PortalException,
190 com.liferay.portal.SystemException {
191 getService().deleteFrameworkVersion(frameworkVersionId);
192 }
193
194 public static void deleteFrameworkVersion(
195 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
196 throws com.liferay.portal.SystemException {
197 getService().deleteFrameworkVersion(frameworkVersion);
198 }
199
200 public static void deleteFrameworkVersions(long groupId)
201 throws com.liferay.portal.SystemException {
202 getService().deleteFrameworkVersions(groupId);
203 }
204
205 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
206 long frameworkVersionId)
207 throws com.liferay.portal.PortalException,
208 com.liferay.portal.SystemException {
209 return getService().getFrameworkVersion(frameworkVersionId);
210 }
211
212 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
213 long groupId, int start, int end)
214 throws com.liferay.portal.SystemException {
215 return getService().getFrameworkVersions(groupId, start, end);
216 }
217
218 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
219 long groupId, boolean active) throws com.liferay.portal.SystemException {
220 return getService().getFrameworkVersions(groupId, active);
221 }
222
223 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
224 long groupId, boolean active, int start, int end)
225 throws com.liferay.portal.SystemException {
226 return getService().getFrameworkVersions(groupId, active, start, end);
227 }
228
229 public static int getFrameworkVersionsCount(long groupId)
230 throws com.liferay.portal.SystemException {
231 return getService().getFrameworkVersionsCount(groupId);
232 }
233
234 public static int getFrameworkVersionsCount(long groupId, boolean active)
235 throws com.liferay.portal.SystemException {
236 return getService().getFrameworkVersionsCount(groupId, active);
237 }
238
239 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
240 long productVersionId) throws com.liferay.portal.SystemException {
241 return getService().getProductVersionFrameworkVersions(productVersionId);
242 }
243
244 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
245 long frameworkVersionId, java.lang.String name, java.lang.String url,
246 boolean active, int priority)
247 throws com.liferay.portal.PortalException,
248 com.liferay.portal.SystemException {
249 return getService()
250 .updateFrameworkVersion(frameworkVersionId, name, url,
251 active, priority);
252 }
253
254 public static SCFrameworkVersionLocalService getService() {
255 if (_service == null) {
256 throw new RuntimeException(
257 "SCFrameworkVersionLocalService is not set");
258 }
259
260 return _service;
261 }
262
263 public void setService(SCFrameworkVersionLocalService service) {
264 _service = service;
265 }
266
267 private static SCFrameworkVersionLocalService _service;
268 }