1
22
23 package com.liferay.portlet.messageboards.service;
24
25
26
51 public interface MBCategoryService {
52 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
53 long plid, long parentCategoryId, java.lang.String name,
54 java.lang.String description, boolean addCommunityPermissions,
55 boolean addGuestPermissions)
56 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
57 com.liferay.portal.PortalException;
58
59 public com.liferay.portlet.messageboards.model.MBCategory addCategory(
60 long plid, long parentCategoryId, java.lang.String name,
61 java.lang.String description, java.lang.String[] communityPermissions,
62 java.lang.String[] guestPermissions)
63 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
64 com.liferay.portal.PortalException;
65
66 public void deleteCategory(long categoryId)
67 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
68 com.liferay.portal.PortalException;
69
70 public com.liferay.portlet.messageboards.model.MBCategory getCategory(
71 long categoryId)
72 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
73 com.liferay.portal.PortalException;
74
75 public java.util.List<com.liferay.portlet.messageboards.model.MBCategory> getCategories(
76 long groupId, long parentCategoryId, int begin, int end)
77 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
78 com.liferay.portal.PortalException;
79
80 public int getCategoriesCount(long groupId, long parentCategoryId)
81 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
82
83 public void subscribeCategory(long categoryId)
84 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
85 com.liferay.portal.PortalException;
86
87 public void unsubscribeCategory(long categoryId)
88 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
89 com.liferay.portal.PortalException;
90
91 public com.liferay.portlet.messageboards.model.MBCategory updateCategory(
92 long categoryId, long parentCategoryId, java.lang.String name,
93 java.lang.String description, boolean mergeWithParentCategory)
94 throws java.rmi.RemoteException, com.liferay.portal.SystemException,
95 com.liferay.portal.PortalException;
96 }