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
com.liferay.portlet.messageboards.service.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.
com.liferay.portlet.messageboards.service.MBBanLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
MBBanLocalService
,
MBBanLocalServiceFactory
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 model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateMBBan
public static MBBan updateMBBan(MBBan model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMBBanPersistence
public static MBBanPersistence getMBBanPersistence()
setMBBanPersistence
public static void setMBBanPersistence(MBBanPersistence mbBanPersistence)
getMBCategoryPersistence
public static MBCategoryPersistence getMBCategoryPersistence()
setMBCategoryPersistence
public static void setMBCategoryPersistence(MBCategoryPersistence mbCategoryPersistence)
getMBCategoryFinder
public static MBCategoryFinder getMBCategoryFinder()
setMBCategoryFinder
public static void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder)
getMBDiscussionPersistence
public static MBDiscussionPersistence getMBDiscussionPersistence()
setMBDiscussionPersistence
public static void setMBDiscussionPersistence(MBDiscussionPersistence mbDiscussionPersistence)
getMBMessagePersistence
public static MBMessagePersistence getMBMessagePersistence()
setMBMessagePersistence
public static void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
getMBMessageFinder
public static MBMessageFinder getMBMessageFinder()
setMBMessageFinder
public static void setMBMessageFinder(MBMessageFinder mbMessageFinder)
getMBMessageFlagPersistence
public static MBMessageFlagPersistence getMBMessageFlagPersistence()
setMBMessageFlagPersistence
public static void setMBMessageFlagPersistence(MBMessageFlagPersistence mbMessageFlagPersistence)
getMBMessageFlagFinder
public static MBMessageFlagFinder getMBMessageFlagFinder()
setMBMessageFlagFinder
public static void setMBMessageFlagFinder(MBMessageFlagFinder mbMessageFlagFinder)
getMBStatsUserPersistence
public static MBStatsUserPersistence getMBStatsUserPersistence()
setMBStatsUserPersistence
public static void setMBStatsUserPersistence(MBStatsUserPersistence mbStatsUserPersistence)
getMBThreadPersistence
public static MBThreadPersistence getMBThreadPersistence()
setMBThreadPersistence
public static void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence)
getMBThreadFinder
public static MBThreadFinder getMBThreadFinder()
setMBThreadFinder
public static void setMBThreadFinder(MBThreadFinder mbThreadFinder)
getUserPersistence
public static UserPersistence getUserPersistence()
setUserPersistence
public static void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public static UserFinder getUserFinder()
setUserFinder
public static void setUserFinder(UserFinder userFinder)
afterPropertiesSet
public static void afterPropertiesSet()
addBan
public static MBBan addBan(long userId,
long plid,
long banUserId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkBan
public static void checkBan(long groupId,
long banUserId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteBan
public static void deleteBan(long plid,
long banUserId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteBansByBanUserId
public static void deleteBansByBanUserId(long banUserId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteBansByGroupId
public static void deleteBansByGroupId(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
expireBans
public static void expireBans()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getBans
public static java.util.List getBans(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getBansCount
public static int getBansCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasBan
public static boolean hasBan(long groupId,
long banUserId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException