001
014
015 package com.liferay.portlet.blogs.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class BlogsEntryServiceWrapper implements BlogsEntryService,
029 ServiceWrapper<BlogsEntryService> {
030 public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
031 _blogsEntryService = blogsEntryService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _blogsEntryService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _blogsEntryService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
053 java.lang.String title, java.lang.String description,
054 java.lang.String content, int displayDateMonth, int displayDateDay,
055 int displayDateYear, int displayDateHour, int displayDateMinute,
056 boolean allowPingbacks, boolean allowTrackbacks,
057 java.lang.String[] trackbacks, boolean smallImage,
058 java.lang.String smallImageURL, java.lang.String smallImageFileName,
059 java.io.InputStream smallImageInputStream,
060 com.liferay.portal.service.ServiceContext serviceContext)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 return _blogsEntryService.addEntry(title, description, content,
064 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
065 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
066 smallImage, smallImageURL, smallImageFileName,
067 smallImageInputStream, serviceContext);
068 }
069
070 public void deleteEntry(long entryId)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException {
073 _blogsEntryService.deleteEntry(entryId);
074 }
075
076 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
077 long companyId, java.util.Date displayDate, int status, int max)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return _blogsEntryService.getCompanyEntries(companyId, displayDate,
081 status, max);
082 }
083
084 public java.lang.String getCompanyEntriesRSS(long companyId,
085 java.util.Date displayDate, int status, int max, java.lang.String type,
086 double version, java.lang.String displayStyle,
087 java.lang.String feedURL, java.lang.String entryURL,
088 com.liferay.portal.theme.ThemeDisplay themeDisplay)
089 throws com.liferay.portal.kernel.exception.PortalException,
090 com.liferay.portal.kernel.exception.SystemException {
091 return _blogsEntryService.getCompanyEntriesRSS(companyId, displayDate,
092 status, max, type, version, displayStyle, feedURL, entryURL,
093 themeDisplay);
094 }
095
096 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
097 throws com.liferay.portal.kernel.exception.PortalException,
098 com.liferay.portal.kernel.exception.SystemException {
099 return _blogsEntryService.getEntry(entryId);
100 }
101
102 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
103 java.lang.String urlTitle)
104 throws com.liferay.portal.kernel.exception.PortalException,
105 com.liferay.portal.kernel.exception.SystemException {
106 return _blogsEntryService.getEntry(groupId, urlTitle);
107 }
108
109 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
110 long groupId, java.util.Date displayDate, int status, int max)
111 throws com.liferay.portal.kernel.exception.SystemException {
112 return _blogsEntryService.getGroupEntries(groupId, displayDate, status,
113 max);
114 }
115
116 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
117 long groupId, java.util.Date displayDate, int status, int start, int end)
118 throws com.liferay.portal.kernel.exception.SystemException {
119 return _blogsEntryService.getGroupEntries(groupId, displayDate, status,
120 start, end);
121 }
122
123 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
124 long groupId, int status, int max)
125 throws com.liferay.portal.kernel.exception.SystemException {
126 return _blogsEntryService.getGroupEntries(groupId, status, max);
127 }
128
129 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
130 long groupId, int status, int start, int end)
131 throws com.liferay.portal.kernel.exception.SystemException {
132 return _blogsEntryService.getGroupEntries(groupId, status, start, end);
133 }
134
135 public int getGroupEntriesCount(long groupId, java.util.Date displayDate,
136 int status) throws com.liferay.portal.kernel.exception.SystemException {
137 return _blogsEntryService.getGroupEntriesCount(groupId, displayDate,
138 status);
139 }
140
141 public int getGroupEntriesCount(long groupId, int status)
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return _blogsEntryService.getGroupEntriesCount(groupId, status);
144 }
145
146 public java.lang.String getGroupEntriesRSS(long groupId,
147 java.util.Date displayDate, int status, int max, java.lang.String type,
148 double version, java.lang.String displayStyle,
149 java.lang.String feedURL, java.lang.String entryURL,
150 com.liferay.portal.theme.ThemeDisplay themeDisplay)
151 throws com.liferay.portal.kernel.exception.PortalException,
152 com.liferay.portal.kernel.exception.SystemException {
153 return _blogsEntryService.getGroupEntriesRSS(groupId, displayDate,
154 status, max, type, version, displayStyle, feedURL, entryURL,
155 themeDisplay);
156 }
157
158 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
159 long companyId, long groupId, java.util.Date displayDate, int status,
160 int max)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException {
163 return _blogsEntryService.getGroupsEntries(companyId, groupId,
164 displayDate, status, max);
165 }
166
167 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
168 long organizationId, java.util.Date displayDate, int status, int max)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 return _blogsEntryService.getOrganizationEntries(organizationId,
172 displayDate, status, max);
173 }
174
175 public java.lang.String getOrganizationEntriesRSS(long organizationId,
176 java.util.Date displayDate, int status, int max, java.lang.String type,
177 double version, java.lang.String displayStyle,
178 java.lang.String feedURL, java.lang.String entryURL,
179 com.liferay.portal.theme.ThemeDisplay themeDisplay)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
183 displayDate, status, max, type, version, displayStyle, feedURL,
184 entryURL, themeDisplay);
185 }
186
187 public void subscribe(long groupId)
188 throws com.liferay.portal.kernel.exception.PortalException,
189 com.liferay.portal.kernel.exception.SystemException {
190 _blogsEntryService.subscribe(groupId);
191 }
192
193 public void unsubscribe(long groupId)
194 throws com.liferay.portal.kernel.exception.PortalException,
195 com.liferay.portal.kernel.exception.SystemException {
196 _blogsEntryService.unsubscribe(groupId);
197 }
198
199 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
200 long entryId, java.lang.String title, java.lang.String description,
201 java.lang.String content, int displayDateMonth, int displayDateDay,
202 int displayDateYear, int displayDateHour, int displayDateMinute,
203 boolean allowPingbacks, boolean allowTrackbacks,
204 java.lang.String[] trackbacks, boolean smallImage,
205 java.lang.String smallImageURL, java.lang.String smallImageFileName,
206 java.io.InputStream smallImageInputStream,
207 com.liferay.portal.service.ServiceContext serviceContext)
208 throws com.liferay.portal.kernel.exception.PortalException,
209 com.liferay.portal.kernel.exception.SystemException {
210 return _blogsEntryService.updateEntry(entryId, title, description,
211 content, displayDateMonth, displayDateDay, displayDateYear,
212 displayDateHour, displayDateMinute, allowPingbacks,
213 allowTrackbacks, trackbacks, smallImage, smallImageURL,
214 smallImageFileName, smallImageInputStream, serviceContext);
215 }
216
217
220 public BlogsEntryService getWrappedBlogsEntryService() {
221 return _blogsEntryService;
222 }
223
224
227 public void setWrappedBlogsEntryService(BlogsEntryService blogsEntryService) {
228 _blogsEntryService = blogsEntryService;
229 }
230
231 public BlogsEntryService getWrappedService() {
232 return _blogsEntryService;
233 }
234
235 public void setWrappedService(BlogsEntryService blogsEntryService) {
236 _blogsEntryService = blogsEntryService;
237 }
238
239 private BlogsEntryService _blogsEntryService;
240 }