com.liferay.portlet.messageboards.service.impl
Class MBCategoryServiceImpl
java.lang.Object
com.liferay.portal.service.BaseServiceImpl
com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBCategoryServiceImpl
- All Implemented Interfaces:
- IdentifiableOSGiService, BaseService, MBCategoryService
public class MBCategoryServiceImpl
- extends MBCategoryServiceBaseImpl
| Fields inherited from class com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl |
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, counterLocalService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, groupService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbThreadFinder, mbThreadLocalService, mbThreadPersistence, mbThreadService, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, subscriptionLocalService, subscriptionPersistence, systemEventLocalService, systemEventPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService |
|
Method Summary |
MBCategory |
addCategory(long userId,
long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
|
MBCategory |
addCategory(long parentCategoryId,
String name,
String description,
String displayStyle,
String emailAddress,
String inProtocol,
String inServerName,
int inServerPort,
boolean inUseSSL,
String inUserName,
String inPassword,
int inReadInterval,
String outEmailAddress,
boolean outCustom,
String outServerName,
int outServerPort,
boolean outUseSSL,
String outUserName,
String outPassword,
boolean mailingListActive,
boolean allowAnonymousEmail,
ServiceContext serviceContext)
|
void |
deleteCategory(long categoryId,
boolean includeTrashedEntries)
|
void |
deleteCategory(long groupId,
long categoryId)
|
List<MBCategory> |
getCategories(long groupId)
|
List<MBCategory> |
getCategories(long groupId,
int status)
|
List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int status,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long[] excludedCategoryIds,
long[] parentCategoryIds,
int status,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int status,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long excludedCategoryId,
long parentCategoryId,
int status,
int start,
int end)
|
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId)
|
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId,
int status)
|
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId,
int status,
int start,
int end)
|
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId)
|
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId,
int status)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
int |
getCategoriesCount(long groupId,
long[] parentCategoryIds)
|
int |
getCategoriesCount(long groupId,
long[] parentCategoryIds,
int status)
|
int |
getCategoriesCount(long groupId,
long[] excludedCategoryIds,
long[] parentCategoryIds,
int status)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId,
int status)
|
int |
getCategoriesCount(long groupId,
long excludedCategoryId,
long parentCategoryId,
int status)
|
MBCategory |
getCategory(long categoryId)
|
long[] |
getCategoryIds(long groupId,
long categoryId)
|
List<Long> |
getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
|
List<MBCategory> |
getSubscribedCategories(long groupId,
long userId,
int start,
int end)
|
int |
getSubscribedCategoriesCount(long groupId,
long userId)
|
MBCategory |
moveCategory(long categoryId,
long parentCategoryId,
boolean mergeWithParentCategory)
|
MBCategory |
moveCategoryFromTrash(long categoryId,
long newCategoryId)
|
MBCategory |
moveCategoryToTrash(long categoryId)
|
void |
restoreCategoryFromTrash(long categoryId)
|
void |
subscribeCategory(long groupId,
long categoryId)
|
void |
unsubscribeCategory(long groupId,
long categoryId)
|
MBCategory |
updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
String displayStyle,
String emailAddress,
String inProtocol,
String inServerName,
int inServerPort,
boolean inUseSSL,
String inUserName,
String inPassword,
int inReadInterval,
String outEmailAddress,
boolean outCustom,
String outServerName,
int outServerPort,
boolean outUseSSL,
String outUserName,
String outPassword,
boolean mailingListActive,
boolean allowAnonymousEmail,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
|
| Methods inherited from class com.liferay.portlet.messageboards.service.base.MBCategoryServiceBaseImpl |
afterPropertiesSet, destroy, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBThreadFinder, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getModelClass, getModelClassName, getOSGiServiceIdentifier, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getSystemEventLocalService, getSystemEventPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setCounterLocalService, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBThreadFinder, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setSystemEventLocalService, setSystemEventPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, 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 MBCategory addCategory(long userId,
long parentCategoryId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
addCategory
public MBCategory addCategory(long parentCategoryId,
String name,
String description,
String displayStyle,
String emailAddress,
String inProtocol,
String inServerName,
int inServerPort,
boolean inUseSSL,
String inUserName,
String inPassword,
int inReadInterval,
String outEmailAddress,
boolean outCustom,
String outServerName,
int outServerPort,
boolean outUseSSL,
String outUserName,
String outPassword,
boolean mailingListActive,
boolean allowAnonymousEmail,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException
deleteCategory
public void deleteCategory(long categoryId,
boolean includeTrashedEntries)
throws PortalException
- Throws:
PortalException
deleteCategory
public void deleteCategory(long groupId,
long categoryId)
throws PortalException
- Throws:
PortalException
getCategories
public List<MBCategory> getCategories(long groupId)
getCategories
public List<MBCategory> getCategories(long groupId,
int status)
getCategories
public List<MBCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
getCategories
public List<MBCategory> getCategories(long groupId,
long parentCategoryId,
int status,
int start,
int end)
getCategories
public List<MBCategory> getCategories(long groupId,
long excludedCategoryId,
long parentCategoryId,
int status,
int start,
int end)
getCategories
public List<MBCategory> getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
getCategories
public List<MBCategory> getCategories(long groupId,
long[] parentCategoryIds,
int status,
int start,
int end)
getCategories
public List<MBCategory> getCategories(long groupId,
long[] excludedCategoryIds,
long[] parentCategoryIds,
int status,
int start,
int end)
getCategoriesAndThreads
public List<Object> getCategoriesAndThreads(long groupId,
long categoryId)
getCategoriesAndThreads
public List<Object> getCategoriesAndThreads(long groupId,
long categoryId,
int status)
getCategoriesAndThreads
public List<Object> getCategoriesAndThreads(long groupId,
long categoryId,
int status,
int start,
int end)
getCategoriesAndThreadsCount
public int getCategoriesAndThreadsCount(long groupId,
long categoryId)
getCategoriesAndThreadsCount
public int getCategoriesAndThreadsCount(long groupId,
long categoryId,
int status)
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId)
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId,
int status)
getCategoriesCount
public int getCategoriesCount(long groupId,
long excludedCategoryId,
long parentCategoryId,
int status)
getCategoriesCount
public int getCategoriesCount(long groupId,
long[] parentCategoryIds)
getCategoriesCount
public int getCategoriesCount(long groupId,
long[] parentCategoryIds,
int status)
getCategoriesCount
public int getCategoriesCount(long groupId,
long[] excludedCategoryIds,
long[] parentCategoryIds,
int status)
getCategory
public MBCategory getCategory(long categoryId)
throws PortalException
- Throws:
PortalException
getCategoryIds
public long[] getCategoryIds(long groupId,
long categoryId)
getSubcategoryIds
public List<Long> getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
getSubscribedCategories
public List<MBCategory> getSubscribedCategories(long groupId,
long userId,
int start,
int end)
getSubscribedCategoriesCount
public int getSubscribedCategoriesCount(long groupId,
long userId)
moveCategory
public MBCategory moveCategory(long categoryId,
long parentCategoryId,
boolean mergeWithParentCategory)
throws PortalException
- Throws:
PortalException
moveCategoryFromTrash
public MBCategory moveCategoryFromTrash(long categoryId,
long newCategoryId)
throws PortalException
- Throws:
PortalException
moveCategoryToTrash
public MBCategory moveCategoryToTrash(long categoryId)
throws PortalException
- Throws:
PortalException
restoreCategoryFromTrash
public void restoreCategoryFromTrash(long categoryId)
throws PortalException
- Throws:
PortalException
subscribeCategory
public void subscribeCategory(long groupId,
long categoryId)
throws PortalException
- Throws:
PortalException
unsubscribeCategory
public void unsubscribeCategory(long groupId,
long categoryId)
throws PortalException
- Throws:
PortalException
updateCategory
public MBCategory updateCategory(long categoryId,
long parentCategoryId,
String name,
String description,
String displayStyle,
String emailAddress,
String inProtocol,
String inServerName,
int inServerPort,
boolean inUseSSL,
String inUserName,
String inPassword,
int inReadInterval,
String outEmailAddress,
boolean outCustom,
String outServerName,
int outServerPort,
boolean outUseSSL,
String outUserName,
String outPassword,
boolean mailingListActive,
boolean allowAnonymousEmail,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
throws PortalException
- Throws:
PortalException