com.liferay.portlet.messageboards.service.impl
Class MBCategoryServiceImpl
java.lang.Object
com.liferay.portal.service.impl.PrincipalBean
com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBCategoryServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.messageboards.service.MBCategoryService, org.springframework.beans.factory.InitializingBean
public class MBCategoryServiceImpl
- extends MBCategoryServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl |
counterLocalService, counterService, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbDiscussionPersistence, mbMessageFinder, mbMessageFlagFinder, mbMessageFlagLocalService, mbMessageFlagPersistence, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadLocalService, mbThreadPersistence, mbThreadService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, subscriptionLocalService, subscriptionPersistence, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, userFinder, userLocalService, userPersistence, userService |
Method Summary |
com.liferay.portlet.messageboards.model.MBCategory |
addCategory(long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
com.liferay.portlet.messageboards.model.MBCategory |
addCategory(long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteCategory(long categoryId)
|
java.util.List<com.liferay.portlet.messageboards.model.MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int begin,
int end)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
com.liferay.portlet.messageboards.model.MBCategory |
getCategory(long categoryId)
|
void |
subscribeCategory(long categoryId)
|
void |
unsubscribeCategory(long categoryId)
|
com.liferay.portlet.messageboards.model.MBCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory)
|
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl |
afterPropertiesSet, getCounterLocalService, getCounterService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBDiscussionPersistence, getMBMessageFinder, getMBMessageFlagFinder, getMBMessageFlagLocalService, getMBMessageFlagPersistence, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSubscriptionLocalService, getSubscriptionPersistence, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBDiscussionPersistence, setMBMessageFinder, setMBMessageFlagFinder, setMBMessageFlagLocalService, setMBMessageFlagPersistence, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSubscriptionLocalService, setSubscriptionPersistence, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setUserFinder, setUserLocalService, setUserPersistence, setUserService |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBCategoryServiceImpl
public MBCategoryServiceImpl()
addCategory
public com.liferay.portlet.messageboards.model.MBCategory addCategory(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 com.liferay.portlet.messageboards.model.MBCategory addCategory(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
deleteCategory
public void deleteCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCategory
public com.liferay.portlet.messageboards.model.MBCategory getCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCategories
public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(long groupId,
long parentCategoryId,
int begin,
int end)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
subscribeCategory
public void subscribeCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsubscribeCategory
public void unsubscribeCategory(long categoryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateCategory
public com.liferay.portlet.messageboards.model.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