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