1
14
15 package com.liferay.portal.service;
16
17 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18
19
39 public class ReleaseLocalServiceUtil {
40 public static com.liferay.portal.model.Release addRelease(
41 com.liferay.portal.model.Release release)
42 throws com.liferay.portal.SystemException {
43 return getService().addRelease(release);
44 }
45
46 public static com.liferay.portal.model.Release createRelease(long releaseId) {
47 return getService().createRelease(releaseId);
48 }
49
50 public static void deleteRelease(long releaseId)
51 throws com.liferay.portal.PortalException,
52 com.liferay.portal.SystemException {
53 getService().deleteRelease(releaseId);
54 }
55
56 public static void deleteRelease(com.liferay.portal.model.Release release)
57 throws com.liferay.portal.SystemException {
58 getService().deleteRelease(release);
59 }
60
61 public static java.util.List<Object> dynamicQuery(
62 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63 throws com.liferay.portal.SystemException {
64 return getService().dynamicQuery(dynamicQuery);
65 }
66
67 public static java.util.List<Object> dynamicQuery(
68 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69 int end) throws com.liferay.portal.SystemException {
70 return getService().dynamicQuery(dynamicQuery, start, end);
71 }
72
73 public static com.liferay.portal.model.Release getRelease(long releaseId)
74 throws com.liferay.portal.PortalException,
75 com.liferay.portal.SystemException {
76 return getService().getRelease(releaseId);
77 }
78
79 public static java.util.List<com.liferay.portal.model.Release> getReleases(
80 int start, int end) throws com.liferay.portal.SystemException {
81 return getService().getReleases(start, end);
82 }
83
84 public static int getReleasesCount()
85 throws com.liferay.portal.SystemException {
86 return getService().getReleasesCount();
87 }
88
89 public static com.liferay.portal.model.Release updateRelease(
90 com.liferay.portal.model.Release release)
91 throws com.liferay.portal.SystemException {
92 return getService().updateRelease(release);
93 }
94
95 public static com.liferay.portal.model.Release updateRelease(
96 com.liferay.portal.model.Release release, boolean merge)
97 throws com.liferay.portal.SystemException {
98 return getService().updateRelease(release, merge);
99 }
100
101 public static com.liferay.portal.model.Release addRelease(
102 java.lang.String servletContextName, int buildNumber)
103 throws com.liferay.portal.SystemException {
104 return getService().addRelease(servletContextName, buildNumber);
105 }
106
107 public static void createTablesAndPopulate()
108 throws com.liferay.portal.SystemException {
109 getService().createTablesAndPopulate();
110 }
111
112 public static int getBuildNumberOrCreate()
113 throws com.liferay.portal.PortalException,
114 com.liferay.portal.SystemException {
115 return getService().getBuildNumberOrCreate();
116 }
117
118 public static com.liferay.portal.model.Release getRelease(
119 java.lang.String servletContextName, int buildNumber)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 return getService().getRelease(servletContextName, buildNumber);
123 }
124
125 public static com.liferay.portal.model.Release updateRelease(
126 long releaseId, int buildNumber, java.util.Date buildDate,
127 boolean verified)
128 throws com.liferay.portal.PortalException,
129 com.liferay.portal.SystemException {
130 return getService()
131 .updateRelease(releaseId, buildNumber, buildDate, verified);
132 }
133
134 public static ReleaseLocalService getService() {
135 if (_service == null) {
136 _service = (ReleaseLocalService)PortalBeanLocatorUtil.locate(ReleaseLocalService.class.getName());
137 }
138
139 return _service;
140 }
141
142 public void setService(ReleaseLocalService service) {
143 _service = service;
144 }
145
146 private static ReleaseLocalService _service;
147 }