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