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