com.liferay.portlet.messageboards.service.impl
Class MBCategoryLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.messageboards.service.base.MBCategoryLocalServiceBaseImpl
com.liferay.portlet.messageboards.service.impl.MBCategoryLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, MBCategoryLocalService
public class MBCategoryLocalServiceImpl
- extends MBCategoryLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.messageboards.service.base.MBCategoryLocalServiceBaseImpl |
assetTagFinder, assetTagLocalService, assetTagPersistence, assetTagService, counterLocalService, expandoValueLocalService, expandoValuePersistence, expandoValueService, groupFinder, groupLocalService, groupPersistence, groupService, mbBanLocalService, mbBanPersistence, mbBanService, mbCategoryFinder, mbCategoryLocalService, mbCategoryPersistence, mbCategoryService, mbDiscussionLocalService, mbDiscussionPersistence, mbMailingListLocalService, mbMailingListPersistence, mbMessageFinder, mbMessageLocalService, mbMessagePersistence, mbMessageService, mbStatsUserLocalService, mbStatsUserPersistence, mbThreadFinder, mbThreadFlagLocalService, mbThreadFlagPersistence, mbThreadLocalService, mbThreadPersistence, mbThreadService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService |
Method Summary |
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,
ServiceContext serviceContext)
|
void |
addCategoryResources(long categoryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(long categoryId,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addCategoryResources(MBCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addCategoryResources(MBCategory category,
String[] groupPermissions,
String[] guestPermissions)
|
void |
deleteCategories(long groupId)
|
void |
deleteCategory(long categoryId)
|
void |
deleteCategory(MBCategory category)
|
List<MBCategory> |
getCategories(long groupId)
|
List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
|
List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end)
|
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId)
|
int |
getCategoriesCount(long groupId)
|
int |
getCategoriesCount(long groupId,
long parentCategoryId)
|
int |
getCategoriesCount(long groupId,
long[] parentCategoryIds)
|
MBCategory |
getCategory(long categoryId)
|
List<MBCategory> |
getCompanyCategories(long companyId,
int start,
int end)
|
int |
getCompanyCategoriesCount(long companyId)
|
protected long |
getParentCategoryId(long groupId,
long parentCategoryId)
|
protected long |
getParentCategoryId(MBCategory category,
long parentCategoryId)
|
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)
|
protected void |
mergeCategories(MBCategory fromCategory,
long toCategoryId)
|
void |
subscribeCategory(long userId,
long groupId,
long categoryId)
|
void |
unsubscribeCategory(long userId,
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 allowAnonymous,
boolean mailingListActive,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
|
protected void |
updateChildCategoriesDisplayStyle(MBCategory category,
String displayStyle)
|
protected void |
validate(String name)
|
Methods inherited from class com.liferay.portlet.messageboards.service.base.MBCategoryLocalServiceBaseImpl |
addMBCategory, afterPropertiesSet, createMBCategory, deleteMBCategory, deleteMBCategory, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchMBCategory, getAssetTagFinder, getAssetTagLocalService, getAssetTagPersistence, getAssetTagService, getBeanIdentifier, getCounterLocalService, getExpandoValueLocalService, getExpandoValuePersistence, getExpandoValueService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getMBBanLocalService, getMBBanPersistence, getMBBanService, getMBCategories, getMBCategoriesCount, getMBCategory, getMBCategoryByUuidAndGroupId, getMBCategoryFinder, getMBCategoryLocalService, getMBCategoryPersistence, getMBCategoryService, getMBDiscussionLocalService, getMBDiscussionPersistence, getMBMailingListLocalService, getMBMailingListPersistence, getMBMessageFinder, getMBMessageLocalService, getMBMessagePersistence, getMBMessageService, getMBStatsUserLocalService, getMBStatsUserPersistence, getMBThreadFinder, getMBThreadFlagLocalService, getMBThreadFlagPersistence, getMBThreadLocalService, getMBThreadPersistence, getMBThreadService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setAssetTagFinder, setAssetTagLocalService, setAssetTagPersistence, setAssetTagService, setBeanIdentifier, setCounterLocalService, setExpandoValueLocalService, setExpandoValuePersistence, setExpandoValueService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setMBBanLocalService, setMBBanPersistence, setMBBanService, setMBCategoryFinder, setMBCategoryLocalService, setMBCategoryPersistence, setMBCategoryService, setMBDiscussionLocalService, setMBDiscussionPersistence, setMBMailingListLocalService, setMBMailingListPersistence, setMBMessageFinder, setMBMessageLocalService, setMBMessagePersistence, setMBMessageService, setMBStatsUserLocalService, setMBStatsUserPersistence, setMBThreadFinder, setMBThreadFlagLocalService, setMBThreadFlagPersistence, setMBThreadLocalService, setMBThreadPersistence, setMBThreadService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateMBCategory, updateMBCategory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBCategoryLocalServiceImpl
public MBCategoryLocalServiceImpl()
addCategory
public 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,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public void addCategoryResources(long categoryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public void addCategoryResources(long categoryId,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public void addCategoryResources(MBCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addCategoryResources
public void addCategoryResources(MBCategory category,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategories
public void deleteCategories(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
public void deleteCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteCategory
public void deleteCategory(MBCategory category)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCategories
public List<MBCategory> getCategories(long groupId)
throws SystemException
- Throws:
SystemException
getCategories
public List<MBCategory> getCategories(long groupId,
long parentCategoryId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCategories
public List<MBCategory> getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCategoriesAndThreads
public List<Object> getCategoriesAndThreads(long groupId,
long categoryId)
throws SystemException
- Throws:
SystemException
getCategoriesCount
public int getCategoriesCount(long groupId)
throws SystemException
- Throws:
SystemException
getCategoriesCount
public int getCategoriesCount(long groupId,
long parentCategoryId)
throws SystemException
- Throws:
SystemException
getCategoriesCount
public int getCategoriesCount(long groupId,
long[] parentCategoryIds)
throws SystemException
- Throws:
SystemException
getCategory
public MBCategory getCategory(long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyCategories
public List<MBCategory> getCompanyCategories(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyCategoriesCount
public int getCompanyCategoriesCount(long companyId)
throws SystemException
- Throws:
SystemException
getSubcategoryIds
public List<Long> getSubcategoryIds(List<Long> categoryIds,
long groupId,
long categoryId)
throws SystemException
- Throws:
SystemException
getSubscribedCategories
public List<MBCategory> getSubscribedCategories(long groupId,
long userId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getSubscribedCategoriesCount
public int getSubscribedCategoriesCount(long groupId,
long userId)
throws SystemException
- Throws:
SystemException
subscribeCategory
public void subscribeCategory(long userId,
long groupId,
long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribeCategory
public void unsubscribeCategory(long userId,
long groupId,
long categoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
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 allowAnonymous,
boolean mailingListActive,
boolean mergeWithParentCategory,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getParentCategoryId
protected long getParentCategoryId(long groupId,
long parentCategoryId)
throws SystemException
- Throws:
SystemException
getParentCategoryId
protected long getParentCategoryId(MBCategory category,
long parentCategoryId)
throws SystemException
- Throws:
SystemException
mergeCategories
protected void mergeCategories(MBCategory fromCategory,
long toCategoryId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateChildCategoriesDisplayStyle
protected void updateChildCategoriesDisplayStyle(MBCategory category,
String displayStyle)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(String name)
throws PortalException
- Throws:
PortalException