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