1
22
23 package com.liferay.portlet.journal.service;
24
25
26
47 public class JournalContentSearchLocalServiceUtil {
48 public static com.liferay.portlet.journal.model.JournalContentSearch addJournalContentSearch(
49 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
50 throws com.liferay.portal.SystemException {
51 return getService().addJournalContentSearch(journalContentSearch);
52 }
53
54 public static com.liferay.portlet.journal.model.JournalContentSearch createJournalContentSearch(
55 long contentSearchId) {
56 return getService().createJournalContentSearch(contentSearchId);
57 }
58
59 public static void deleteJournalContentSearch(long contentSearchId)
60 throws com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException {
62 getService().deleteJournalContentSearch(contentSearchId);
63 }
64
65 public static void deleteJournalContentSearch(
66 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
67 throws com.liferay.portal.SystemException {
68 getService().deleteJournalContentSearch(journalContentSearch);
69 }
70
71 public static java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73 throws com.liferay.portal.SystemException {
74 return getService().dynamicQuery(dynamicQuery);
75 }
76
77 public static java.util.List<Object> dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end) throws com.liferay.portal.SystemException {
80 return getService().dynamicQuery(dynamicQuery, start, end);
81 }
82
83 public static com.liferay.portlet.journal.model.JournalContentSearch getJournalContentSearch(
84 long contentSearchId)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException {
87 return getService().getJournalContentSearch(contentSearchId);
88 }
89
90 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getJournalContentSearchs(
91 int start, int end) throws com.liferay.portal.SystemException {
92 return getService().getJournalContentSearchs(start, end);
93 }
94
95 public static int getJournalContentSearchsCount()
96 throws com.liferay.portal.SystemException {
97 return getService().getJournalContentSearchsCount();
98 }
99
100 public static com.liferay.portlet.journal.model.JournalContentSearch updateJournalContentSearch(
101 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch)
102 throws com.liferay.portal.SystemException {
103 return getService().updateJournalContentSearch(journalContentSearch);
104 }
105
106 public static com.liferay.portlet.journal.model.JournalContentSearch updateJournalContentSearch(
107 com.liferay.portlet.journal.model.JournalContentSearch journalContentSearch,
108 boolean merge) throws com.liferay.portal.SystemException {
109 return getService()
110 .updateJournalContentSearch(journalContentSearch, merge);
111 }
112
113 public static void checkContentSearches(long companyId)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException {
116 getService().checkContentSearches(companyId);
117 }
118
119 public static void deleteArticleContentSearch(long groupId,
120 boolean privateLayout, long layoutId, java.lang.String portletId,
121 java.lang.String articleId)
122 throws com.liferay.portal.PortalException,
123 com.liferay.portal.SystemException {
124 getService()
125 .deleteArticleContentSearch(groupId, privateLayout, layoutId,
126 portletId, articleId);
127 }
128
129 public static void deleteArticleContentSearches(long groupId,
130 java.lang.String articleId) throws com.liferay.portal.SystemException {
131 getService().deleteArticleContentSearches(groupId, articleId);
132 }
133
134 public static void deleteLayoutContentSearches(long groupId,
135 boolean privateLayout, long layoutId)
136 throws com.liferay.portal.SystemException {
137 getService()
138 .deleteLayoutContentSearches(groupId, privateLayout, layoutId);
139 }
140
141 public static void deleteOwnerContentSearches(long groupId,
142 boolean privateLayout) throws com.liferay.portal.SystemException {
143 getService().deleteOwnerContentSearches(groupId, privateLayout);
144 }
145
146 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches()
147 throws com.liferay.portal.SystemException {
148 return getService().getArticleContentSearches();
149 }
150
151 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches(
152 long groupId, java.lang.String articleId)
153 throws com.liferay.portal.SystemException {
154 return getService().getArticleContentSearches(groupId, articleId);
155 }
156
157 public static java.util.List<Long> getLayoutIds(long groupId,
158 boolean privateLayout, java.lang.String articleId)
159 throws com.liferay.portal.SystemException {
160 return getService().getLayoutIds(groupId, privateLayout, articleId);
161 }
162
163 public static int getLayoutIdsCount(long groupId, boolean privateLayout,
164 java.lang.String articleId) throws com.liferay.portal.SystemException {
165 return getService().getLayoutIdsCount(groupId, privateLayout, articleId);
166 }
167
168 public static com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
169 long groupId, boolean privateLayout, long layoutId,
170 java.lang.String portletId, java.lang.String articleId)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException {
173 return getService()
174 .updateContentSearch(groupId, privateLayout, layoutId,
175 portletId, articleId);
176 }
177
178 public static com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
179 long groupId, boolean privateLayout, long layoutId,
180 java.lang.String portletId, java.lang.String articleId, boolean purge)
181 throws com.liferay.portal.PortalException,
182 com.liferay.portal.SystemException {
183 return getService()
184 .updateContentSearch(groupId, privateLayout, layoutId,
185 portletId, articleId, purge);
186 }
187
188 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> updateContentSearch(
189 long groupId, boolean privateLayout, long layoutId,
190 java.lang.String portletId, java.lang.String[] articleIds)
191 throws com.liferay.portal.PortalException,
192 com.liferay.portal.SystemException {
193 return getService()
194 .updateContentSearch(groupId, privateLayout, layoutId,
195 portletId, articleIds);
196 }
197
198 public static JournalContentSearchLocalService getService() {
199 if (_service == null) {
200 throw new RuntimeException(
201 "JournalContentSearchLocalService is not set");
202 }
203
204 return _service;
205 }
206
207 public void setService(JournalContentSearchLocalService service) {
208 _service = service;
209 }
210
211 private static JournalContentSearchLocalService _service;
212 }