001
014
015 package com.liferay.portlet.blogs.service;
016
017
026 public class BlogsEntryServiceWrapper implements BlogsEntryService {
027 public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
028 _blogsEntryService = blogsEntryService;
029 }
030
031 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
032 java.lang.String title, java.lang.String content, int displayDateMonth,
033 int displayDateDay, int displayDateYear, int displayDateHour,
034 int displayDateMinute, boolean allowPingbacks, boolean allowTrackbacks,
035 java.lang.String[] trackbacks,
036 com.liferay.portal.service.ServiceContext serviceContext)
037 throws com.liferay.portal.kernel.exception.PortalException,
038 com.liferay.portal.kernel.exception.SystemException {
039 return _blogsEntryService.addEntry(title, content, displayDateMonth,
040 displayDateDay, displayDateYear, displayDateHour,
041 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
042 serviceContext);
043 }
044
045 public void deleteEntry(long entryId)
046 throws com.liferay.portal.kernel.exception.PortalException,
047 com.liferay.portal.kernel.exception.SystemException {
048 _blogsEntryService.deleteEntry(entryId);
049 }
050
051 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
052 long companyId, int status, int max)
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException {
055 return _blogsEntryService.getCompanyEntries(companyId, status, max);
056 }
057
058 public java.lang.String getCompanyEntriesRSS(long companyId, int status,
059 int max, java.lang.String type, double version,
060 java.lang.String displayStyle, java.lang.String feedURL,
061 java.lang.String entryURL,
062 com.liferay.portal.theme.ThemeDisplay themeDisplay)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 return _blogsEntryService.getCompanyEntriesRSS(companyId, status, max,
066 type, version, displayStyle, feedURL, entryURL, themeDisplay);
067 }
068
069 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _blogsEntryService.getEntry(entryId);
073 }
074
075 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
076 java.lang.String urlTitle)
077 throws com.liferay.portal.kernel.exception.PortalException,
078 com.liferay.portal.kernel.exception.SystemException {
079 return _blogsEntryService.getEntry(groupId, urlTitle);
080 }
081
082 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
083 long groupId, int status, int max)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _blogsEntryService.getGroupEntries(groupId, status, max);
086 }
087
088 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
089 long groupId, int status, int start, int end)
090 throws com.liferay.portal.kernel.exception.SystemException {
091 return _blogsEntryService.getGroupEntries(groupId, status, start, end);
092 }
093
094 public int getGroupEntriesCount(long groupId, int status)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return _blogsEntryService.getGroupEntriesCount(groupId, status);
097 }
098
099 public java.lang.String getGroupEntriesRSS(long groupId, int status,
100 int max, java.lang.String type, double version,
101 java.lang.String displayStyle, java.lang.String feedURL,
102 java.lang.String entryURL,
103 com.liferay.portal.theme.ThemeDisplay themeDisplay)
104 throws com.liferay.portal.kernel.exception.PortalException,
105 com.liferay.portal.kernel.exception.SystemException {
106 return _blogsEntryService.getGroupEntriesRSS(groupId, status, max,
107 type, version, displayStyle, feedURL, entryURL, themeDisplay);
108 }
109
110 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
111 long companyId, long groupId, int status, int max)
112 throws com.liferay.portal.kernel.exception.PortalException,
113 com.liferay.portal.kernel.exception.SystemException {
114 return _blogsEntryService.getGroupsEntries(companyId, groupId, status,
115 max);
116 }
117
118 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
119 long organizationId, int status, int max)
120 throws com.liferay.portal.kernel.exception.PortalException,
121 com.liferay.portal.kernel.exception.SystemException {
122 return _blogsEntryService.getOrganizationEntries(organizationId,
123 status, max);
124 }
125
126 public java.lang.String getOrganizationEntriesRSS(long organizationId,
127 int status, int max, java.lang.String type, double version,
128 java.lang.String displayStyle, java.lang.String feedURL,
129 java.lang.String entryURL,
130 com.liferay.portal.theme.ThemeDisplay themeDisplay)
131 throws com.liferay.portal.kernel.exception.PortalException,
132 com.liferay.portal.kernel.exception.SystemException {
133 return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
134 status, max, type, version, displayStyle, feedURL, entryURL,
135 themeDisplay);
136 }
137
138 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
139 long entryId, java.lang.String title, java.lang.String content,
140 int displayDateMonth, int displayDateDay, int displayDateYear,
141 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
142 boolean allowTrackbacks, java.lang.String[] trackbacks,
143 com.liferay.portal.service.ServiceContext serviceContext)
144 throws com.liferay.portal.kernel.exception.PortalException,
145 com.liferay.portal.kernel.exception.SystemException {
146 return _blogsEntryService.updateEntry(entryId, title, content,
147 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
148 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
149 serviceContext);
150 }
151
152 public BlogsEntryService getWrappedBlogsEntryService() {
153 return _blogsEntryService;
154 }
155
156 private BlogsEntryService _blogsEntryService;
157 }