public class MBCategoryLocalServiceImpl extends MBCategoryLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetTagFinder, assetTagLocalService, assetTagPersistence, counterLocalService, expandoRowLocalService, expandoRowPersistence, groupFinder, groupLocalService, groupPersistence, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbThreadFinder, mbThreadLocalService, mbThreadPersistence, persistedModelLocalServiceRegistry, ratingsStatsFinder, ratingsStatsLocalService, ratingsStatsPersistence, resourceLocalService, subscriptionLocalService, subscriptionPersistence, systemEventLocalService, systemEventPersistence, trashEntryLocalService, trashEntryPersistence, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence
Constructor and Description |
---|
MBCategoryLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.message.boards.kernel.model.MBCategory |
addCategory(long userId,
long parentCategoryId,
String name,
String description,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.message.boards.kernel.model.MBCategory |
addCategory(long userId,
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 allowAnonymous,
boolean mailingListActive,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
addCategoryResources(long categoryId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addCategoryResources(long categoryId,
com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) |
void |
addCategoryResources(com.liferay.message.boards.kernel.model.MBCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addCategoryResources(com.liferay.message.boards.kernel.model.MBCategory category,
com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) |
void |
deleteCategories(long groupId) |
void |
deleteCategory(long categoryId) |
void |
deleteCategory(com.liferay.message.boards.kernel.model.MBCategory category) |
void |
deleteCategory(com.liferay.message.boards.kernel.model.MBCategory category,
boolean includeTrashedEntries) |
List<com.liferay.message.boards.kernel.model.MBCategory> |
getCategories(long groupId) |
List<com.liferay.message.boards.kernel.model.MBCategory> |
getCategories(long groupId,
int status) |
List<com.liferay.message.boards.kernel.model.MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end) |
List<com.liferay.message.boards.kernel.model.MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int status,
int start,
int end) |
List<com.liferay.message.boards.kernel.model.MBCategory> |
getCategories(long groupId,
long[] excludedCategoryIds,
long[] parentCategoryIds,
int status,
int start,
int end) |
List<com.liferay.message.boards.kernel.model.MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end) |
List<com.liferay.message.boards.kernel.model.MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int status,
int start,
int end) |
List<com.liferay.message.boards.kernel.model.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) |
int |
getCategoriesCount(long groupId,
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) |
com.liferay.message.boards.kernel.model.MBCategory |
getCategory(long categoryId) |
List<com.liferay.message.boards.kernel.model.MBCategory> |
getCompanyCategories(long companyId,
int start,
int end) |
int |
getCompanyCategoriesCount(long companyId) |
protected long |
getParentCategoryId(long groupId,
long parentCategoryId) |
protected long |
getParentCategoryId(com.liferay.message.boards.kernel.model.MBCategory category,
long parentCategoryId) |
List<Long> |
getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId) |
List<com.liferay.message.boards.kernel.model.MBCategory> |
getSubscribedCategories(long groupId,
long userId,
int start,
int end) |
int |
getSubscribedCategoriesCount(long groupId,
long userId) |
protected void |
mergeCategories(com.liferay.message.boards.kernel.model.MBCategory fromCategory,
long toCategoryId) |
void |
moveCategoriesToTrash(long groupId,
long userId) |
com.liferay.message.boards.kernel.model.MBCategory |
moveCategory(long categoryId,
long parentCategoryId,
boolean mergeWithParentCategory) |
com.liferay.message.boards.kernel.model.MBCategory |
moveCategoryFromTrash(long userId,
long categoryId,
long newCategoryId) |
com.liferay.message.boards.kernel.model.MBCategory |
moveCategoryToTrash(long userId,
long categoryId) |
protected void |
moveDependentsToTrash(com.liferay.portal.kernel.model.User user,
List<Object> categoriesAndThreads,
long trashEntryId) |
void |
restoreCategoryFromTrash(long userId,
long categoryId) |
protected void |
restoreDependentsFromTrash(com.liferay.portal.kernel.model.User user,
List<Object> categoriesAndThreads) |
void |
subscribeCategory(long userId,
long groupId,
long categoryId) |
void |
unsubscribeCategory(long userId,
long groupId,
long categoryId) |
com.liferay.message.boards.kernel.model.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 allowAnonymous,
boolean mailingListActive,
boolean mergeWithParentCategory,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
updateChildCategoriesDisplayStyle(com.liferay.message.boards.kernel.model.MBCategory category,
String displayStyle) |
com.liferay.message.boards.kernel.model.MBCategory |
updateMessageCount(long categoryId) |
com.liferay.message.boards.kernel.model.MBCategory |
updateStatistics(long categoryId) |
com.liferay.message.boards.kernel.model.MBCategory |
updateStatus(long userId,
long categoryId,
int status) |
com.liferay.message.boards.kernel.model.MBCategory |
updateThreadCount(long categoryId) |
protected void |
validate(String name) |
addMBCategory, afterPropertiesSet, createMBCategory, deleteMBCategory, deleteMBCategory, deletePersistedModel, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchMBCategory, fetchMBCategoryByUuidAndGroupId, getActionableDynamicQuery, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getCounterLocalService, getExpandoRowLocalService, getExpandoRowPersistence, getExportActionableDynamicQuery, getGroupFinder, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getMBCategories, getMBCategoriesByUuidAndCompanyId, getMBCategoriesByUuidAndCompanyId, getMBCategoriesCount, getMBCategory, getMBCategoryByUuidAndGroupId, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBThreadFinder, getMBThreadLocalService, getMBThreadPersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getRatingsStatsFinder, getRatingsStatsLocalService, getRatingsStatsPersistence, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getSystemEventLocalService, getSystemEventPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, initActionableDynamicQuery, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setCounterLocalService, setExpandoRowLocalService, setExpandoRowPersistence, setGroupFinder, setGroupLocalService, setGroupPersistence, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBThreadFinder, setMBThreadLocalService, setMBThreadPersistence, setRatingsStatsFinder, setRatingsStatsLocalService, setRatingsStatsPersistence, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setSystemEventLocalService, setSystemEventPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, updateMBCategory
public com.liferay.message.boards.kernel.model.MBCategory addCategory(long userId, long parentCategoryId, String name, String description, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBCategory addCategory(long userId, 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 allowAnonymous, boolean mailingListActive, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addCategoryResources(long categoryId, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addCategoryResources(long categoryId, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addCategoryResources(com.liferay.message.boards.kernel.model.MBCategory category, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void addCategoryResources(com.liferay.message.boards.kernel.model.MBCategory category, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteCategories(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteCategory(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteCategory(com.liferay.message.boards.kernel.model.MBCategory category) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@SystemEvent(action=1, type=1) public void deleteCategory(com.liferay.message.boards.kernel.model.MBCategory category, boolean includeTrashedEntries) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.message.boards.kernel.model.MBCategory> getCategories(long groupId)
public List<com.liferay.message.boards.kernel.model.MBCategory> getCategories(long groupId, int status)
public List<com.liferay.message.boards.kernel.model.MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
public List<com.liferay.message.boards.kernel.model.MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end)
public List<com.liferay.message.boards.kernel.model.MBCategory> getCategories(long groupId, long excludedCategoryId, long parentCategoryId, int status, int start, int end)
public List<com.liferay.message.boards.kernel.model.MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end)
public List<com.liferay.message.boards.kernel.model.MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end)
public List<com.liferay.message.boards.kernel.model.MBCategory> getCategories(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status, int start, int end)
public List<Object> getCategoriesAndThreads(long groupId, long categoryId)
public List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status)
public List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end)
public int getCategoriesAndThreadsCount(long groupId, long categoryId)
public int getCategoriesAndThreadsCount(long groupId, long categoryId, int status)
public int getCategoriesCount(long groupId)
public int getCategoriesCount(long groupId, int status)
public int getCategoriesCount(long groupId, long parentCategoryId)
public int getCategoriesCount(long groupId, long parentCategoryId, int status)
public int getCategoriesCount(long groupId, long excludedCategoryId, long parentCategoryId, int status)
public int getCategoriesCount(long groupId, long[] parentCategoryIds)
public int getCategoriesCount(long groupId, long[] parentCategoryIds, int status)
public int getCategoriesCount(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status)
public com.liferay.message.boards.kernel.model.MBCategory getCategory(long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.message.boards.kernel.model.MBCategory> getCompanyCategories(long companyId, int start, int end)
public int getCompanyCategoriesCount(long companyId)
public List<Long> getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId)
public List<com.liferay.message.boards.kernel.model.MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end)
public int getSubscribedCategoriesCount(long groupId, long userId)
public void moveCategoriesToTrash(long groupId, long userId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBCategory moveCategoryFromTrash(long userId, long categoryId, long newCategoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBCategory moveCategoryToTrash(long userId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void restoreCategoryFromTrash(long userId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void subscribeCategory(long userId, long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void unsubscribeCategory(long userId, long groupId, long categoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.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 allowAnonymous, boolean mailingListActive, boolean mergeWithParentCategory, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBCategory updateMessageCount(long categoryId)
public com.liferay.message.boards.kernel.model.MBCategory updateStatistics(long categoryId)
public com.liferay.message.boards.kernel.model.MBCategory updateStatus(long userId, long categoryId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.message.boards.kernel.model.MBCategory updateThreadCount(long categoryId)
protected long getParentCategoryId(long groupId, long parentCategoryId)
protected long getParentCategoryId(com.liferay.message.boards.kernel.model.MBCategory category, long parentCategoryId)
protected void mergeCategories(com.liferay.message.boards.kernel.model.MBCategory fromCategory, long toCategoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void moveDependentsToTrash(com.liferay.portal.kernel.model.User user, List<Object> categoriesAndThreads, long trashEntryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void restoreDependentsFromTrash(com.liferay.portal.kernel.model.User user, List<Object> categoriesAndThreads) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void updateChildCategoriesDisplayStyle(com.liferay.message.boards.kernel.model.MBCategory category, String displayStyle) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
protected void validate(String name) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException