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