com.liferay.portlet.messageboards.service
Interface MBCategoryLocalService
- public interface MBCategoryLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.messageboards.service.impl.MBCategoryLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
MBCategoryLocalServiceFactory
,
MBCategoryLocalServiceUtil
Method Summary |
MBCategory |
addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
MBCategory |
addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
MBCategory |
addCategory(java.lang.String uuid,
long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
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)
|
void |
addCategoryResources(long categoryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(long categoryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addCategoryResources(MBCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(MBCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
MBCategory |
addMBCategory(MBCategory model)
|
void |
afterPropertiesSet()
|
void |
deleteCategories(long groupId)
|
void |
deleteCategory(long categoryId)
|
void |
deleteCategory(MBCategory category)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
java.util.List |
getCategories(long groupId,
long parentCategoryId,
int begin,
int end)
|
int |
getCategoriesCount(long groupId)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
MBCategory |
getCategory(long categoryId)
|
MBBanPersistence |
getMBBanPersistence()
|
MBCategoryFinder |
getMBCategoryFinder()
|
MBCategoryPersistence |
getMBCategoryPersistence()
|
MBDiscussionPersistence |
getMBDiscussionPersistence()
|
MBMessageFinder |
getMBMessageFinder()
|
MBMessageFlagFinder |
getMBMessageFlagFinder()
|
MBMessageFlagPersistence |
getMBMessageFlagPersistence()
|
MBMessagePersistence |
getMBMessagePersistence()
|
MBStatsUserPersistence |
getMBStatsUserPersistence()
|
MBThreadFinder |
getMBThreadFinder()
|
MBThreadPersistence |
getMBThreadPersistence()
|
ResourceFinder |
getResourceFinder()
|
ResourcePersistence |
getResourcePersistence()
|
void |
getSubcategoryIds(java.util.List categoryIds,
long groupId,
long categoryId)
|
java.util.List |
getSubscribedCategories(long groupId,
long userId,
int begin,
int end)
|
int |
getSubscribedCategoriesCount(long groupId,
long userId)
|
SubscriptionPersistence |
getSubscriptionPersistence()
|
MBCategory |
getSystemCategory()
|
TagsEntryFinder |
getTagsEntryFinder()
|
TagsEntryPersistence |
getTagsEntryPersistence()
|
UserFinder |
getUserFinder()
|
UserPersistence |
getUserPersistence()
|
void |
reIndex(java.lang.String[] ids)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long groupId,
long[] categoryIds,
long threadId,
java.lang.String keywords)
|
void |
setMBBanPersistence(MBBanPersistence mbBanPersistence)
|
void |
setMBCategoryFinder(MBCategoryFinder mbCategoryFinder)
|
void |
setMBCategoryPersistence(MBCategoryPersistence mbCategoryPersistence)
|
void |
setMBDiscussionPersistence(MBDiscussionPersistence mbDiscussionPersistence)
|
void |
setMBMessageFinder(MBMessageFinder mbMessageFinder)
|
void |
setMBMessageFlagFinder(MBMessageFlagFinder mbMessageFlagFinder)
|
void |
setMBMessageFlagPersistence(MBMessageFlagPersistence mbMessageFlagPersistence)
|
void |
setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
|
void |
setMBStatsUserPersistence(MBStatsUserPersistence mbStatsUserPersistence)
|
void |
setMBThreadFinder(MBThreadFinder mbThreadFinder)
|
void |
setMBThreadPersistence(MBThreadPersistence mbThreadPersistence)
|
void |
setResourceFinder(ResourceFinder resourceFinder)
|
void |
setResourcePersistence(ResourcePersistence resourcePersistence)
|
void |
setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
|
void |
setTagsEntryFinder(TagsEntryFinder tagsEntryFinder)
|
void |
setTagsEntryPersistence(TagsEntryPersistence tagsEntryPersistence)
|
void |
setUserFinder(UserFinder userFinder)
|
void |
setUserPersistence(UserPersistence userPersistence)
|
void |
subscribeCategory(long userId,
long categoryId)
|
void |
unsubscribeCategory(long userId,
long categoryId)
|
MBCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory)
|
MBCategory |
updateMBCategory(MBCategory model)
|
addMBCategory
public MBCategory addMBCategory(MBCategory model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public 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 MBCategory updateMBCategory(MBCategory model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getMBBanPersistence
public MBBanPersistence getMBBanPersistence()
setMBBanPersistence
public void setMBBanPersistence(MBBanPersistence mbBanPersistence)
getMBCategoryPersistence
public MBCategoryPersistence getMBCategoryPersistence()
setMBCategoryPersistence
public void setMBCategoryPersistence(MBCategoryPersistence mbCategoryPersistence)
getMBCategoryFinder
public MBCategoryFinder getMBCategoryFinder()
setMBCategoryFinder
public void setMBCategoryFinder(MBCategoryFinder mbCategoryFinder)
getMBDiscussionPersistence
public MBDiscussionPersistence getMBDiscussionPersistence()
setMBDiscussionPersistence
public void setMBDiscussionPersistence(MBDiscussionPersistence mbDiscussionPersistence)
getMBMessagePersistence
public MBMessagePersistence getMBMessagePersistence()
setMBMessagePersistence
public void setMBMessagePersistence(MBMessagePersistence mbMessagePersistence)
getMBMessageFinder
public MBMessageFinder getMBMessageFinder()
setMBMessageFinder
public void setMBMessageFinder(MBMessageFinder mbMessageFinder)
getMBMessageFlagPersistence
public MBMessageFlagPersistence getMBMessageFlagPersistence()
setMBMessageFlagPersistence
public void setMBMessageFlagPersistence(MBMessageFlagPersistence mbMessageFlagPersistence)
getMBMessageFlagFinder
public MBMessageFlagFinder getMBMessageFlagFinder()
setMBMessageFlagFinder
public void setMBMessageFlagFinder(MBMessageFlagFinder mbMessageFlagFinder)
getMBStatsUserPersistence
public MBStatsUserPersistence getMBStatsUserPersistence()
setMBStatsUserPersistence
public void setMBStatsUserPersistence(MBStatsUserPersistence mbStatsUserPersistence)
getMBThreadPersistence
public MBThreadPersistence getMBThreadPersistence()
setMBThreadPersistence
public void setMBThreadPersistence(MBThreadPersistence mbThreadPersistence)
getMBThreadFinder
public MBThreadFinder getMBThreadFinder()
setMBThreadFinder
public void setMBThreadFinder(MBThreadFinder mbThreadFinder)
getResourcePersistence
public ResourcePersistence getResourcePersistence()
setResourcePersistence
public void setResourcePersistence(ResourcePersistence resourcePersistence)
getResourceFinder
public ResourceFinder getResourceFinder()
setResourceFinder
public void setResourceFinder(ResourceFinder resourceFinder)
getSubscriptionPersistence
public SubscriptionPersistence getSubscriptionPersistence()
setSubscriptionPersistence
public void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
getUserPersistence
public UserPersistence getUserPersistence()
setUserPersistence
public void setUserPersistence(UserPersistence userPersistence)
getUserFinder
public UserFinder getUserFinder()
setUserFinder
public void setUserFinder(UserFinder userFinder)
getTagsEntryPersistence
public TagsEntryPersistence getTagsEntryPersistence()
setTagsEntryPersistence
public void setTagsEntryPersistence(TagsEntryPersistence tagsEntryPersistence)
getTagsEntryFinder
public TagsEntryFinder getTagsEntryFinder()
setTagsEntryFinder
public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder)
afterPropertiesSet
public void afterPropertiesSet()
addCategory
public MBCategory addCategory(long userId,
long plid,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategory
public 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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategory
public 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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategory
public 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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategoryResources
public void addCategoryResources(long categoryId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategoryResources
public void addCategoryResources(MBCategory category,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategoryResources
public void addCategoryResources(long categoryId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addCategoryResources
public void addCategoryResources(MBCategory category,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteCategories
public void deleteCategories(long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteCategory
public void deleteCategory(long categoryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteCategory
public void deleteCategory(MBCategory category)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCategories
public java.util.List getCategories(long groupId,
long parentCategoryId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoriesCount
public int getCategoriesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCategory
public MBCategory getCategory(long categoryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getSubcategoryIds
public void getSubcategoryIds(java.util.List categoryIds,
long groupId,
long categoryId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubscribedCategories
public java.util.List getSubscribedCategories(long groupId,
long userId,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSubscribedCategoriesCount
public int getSubscribedCategoriesCount(long groupId,
long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSystemCategory
public MBCategory getSystemCategory()
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
reIndex
public void reIndex(java.lang.String[] ids)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public 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 MBCategory updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
boolean mergeWithParentCategory)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
subscribeCategory
public void subscribeCategory(long userId,
long categoryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsubscribeCategory
public void unsubscribeCategory(long userId,
long categoryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException