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