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