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