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 addFrameworkVersion(
107 long userId, long plid, java.lang.String name, java.lang.String url,
108 boolean active, int priority, boolean addCommunityPermissions,
109 boolean addGuestPermissions)
110 throws com.liferay.portal.PortalException,
111 com.liferay.portal.SystemException {
112 return getService()
113 .addFrameworkVersion(userId, plid, name, url, active,
114 priority, addCommunityPermissions, addGuestPermissions);
115 }
116
117 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
118 long userId, long plid, java.lang.String name, java.lang.String url,
119 boolean active, int priority, java.lang.String[] communityPermissions,
120 java.lang.String[] guestPermissions)
121 throws com.liferay.portal.PortalException,
122 com.liferay.portal.SystemException {
123 return getService()
124 .addFrameworkVersion(userId, plid, name, url, active,
125 priority, communityPermissions, guestPermissions);
126 }
127
128 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
129 long userId, long plid, java.lang.String name, java.lang.String url,
130 boolean active, int priority,
131 java.lang.Boolean addCommunityPermissions,
132 java.lang.Boolean addGuestPermissions,
133 java.lang.String[] communityPermissions,
134 java.lang.String[] guestPermissions)
135 throws com.liferay.portal.PortalException,
136 com.liferay.portal.SystemException {
137 return getService()
138 .addFrameworkVersion(userId, plid, name, url, active,
139 priority, addCommunityPermissions, addGuestPermissions,
140 communityPermissions, guestPermissions);
141 }
142
143 public static void addFrameworkVersionResources(long frameworkVersionId,
144 boolean addCommunityPermissions, boolean addGuestPermissions)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException {
147 getService()
148 .addFrameworkVersionResources(frameworkVersionId,
149 addCommunityPermissions, addGuestPermissions);
150 }
151
152 public static void addFrameworkVersionResources(
153 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
154 boolean addCommunityPermissions, boolean addGuestPermissions)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException {
157 getService()
158 .addFrameworkVersionResources(frameworkVersion,
159 addCommunityPermissions, addGuestPermissions);
160 }
161
162 public static void addFrameworkVersionResources(long frameworkVersionId,
163 java.lang.String[] communityPermissions,
164 java.lang.String[] guestPermissions)
165 throws com.liferay.portal.PortalException,
166 com.liferay.portal.SystemException {
167 getService()
168 .addFrameworkVersionResources(frameworkVersionId,
169 communityPermissions, guestPermissions);
170 }
171
172 public static void addFrameworkVersionResources(
173 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion,
174 java.lang.String[] communityPermissions,
175 java.lang.String[] guestPermissions)
176 throws com.liferay.portal.PortalException,
177 com.liferay.portal.SystemException {
178 getService()
179 .addFrameworkVersionResources(frameworkVersion,
180 communityPermissions, guestPermissions);
181 }
182
183 public static void deleteFrameworkVersion(long frameworkVersionId)
184 throws com.liferay.portal.PortalException,
185 com.liferay.portal.SystemException {
186 getService().deleteFrameworkVersion(frameworkVersionId);
187 }
188
189 public static void deleteFrameworkVersion(
190 com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion frameworkVersion)
191 throws com.liferay.portal.SystemException {
192 getService().deleteFrameworkVersion(frameworkVersion);
193 }
194
195 public static void deleteFrameworkVersions(long groupId)
196 throws com.liferay.portal.SystemException {
197 getService().deleteFrameworkVersions(groupId);
198 }
199
200 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
201 long frameworkVersionId)
202 throws com.liferay.portal.PortalException,
203 com.liferay.portal.SystemException {
204 return getService().getFrameworkVersion(frameworkVersionId);
205 }
206
207 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
208 long groupId, int start, int end)
209 throws com.liferay.portal.SystemException {
210 return getService().getFrameworkVersions(groupId, start, end);
211 }
212
213 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
214 long groupId, boolean active) throws com.liferay.portal.SystemException {
215 return getService().getFrameworkVersions(groupId, active);
216 }
217
218 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
219 long groupId, boolean active, int start, int end)
220 throws com.liferay.portal.SystemException {
221 return getService().getFrameworkVersions(groupId, active, start, end);
222 }
223
224 public static int getFrameworkVersionsCount(long groupId)
225 throws com.liferay.portal.SystemException {
226 return getService().getFrameworkVersionsCount(groupId);
227 }
228
229 public static int getFrameworkVersionsCount(long groupId, boolean active)
230 throws com.liferay.portal.SystemException {
231 return getService().getFrameworkVersionsCount(groupId, active);
232 }
233
234 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getProductVersionFrameworkVersions(
235 long productVersionId) throws com.liferay.portal.SystemException {
236 return getService().getProductVersionFrameworkVersions(productVersionId);
237 }
238
239 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
240 long frameworkVersionId, java.lang.String name, java.lang.String url,
241 boolean active, int priority)
242 throws com.liferay.portal.PortalException,
243 com.liferay.portal.SystemException {
244 return getService()
245 .updateFrameworkVersion(frameworkVersionId, name, url,
246 active, priority);
247 }
248
249 public static SCFrameworkVersionLocalService getService() {
250 if (_service == null) {
251 throw new RuntimeException(
252 "SCFrameworkVersionLocalService is not set");
253 }
254
255 return _service;
256 }
257
258 public void setService(SCFrameworkVersionLocalService service) {
259 _service = service;
260 }
261
262 private static SCFrameworkVersionLocalService _service;
263 }