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