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