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 void checkContentSearches(long companyId)
107 throws com.liferay.portal.PortalException,
108 com.liferay.portal.SystemException {
109 getService().checkContentSearches(companyId);
110 }
111
112 public static void deleteArticleContentSearch(long groupId,
113 boolean privateLayout, long layoutId, java.lang.String portletId,
114 java.lang.String articleId)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException {
117 getService()
118 .deleteArticleContentSearch(groupId, privateLayout, layoutId,
119 portletId, articleId);
120 }
121
122 public static void deleteArticleContentSearches(long groupId,
123 java.lang.String articleId) throws com.liferay.portal.SystemException {
124 getService().deleteArticleContentSearches(groupId, articleId);
125 }
126
127 public static void deleteLayoutContentSearches(long groupId,
128 boolean privateLayout, long layoutId)
129 throws com.liferay.portal.SystemException {
130 getService()
131 .deleteLayoutContentSearches(groupId, privateLayout, layoutId);
132 }
133
134 public static void deleteOwnerContentSearches(long groupId,
135 boolean privateLayout) throws com.liferay.portal.SystemException {
136 getService().deleteOwnerContentSearches(groupId, privateLayout);
137 }
138
139 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches()
140 throws com.liferay.portal.SystemException {
141 return getService().getArticleContentSearches();
142 }
143
144 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> getArticleContentSearches(
145 long groupId, java.lang.String articleId)
146 throws com.liferay.portal.SystemException {
147 return getService().getArticleContentSearches(groupId, articleId);
148 }
149
150 public static java.util.List<Long> getLayoutIds(long groupId,
151 boolean privateLayout, java.lang.String articleId)
152 throws com.liferay.portal.SystemException {
153 return getService().getLayoutIds(groupId, privateLayout, articleId);
154 }
155
156 public static int getLayoutIdsCount(long groupId, boolean privateLayout,
157 java.lang.String articleId) throws com.liferay.portal.SystemException {
158 return getService().getLayoutIdsCount(groupId, privateLayout, articleId);
159 }
160
161 public static com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
162 long groupId, boolean privateLayout, long layoutId,
163 java.lang.String portletId, java.lang.String articleId)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException {
166 return getService()
167 .updateContentSearch(groupId, privateLayout, layoutId,
168 portletId, articleId);
169 }
170
171 public static com.liferay.portlet.journal.model.JournalContentSearch updateContentSearch(
172 long groupId, boolean privateLayout, long layoutId,
173 java.lang.String portletId, java.lang.String articleId, boolean purge)
174 throws com.liferay.portal.PortalException,
175 com.liferay.portal.SystemException {
176 return getService()
177 .updateContentSearch(groupId, privateLayout, layoutId,
178 portletId, articleId, purge);
179 }
180
181 public static java.util.List<com.liferay.portlet.journal.model.JournalContentSearch> updateContentSearch(
182 long groupId, boolean privateLayout, long layoutId,
183 java.lang.String portletId, java.lang.String[] articleIds)
184 throws com.liferay.portal.PortalException,
185 com.liferay.portal.SystemException {
186 return getService()
187 .updateContentSearch(groupId, privateLayout, layoutId,
188 portletId, articleIds);
189 }
190
191 public static JournalContentSearchLocalService getService() {
192 if (_service == null) {
193 throw new RuntimeException(
194 "JournalContentSearchLocalService is not set");
195 }
196
197 return _service;
198 }
199
200 public void setService(JournalContentSearchLocalService service) {
201 _service = service;
202 }
203
204 private static JournalContentSearchLocalService _service;
205 }