com.liferay.portlet.messageboards.service
Class MBBanLocalServiceUtil
java.lang.Object
com.liferay.portlet.messageboards.service.MBBanLocalServiceUtil
public class MBBanLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
MBBanLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
MBBanLocalService
- Generated:
Method Summary |
static MBBan |
addBan(long userId,
long banUserId,
ServiceContext serviceContext)
|
static MBBan |
addMBBan(MBBan mbBan)
|
static void |
checkBan(long groupId,
long banUserId)
|
static MBBan |
createMBBan(long banId)
|
static void |
deleteBan(long banUserId,
ServiceContext serviceContext)
|
static void |
deleteBansByBanUserId(long banUserId)
|
static void |
deleteBansByGroupId(long groupId)
|
static void |
deleteMBBan(long banId)
|
static void |
deleteMBBan(MBBan mbBan)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static void |
expireBans()
|
static java.util.List<MBBan> |
getBans(long groupId,
int start,
int end)
|
static int |
getBansCount(long groupId)
|
static MBBan |
getMBBan(long banId)
|
static java.util.List<MBBan> |
getMBBans(int start,
int end)
|
static int |
getMBBansCount()
|
static MBBanLocalService |
getService()
|
static boolean |
hasBan(long groupId,
long banUserId)
|
void |
setService(MBBanLocalService service)
|
static MBBan |
updateMBBan(MBBan mbBan)
|
static MBBan |
updateMBBan(MBBan mbBan,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBBanLocalServiceUtil
public MBBanLocalServiceUtil()
addMBBan
public static MBBan addMBBan(MBBan mbBan)
throws SystemException
- Throws:
SystemException
createMBBan
public static MBBan createMBBan(long banId)
deleteMBBan
public static void deleteMBBan(long banId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteMBBan
public static void deleteMBBan(MBBan mbBan)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getMBBan
public static MBBan getMBBan(long banId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getMBBans
public static java.util.List<MBBan> getMBBans(int start,
int end)
throws SystemException
- Throws:
SystemException
getMBBansCount
public static int getMBBansCount()
throws SystemException
- Throws:
SystemException
updateMBBan
public static MBBan updateMBBan(MBBan mbBan)
throws SystemException
- Throws:
SystemException
updateMBBan
public static MBBan updateMBBan(MBBan mbBan,
boolean merge)
throws SystemException
- Throws:
SystemException
addBan
public static MBBan addBan(long userId,
long banUserId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkBan
public static void checkBan(long groupId,
long banUserId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteBan
public static void deleteBan(long banUserId,
ServiceContext serviceContext)
throws SystemException
- Throws:
SystemException
deleteBansByBanUserId
public static void deleteBansByBanUserId(long banUserId)
throws SystemException
- Throws:
SystemException
deleteBansByGroupId
public static void deleteBansByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
expireBans
public static void expireBans()
throws SystemException
- Throws:
SystemException
getBans
public static java.util.List<MBBan> getBans(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getBansCount
public static int getBansCount(long groupId)
throws SystemException
- Throws:
SystemException
hasBan
public static boolean hasBan(long groupId,
long banUserId)
throws SystemException
- Throws:
SystemException
getService
public static MBBanLocalService getService()
setService
public void setService(MBBanLocalService service)