1
22
23 package com.liferay.portlet.blogs.service;
24
25
26
42 public class BlogsEntryServiceWrapper implements BlogsEntryService {
43 public BlogsEntryServiceWrapper(BlogsEntryService blogsEntryService) {
44 _blogsEntryService = blogsEntryService;
45 }
46
47 public com.liferay.portlet.blogs.model.BlogsEntry addEntry(
48 java.lang.String title, java.lang.String content, int displayDateMonth,
49 int displayDateDay, int displayDateYear, int displayDateHour,
50 int displayDateMinute, boolean draft, boolean allowTrackbacks,
51 java.lang.String[] trackbacks,
52 com.liferay.portal.service.ServiceContext serviceContext)
53 throws com.liferay.portal.PortalException,
54 com.liferay.portal.SystemException {
55 return _blogsEntryService.addEntry(title, content, displayDateMonth,
56 displayDateDay, displayDateYear, displayDateHour,
57 displayDateMinute, draft, allowTrackbacks, trackbacks,
58 serviceContext);
59 }
60
61 public void deleteEntry(long entryId)
62 throws com.liferay.portal.PortalException,
63 com.liferay.portal.SystemException {
64 _blogsEntryService.deleteEntry(entryId);
65 }
66
67 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
68 long companyId, int max)
69 throws com.liferay.portal.PortalException,
70 com.liferay.portal.SystemException {
71 return _blogsEntryService.getCompanyEntries(companyId, max);
72 }
73
74 public java.lang.String getCompanyEntriesRSS(long companyId, int max,
75 java.lang.String type, double version, java.lang.String displayStyle,
76 java.lang.String feedURL, java.lang.String entryURL,
77 com.liferay.portal.theme.ThemeDisplay themeDisplay)
78 throws com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException {
80 return _blogsEntryService.getCompanyEntriesRSS(companyId, max, type,
81 version, displayStyle, feedURL, entryURL, themeDisplay);
82 }
83
84 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long entryId)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException {
87 return _blogsEntryService.getEntry(entryId);
88 }
89
90 public com.liferay.portlet.blogs.model.BlogsEntry getEntry(long groupId,
91 java.lang.String urlTitle)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 return _blogsEntryService.getEntry(groupId, urlTitle);
95 }
96
97 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
98 long groupId, int max)
99 throws com.liferay.portal.PortalException,
100 com.liferay.portal.SystemException {
101 return _blogsEntryService.getGroupEntries(groupId, max);
102 }
103
104 public java.lang.String getGroupEntriesRSS(long groupId, int max,
105 java.lang.String type, double version, java.lang.String displayStyle,
106 java.lang.String feedURL, java.lang.String entryURL,
107 com.liferay.portal.theme.ThemeDisplay themeDisplay)
108 throws com.liferay.portal.PortalException,
109 com.liferay.portal.SystemException {
110 return _blogsEntryService.getGroupEntriesRSS(groupId, max, type,
111 version, displayStyle, feedURL, entryURL, themeDisplay);
112 }
113
114 public java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
115 long organizationId, int max)
116 throws com.liferay.portal.PortalException,
117 com.liferay.portal.SystemException {
118 return _blogsEntryService.getOrganizationEntries(organizationId, max);
119 }
120
121 public java.lang.String getOrganizationEntriesRSS(long organizationId,
122 int max, java.lang.String type, double version,
123 java.lang.String displayStyle, java.lang.String feedURL,
124 java.lang.String entryURL,
125 com.liferay.portal.theme.ThemeDisplay themeDisplay)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException {
128 return _blogsEntryService.getOrganizationEntriesRSS(organizationId,
129 max, type, version, displayStyle, feedURL, entryURL, themeDisplay);
130 }
131
132 public com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
133 long entryId, java.lang.String title, java.lang.String content,
134 int displayDateMonth, int displayDateDay, int displayDateYear,
135 int displayDateHour, int displayDateMinute, boolean draft,
136 boolean allowTrackbacks, java.lang.String[] trackbacks,
137 com.liferay.portal.service.ServiceContext serviceContext)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException {
140 return _blogsEntryService.updateEntry(entryId, title, content,
141 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
142 displayDateMinute, draft, allowTrackbacks, trackbacks,
143 serviceContext);
144 }
145
146 public BlogsEntryService getWrappedBlogsEntryService() {
147 return _blogsEntryService;
148 }
149
150 private BlogsEntryService _blogsEntryService;
151 }