com.liferay.portlet.messageboards.service
Class MBCategoryLocalServiceUtil
java.lang.Object
com.liferay.portlet.messageboards.service.MBCategoryLocalServiceUtil
- public class MBCategoryLocalServiceUtil
- 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.MBCategoryLocalService
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.MBCategoryLocalServiceFactory
is responsible for the lookup of the bean.
- Author:
- Brian Wing Shun Chan
- See Also:
MBCategoryLocalService
,
MBCategoryLocalServiceFactory
Method Summary |
static MBCategory |
addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static MBCategory |
addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static MBCategory |
addCategory(java.lang.String uuid,
long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static MBCategory |
addCategory(java.lang.String uuid,
long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addCategoryResources(long categoryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addCategoryResources(long categoryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addCategoryResources(MBCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addCategoryResources(MBCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static MBCategory |
addMBCategory(MBCategory model)
|
static void |
afterPropertiesSet()
|
static void |
deleteCategories(long groupId)
|
static void |
deleteCategory(long categoryId)
|
static void |
deleteCategory(MBCategory category)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
static java.util.List |
getCategories(long groupId,
long parentCategoryId,
int begin,
int end)
|
static int |
getCategoriesCount(long groupId)
|
static int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
static MBCategory |
getCategory(long categoryId)
|
static MBBanPersistence |
getMBBanPersistence()
|
static MBCategoryFinder |
getMBCategoryFinder()
|
static MBCategoryPersistence |
getMBCategoryPersistence()
|
static MBDiscussionPersistence |
getMBDiscussionPersistence()
|
static MBMessageFinder |
getMBMessageFinder()
|
static MBMessageFlagFinder |
getMBMessageFlagFinder()
|
static MBMessageFlagPersistence |
getMBMessageFlagPersistence()
|
static MBMessagePersistence |
getMBMessagePersistence()
|
static MBStatsUserPersistence |
getMBStatsUserPersistence()
|
static MBThreadFinder |
getMBThreadFinder()
|
static MBThreadPersistence |
getMBThreadPersistence()
|
static ResourceFinder |
getResourceFinder()
|
static ResourcePersistence |
getResourcePersistence()
|
static void |
getSubcategoryIds(java.util.List categoryIds,
long groupId,
long categoryId)
|
static java.util.List |
getSubscribedCategories(long groupId,
long userId,
int begin,
int end)
|
static int |
getSubscribedCategoriesCount(long groupId,
long userId)
|
static SubscriptionPersistence |
getSubscriptionPersistence()
|
static MBCategory |
getSystemCategory()
|
static TagsEntryFinder |
getTagsEntryFinder()
|
static TagsEntryPersistence |
getTagsEntryPersistence()
|
static UserFinder |
getUserFinder()
|
static UserPersistence |
getUserPersistence()
|
static void |
reIndex(java.lang.String[] ids)
|
static com.liferay.portal.kernel.search.Hits |
search(long companyId,
long groupId,
long[] categoryIds,
long threadId,
java.lang.String keywords)
|
static void |
setMBBanPersistence(MBBanPersistence mbBanPersistence)
|
static void |
setMBCategoryFinder(MBCategoryFinder mbCategoryFinder)
|
static void |
setMBCategoryPersistence(MBCategoryPersistence mbCategoryPersistence)
|
static void |
setMBDiscussionPersistence(MBDiscussionPersistence mbDiscussionPersistence)
|
static void |
setMBMessageFinder(MBMessageFinder mbMessageFinder)
|
static void |
setMBMessageFlagFinder(MBMessageFlagFinder mbMessageFlagFinder)
|
static void |
setMBMessageFlagPersistence(MBMessageFlagPersistence mbMessageFlagPersistence)
|
static void |
setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
|
static void |
setMBStatsUserPersistence(MBStatsUserPersistence mbStatsUserPersistence)
|
static void |
setMBThreadFinder(MBThreadFinder mbThreadFinder)
|
static void |
setMBThreadPersistence(MBThreadPersistence mbThreadPersistence)
|
static void |
setResourceFinder(ResourceFinder resourceFinder)
|
static void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
static void |
setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
|
static void |
setTagsEntryFinder(TagsEntryFinder tagsEntryFinder)
|
static void |
setTagsEntryPersistence(TagsEntryPersistence tagsEntryPersistence)
|
static void |
setUserFinder(UserFinder userFinder)
|
static void |
setUserPersistence(UserPersistence userPersistence)
|
static void |
subscribeCategory(long userId,
long categoryId)
|
static void |
unsubscribeCategory(long userId,
long categoryId)
|
static MBCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory)
|
static MBCategory |
updateMBCategory(MBCategory model)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBCategoryLocalServiceUtil
public MBCategoryLocalServiceUtil()
addMBCategory
public static MBCategory addMBCategory(MBCategory 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
updateMBCategory
public static MBCategory updateMBCategory(MBCategory 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)
getResourcePersistence
public static ResourcePersistence getResourcePersistence()
setResourcePersistence
public static void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public static ResourceFinder getResourceFinder()
setResourceFinder
public static void setResourceFinder(ResourceFinder resourceFinder)
getSubscriptionPersistence
public static SubscriptionPersistence getSubscriptionPersistence()
setSubscriptionPersistence
public static void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
getUserPersistence
public static UserPersistence getUserPersistence()
setUserPersistence
public static void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public static UserFinder getUserFinder()
setUserFinder
public static void setUserFinder(UserFinder userFinder)
getTagsEntryPersistence
public static TagsEntryPersistence getTagsEntryPersistence()
setTagsEntryPersistence
public static void setTagsEntryPersistence(TagsEntryPersistence tagsEntryPersistence)
getTagsEntryFinder
public static TagsEntryFinder getTagsEntryFinder()
setTagsEntryFinder
public static void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder)
afterPropertiesSet
public static void afterPropertiesSet()
addCategory
public static MBCategory addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategory
public static MBCategory addCategory(java.lang.String uuid,
long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategory
public static MBCategory addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategory
public static MBCategory addCategory(java.lang.String uuid,
long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategoryResources
public static void addCategoryResources(long categoryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategoryResources
public static void addCategoryResources(MBCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategoryResources
public static void addCategoryResources(long categoryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCategoryResources
public static void addCategoryResources(MBCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteCategories
public static void deleteCategories(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteCategory
public static void deleteCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteCategory
public static void deleteCategory(MBCategory category)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCategories
public static java.util.List getCategories(long groupId,
long parentCategoryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoriesCount
public static int getCategoriesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoriesCount
public static int getCategoriesCount(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategory
public static MBCategory getCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSubcategoryIds
public static void getSubcategoryIds(java.util.List categoryIds,
long groupId,
long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubscribedCategories
public static java.util.List getSubscribedCategories(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubscribedCategoriesCount
public static int getSubscribedCategoriesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSystemCategory
public static MBCategory getSystemCategory()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
reIndex
public static void reIndex(java.lang.String[] ids)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public static com.liferay.portal.kernel.search.Hits search(long companyId,
long groupId,
long[] categoryIds,
long threadId,
java.lang.String keywords)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateCategory
public static MBCategory updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
subscribeCategory
public static void subscribeCategory(long userId,
long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsubscribeCategory
public static void unsubscribeCategory(long userId,
long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException