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