@AccessControlled @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface MBCategoryService extends BaseService
MBCategoryServiceUtil
,
MBCategoryServiceBaseImpl
,
MBCategoryServiceImpl
Modifier and Type | Method and Description |
---|---|
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) |
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator<?> obc) |
List<Object> |
getCategoriesAndThreads(long groupId,
long categoryId,
QueryDefinition<?> queryDefinition) |
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId) |
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId,
int status) |
int |
getCategoriesAndThreadsCount(long groupId,
long categoryId,
QueryDefinition<?> queryDefinition) |
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) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
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) |
MBCategory addCategory(long userId, long parentCategoryId, String name, String description, ServiceContext serviceContext) throws PortalException
PortalException
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
PortalException
void deleteCategory(long categoryId, boolean includeTrashedEntries) throws PortalException
PortalException
void deleteCategory(long groupId, long categoryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId)
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long excludedCategoryId, long parentCategoryId, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getCategories(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId, int status, int start, int end, OrderByComparator<?> obc)
@Transactional(propagation=SUPPORTS, readOnly=true) List<Object> getCategoriesAndThreads(long groupId, long categoryId, QueryDefinition<?> queryDefinition)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesAndThreadsCount(long groupId, long categoryId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesAndThreadsCount(long groupId, long categoryId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesAndThreadsCount(long groupId, long categoryId, QueryDefinition<?> queryDefinition)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long parentCategoryId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long parentCategoryId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long excludedCategoryId, long parentCategoryId, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long[] parentCategoryIds)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long[] parentCategoryIds, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesCount(long groupId, long[] excludedCategoryIds, long[] parentCategoryIds, int status)
@Transactional(propagation=SUPPORTS, readOnly=true) MBCategory getCategory(long categoryId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) long[] getCategoryIds(long groupId, long categoryId)
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) List<Long> getSubcategoryIds(List<Long> categoryIds, long groupId, long categoryId)
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getSubscribedCategoriesCount(long groupId, long userId)
MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws PortalException
PortalException
MBCategory moveCategoryFromTrash(long categoryId, long newCategoryId) throws PortalException
PortalException
MBCategory moveCategoryToTrash(long categoryId) throws PortalException
PortalException
void restoreCategoryFromTrash(long categoryId) throws PortalException
PortalException
void subscribeCategory(long groupId, long categoryId) throws PortalException
PortalException
void unsubscribeCategory(long groupId, long categoryId) throws PortalException
PortalException
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
PortalException