1
22
23 package com.liferay.portlet.messageboards.service;
24
25
26
51 public interface MBBanLocalService {
52 public com.liferay.portlet.messageboards.model.MBBan addMBBan(
53 com.liferay.portlet.messageboards.model.MBBan mbBan)
54 throws com.liferay.portal.SystemException;
55
56 public void deleteMBBan(long banId)
57 throws com.liferay.portal.SystemException,
58 com.liferay.portal.PortalException;
59
60 public void deleteMBBan(com.liferay.portlet.messageboards.model.MBBan mbBan)
61 throws com.liferay.portal.SystemException,
62 com.liferay.portal.PortalException;
63
64 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> dynamicQuery(
65 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
66 throws com.liferay.portal.SystemException;
67
68 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> dynamicQuery(
69 com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
70 int begin, int end) throws com.liferay.portal.SystemException;
71
72 public com.liferay.portlet.messageboards.model.MBBan updateMBBan(
73 com.liferay.portlet.messageboards.model.MBBan mbBan)
74 throws com.liferay.portal.SystemException;
75
76 public com.liferay.portlet.messageboards.model.MBBan addBan(long userId,
77 long plid, long banUserId)
78 throws com.liferay.portal.SystemException,
79 com.liferay.portal.PortalException;
80
81 public void checkBan(long groupId, long banUserId)
82 throws com.liferay.portal.SystemException,
83 com.liferay.portal.PortalException;
84
85 public void deleteBan(long plid, long banUserId)
86 throws com.liferay.portal.SystemException,
87 com.liferay.portal.PortalException;
88
89 public void deleteBansByBanUserId(long banUserId)
90 throws com.liferay.portal.SystemException;
91
92 public void deleteBansByGroupId(long groupId)
93 throws com.liferay.portal.SystemException;
94
95 public void expireBans() throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portlet.messageboards.model.MBBan> getBans(
98 long groupId, int start, int end)
99 throws com.liferay.portal.SystemException;
100
101 public int getBansCount(long groupId)
102 throws com.liferay.portal.SystemException;
103
104 public boolean hasBan(long groupId, long banUserId)
105 throws com.liferay.portal.SystemException;
106 }