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