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