1
14
15 package com.liferay.portlet.messageboards.service;
16
17
18
34 public class MBBanLocalServiceWrapper implements MBBanLocalService {
35 public MBBanLocalServiceWrapper(MBBanLocalService mbBanLocalService) {
36 _mbBanLocalService = mbBanLocalService;
37 }
38
39 public com.liferay.portlet.messageboards.model.MBBan addMBBan(
40 com.liferay.portlet.messageboards.model.MBBan mbBan)
41 throws com.liferay.portal.kernel.exception.SystemException {
42 return _mbBanLocalService.addMBBan(mbBan);
43 }
44
45 public com.liferay.portlet.messageboards.model.MBBan createMBBan(long banId) {
46 return _mbBanLocalService.createMBBan(banId);
47 }
48
49 public void deleteMBBan(long banId)
50 throws com.liferay.portal.kernel.exception.PortalException,
51 com.liferay.portal.kernel.exception.SystemException {
52 _mbBanLocalService.deleteMBBan(banId);
53 }
54
55 public void deleteMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
56 throws com.liferay.portal.kernel.exception.SystemException {
57 _mbBanLocalService.deleteMBBan(mbBan);
58 }
59
60 public java.util.List<Object> dynamicQuery(
61 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
62 throws com.liferay.portal.kernel.exception.SystemException {
63 return _mbBanLocalService.dynamicQuery(dynamicQuery);
64 }
65
66 public java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
68 int end) throws com.liferay.portal.kernel.exception.SystemException {
69 return _mbBanLocalService.dynamicQuery(dynamicQuery, start, end);
70 }
71
72 public com.liferay.portlet.messageboards.model.MBBan getMBBan(long banId)
73 throws com.liferay.portal.kernel.exception.PortalException,
74 com.liferay.portal.kernel.exception.SystemException {
75 return _mbBanLocalService.getMBBan(banId);
76 }
77
78 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getMBBans(
79 int start, int end)
80 throws com.liferay.portal.kernel.exception.SystemException {
81 return _mbBanLocalService.getMBBans(start, end);
82 }
83
84 public int getMBBansCount()
85 throws com.liferay.portal.kernel.exception.SystemException {
86 return _mbBanLocalService.getMBBansCount();
87 }
88
89 public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
90 com.liferay.portlet.messageboards.model.MBBan mbBan)
91 throws com.liferay.portal.kernel.exception.SystemException {
92 return _mbBanLocalService.updateMBBan(mbBan);
93 }
94
95 public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
96 com.liferay.portlet.messageboards.model.MBBan mbBan, boolean merge)
97 throws com.liferay.portal.kernel.exception.SystemException {
98 return _mbBanLocalService.updateMBBan(mbBan, merge);
99 }
100
101 public com.liferay.portlet.messageboards.model.MBBan addBan(long userId,
102 long banUserId, com.liferay.portal.service.ServiceContext serviceContext)
103 throws com.liferay.portal.kernel.exception.PortalException,
104 com.liferay.portal.kernel.exception.SystemException {
105 return _mbBanLocalService.addBan(userId, banUserId, serviceContext);
106 }
107
108 public void checkBan(long groupId, long banUserId)
109 throws com.liferay.portal.kernel.exception.PortalException,
110 com.liferay.portal.kernel.exception.SystemException {
111 _mbBanLocalService.checkBan(groupId, banUserId);
112 }
113
114 public void deleteBan(long banUserId,
115 com.liferay.portal.service.ServiceContext serviceContext)
116 throws com.liferay.portal.kernel.exception.SystemException {
117 _mbBanLocalService.deleteBan(banUserId, serviceContext);
118 }
119
120 public void deleteBansByBanUserId(long banUserId)
121 throws com.liferay.portal.kernel.exception.SystemException {
122 _mbBanLocalService.deleteBansByBanUserId(banUserId);
123 }
124
125 public void deleteBansByGroupId(long groupId)
126 throws com.liferay.portal.kernel.exception.SystemException {
127 _mbBanLocalService.deleteBansByGroupId(groupId);
128 }
129
130 public void expireBans()
131 throws com.liferay.portal.kernel.exception.SystemException {
132 _mbBanLocalService.expireBans();
133 }
134
135 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(
136 long groupId, int start, int end)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _mbBanLocalService.getBans(groupId, start, end);
139 }
140
141 public int getBansCount(long groupId)
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return _mbBanLocalService.getBansCount(groupId);
144 }
145
146 public boolean hasBan(long groupId, long banUserId)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return _mbBanLocalService.hasBan(groupId, banUserId);
149 }
150
151 public MBBanLocalService getWrappedMBBanLocalService() {
152 return _mbBanLocalService;
153 }
154
155 private MBBanLocalService _mbBanLocalService;
156 }