1
22
23 package com.liferay.portlet.softwarecatalog.service;
24
25
26
46 public class SCFrameworkVersionServiceUtil {
47 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
48 long plid, java.lang.String name, java.lang.String url, boolean active,
49 int priority, boolean addCommunityPermissions,
50 boolean addGuestPermissions)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException, java.rmi.RemoteException {
53 return getService()
54 .addFrameworkVersion(plid, name, url, active, priority,
55 addCommunityPermissions, addGuestPermissions);
56 }
57
58 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion addFrameworkVersion(
59 long plid, java.lang.String name, java.lang.String url, boolean active,
60 int priority, java.lang.String[] communityPermissions,
61 java.lang.String[] guestPermissions)
62 throws com.liferay.portal.PortalException,
63 com.liferay.portal.SystemException, java.rmi.RemoteException {
64 return getService()
65 .addFrameworkVersion(plid, name, url, active, priority,
66 communityPermissions, guestPermissions);
67 }
68
69 public static void deleteFrameworkVersion(long frameworkVersionId)
70 throws com.liferay.portal.PortalException,
71 com.liferay.portal.SystemException, java.rmi.RemoteException {
72 getService().deleteFrameworkVersion(frameworkVersionId);
73 }
74
75 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion getFrameworkVersion(
76 long frameworkVersionId)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException, java.rmi.RemoteException {
79 return getService().getFrameworkVersion(frameworkVersionId);
80 }
81
82 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
83 long groupId, boolean active)
84 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
85 return getService().getFrameworkVersions(groupId, active);
86 }
87
88 public static java.util.List<com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion> getFrameworkVersions(
89 long groupId, boolean active, int start, int end)
90 throws com.liferay.portal.SystemException, java.rmi.RemoteException {
91 return getService().getFrameworkVersions(groupId, active, start, end);
92 }
93
94 public static com.liferay.portlet.softwarecatalog.model.SCFrameworkVersion updateFrameworkVersion(
95 long frameworkVersionId, java.lang.String name, java.lang.String url,
96 boolean active, int priority)
97 throws com.liferay.portal.PortalException,
98 com.liferay.portal.SystemException, java.rmi.RemoteException {
99 return getService()
100 .updateFrameworkVersion(frameworkVersionId, name, url,
101 active, priority);
102 }
103
104 public static SCFrameworkVersionService getService() {
105 if (_service == null) {
106 throw new RuntimeException("SCFrameworkVersionService is not set");
107 }
108
109 return _service;
110 }
111
112 public void setService(SCFrameworkVersionService service) {
113 _service = service;
114 }
115
116 private static SCFrameworkVersionService _service;
117 }