@ProviderType public class MBCategoryLocalServiceWrapper extends java.lang.Object implements MBCategoryLocalService, ServiceWrapper<MBCategoryLocalService>
MBCategoryLocalService.MBCategoryLocalService| Constructor and Description |
|---|
MBCategoryLocalServiceWrapper(MBCategoryLocalService mbCategoryLocalService) |
| Modifier and Type | Method and Description |
|---|---|
MBCategory |
addCategory(long userId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext) |
MBCategory |
addCategory(long userId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String displayStyle,
java.lang.String emailAddress,
java.lang.String inProtocol,
java.lang.String inServerName,
int inServerPort,
boolean inUseSSL,
java.lang.String inUserName,
java.lang.String inPassword,
int inReadInterval,
java.lang.String outEmailAddress,
boolean outCustom,
java.lang.String outServerName,
int outServerPort,
boolean outUseSSL,
java.lang.String outUserName,
java.lang.String outPassword,
boolean allowAnonymous,
boolean mailingListActive,
ServiceContext serviceContext) |
void |
addCategoryResources(long categoryId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addCategoryResources(long categoryId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addCategoryResources(MBCategory category,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addCategoryResources(MBCategory category,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
MBCategory |
addMBCategory(MBCategory mbCategory)
Adds the message boards category to the database.
|
MBCategory |
createMBCategory(long categoryId)
Creates a new message boards category with the primary key.
|
void |
deleteCategories(long groupId) |
void |
deleteCategory(long categoryId) |
void |
deleteCategory(MBCategory category) |
void |
deleteCategory(MBCategory category,
boolean includeTrashedEntries) |
MBCategory |
deleteMBCategory(long categoryId)
Deletes the message boards category with the primary key from the database.
|
MBCategory |
deleteMBCategory(MBCategory mbCategory)
Deletes the message boards category from the database.
|
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
MBCategory |
fetchMBCategory(long categoryId) |
MBCategory |
fetchMBCategoryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message boards category with the matching UUID and company.
|
MBCategory |
fetchMBCategoryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards category matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<MBCategory> |
getCategories(long groupId) |
java.util.List<MBCategory> |
getCategories(long groupId,
int status) |
java.util.List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int start,
int end) |
java.util.List<MBCategory> |
getCategories(long groupId,
long[] parentCategoryIds,
int status,
int start,
int end) |
java.util.List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int start,
int end) |
java.util.List<MBCategory> |
getCategories(long groupId,
long parentCategoryId,
int status,
int start,
int end) |
java.util.List<java.lang.Object> |
getCategoriesAndThreads(long groupId,
long categoryId) |
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 parentCategoryId,
int status) |
MBCategory |
getCategory(long categoryId) |
java.util.List<MBCategory> |
getCompanyCategories(long companyId,
int start,
int end) |
int |
getCompanyCategoriesCount(long companyId) |
java.util.List<MBCategory> |
getMBCategories(int start,
int end)
Returns a range of all the message boards categories.
|
int |
getMBCategoriesCount()
Returns the number of message boards categories.
|
MBCategory |
getMBCategory(long categoryId)
Returns the message boards category with the primary key.
|
MBCategory |
getMBCategoryByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message boards category with the matching UUID and company.
|
MBCategory |
getMBCategoryByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message boards category matching the UUID and group.
|
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
java.util.List<java.lang.Long> |
getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId) |
java.util.List<MBCategory> |
getSubscribedCategories(long groupId,
long userId,
int start,
int end) |
int |
getSubscribedCategoriesCount(long groupId,
long userId) |
MBCategoryLocalService |
getWrappedMBCategoryLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
MBCategoryLocalService |
getWrappedService() |
void |
moveCategoriesToTrash(long groupId,
long userId) |
MBCategory |
moveCategory(long categoryId,
long parentCategoryId,
boolean mergeWithParentCategory) |
MBCategory |
moveCategoryFromTrash(long userId,
long categoryId,
long newCategoryId) |
MBCategory |
moveCategoryToTrash(long userId,
long categoryId) |
void |
restoreCategoryFromTrash(long userId,
long categoryId) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedMBCategoryLocalService(MBCategoryLocalService mbCategoryLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.messageboards.service.MBCategoryLocalService) |
void |
setWrappedService(MBCategoryLocalService mbCategoryLocalService) |
void |
subscribeCategory(long userId,
long groupId,
long categoryId) |
void |
unsubscribeCategory(long userId,
long groupId,
long categoryId) |
MBCategory |
updateCategory(long categoryId,
long parentCategoryId,
java.lang.String name,
java.lang.String description,
java.lang.String displayStyle,
java.lang.String emailAddress,
java.lang.String inProtocol,
java.lang.String inServerName,
int inServerPort,
boolean inUseSSL,
java.lang.String inUserName,
java.lang.String inPassword,
int inReadInterval,
java.lang.String outEmailAddress,
boolean outCustom,
java.lang.String outServerName,
int outServerPort,
boolean outUseSSL,
java.lang.String outUserName,
java.lang.String outPassword,
boolean allowAnonymous,
boolean mailingListActive,
boolean mergeWithParentCategory,
ServiceContext serviceContext) |
MBCategory |
updateMBCategory(MBCategory mbCategory)
Updates the message boards category in the database or adds it if it does not yet exist.
|
MBCategory |
updateStatus(long userId,
long categoryId,
int status) |
public MBCategoryLocalServiceWrapper(MBCategoryLocalService mbCategoryLocalService)
public MBCategory addMBCategory(MBCategory mbCategory) throws SystemException
addMBCategory in interface MBCategoryLocalServicembCategory - the message boards categorySystemException - if a system exception occurredpublic MBCategory createMBCategory(long categoryId)
createMBCategory in interface MBCategoryLocalServicecategoryId - the primary key for the new message boards categorypublic MBCategory deleteMBCategory(long categoryId) throws PortalException, SystemException
deleteMBCategory in interface MBCategoryLocalServicecategoryId - the primary key of the message boards categoryPortalException - if a message boards category with the primary key could not be foundSystemException - if a system exception occurredpublic MBCategory deleteMBCategory(MBCategory mbCategory) throws SystemException
deleteMBCategory in interface MBCategoryLocalServicembCategory - the message boards categorySystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface MBCategoryLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface MBCategoryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface MBCategoryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface MBCategoryLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface MBCategoryLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface MBCategoryLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic MBCategory fetchMBCategory(long categoryId) throws SystemException
fetchMBCategory in interface MBCategoryLocalServiceSystemExceptionpublic MBCategory fetchMBCategoryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchMBCategoryByUuidAndCompanyId in interface MBCategoryLocalServiceuuid - the message boards category's UUIDcompanyId - the primary key of the companynull if a matching message boards category could not be foundSystemException - if a system exception occurredpublic MBCategory fetchMBCategoryByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchMBCategoryByUuidAndGroupId in interface MBCategoryLocalServiceuuid - the message boards category's UUIDgroupId - the primary key of the groupnull if a matching message boards category could not be foundSystemException - if a system exception occurredpublic MBCategory getMBCategory(long categoryId) throws PortalException, SystemException
getMBCategory in interface MBCategoryLocalServicecategoryId - the primary key of the message boards categoryPortalException - if a message boards category with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic MBCategory getMBCategoryByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getMBCategoryByUuidAndCompanyId in interface MBCategoryLocalServiceuuid - the message boards category's UUIDcompanyId - the primary key of the companyPortalException - if a matching message boards category could not be foundSystemException - if a system exception occurredpublic MBCategory getMBCategoryByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getMBCategoryByUuidAndGroupId in interface MBCategoryLocalServiceuuid - the message boards category's UUIDgroupId - the primary key of the groupPortalException - if a matching message boards category could not be foundSystemException - if a system exception occurredpublic java.util.List<MBCategory> getMBCategories(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBCategoryModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getMBCategories in interface MBCategoryLocalServicestart - the lower bound of the range of message boards categoriesend - the upper bound of the range of message boards categories (not inclusive)SystemException - if a system exception occurredpublic int getMBCategoriesCount()
throws SystemException
getMBCategoriesCount in interface MBCategoryLocalServiceSystemException - if a system exception occurredpublic MBCategory updateMBCategory(MBCategory mbCategory) throws SystemException
updateMBCategory in interface MBCategoryLocalServicembCategory - the message boards categorySystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface MBCategoryLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface MBCategoryLocalServicebeanIdentifier - the Spring bean ID for this beanpublic MBCategory addCategory(long userId, long parentCategoryId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException, SystemException
addCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic MBCategory addCategory(long userId, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String displayStyle, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean allowAnonymous, boolean mailingListActive, ServiceContext serviceContext) throws PortalException, SystemException
addCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void addCategoryResources(long categoryId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addCategoryResources in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void addCategoryResources(long categoryId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
addCategoryResources in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void addCategoryResources(MBCategory category, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addCategoryResources in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void addCategoryResources(MBCategory category, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
addCategoryResources in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void deleteCategories(long groupId)
throws PortalException,
SystemException
deleteCategories in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void deleteCategory(long categoryId)
throws PortalException,
SystemException
deleteCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void deleteCategory(MBCategory category) throws PortalException, SystemException
deleteCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void deleteCategory(MBCategory category, boolean includeTrashedEntries) throws PortalException, SystemException
deleteCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic java.util.List<MBCategory> getCategories(long groupId) throws SystemException
getCategories in interface MBCategoryLocalServiceSystemExceptionpublic java.util.List<MBCategory> getCategories(long groupId, int status) throws SystemException
getCategories in interface MBCategoryLocalServiceSystemExceptionpublic java.util.List<MBCategory> getCategories(long groupId, long parentCategoryId, int start, int end) throws SystemException
getCategories in interface MBCategoryLocalServiceSystemExceptionpublic java.util.List<MBCategory> getCategories(long groupId, long parentCategoryId, int status, int start, int end) throws SystemException
getCategories in interface MBCategoryLocalServiceSystemExceptionpublic java.util.List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int start, int end) throws SystemException
getCategories in interface MBCategoryLocalServiceSystemExceptionpublic java.util.List<MBCategory> getCategories(long groupId, long[] parentCategoryIds, int status, int start, int end) throws SystemException
getCategories in interface MBCategoryLocalServiceSystemExceptionpublic java.util.List<java.lang.Object> getCategoriesAndThreads(long groupId,
long categoryId)
throws SystemException
getCategoriesAndThreads in interface MBCategoryLocalServiceSystemExceptionpublic int getCategoriesCount(long groupId)
throws SystemException
getCategoriesCount in interface MBCategoryLocalServiceSystemExceptionpublic int getCategoriesCount(long groupId,
int status)
throws SystemException
getCategoriesCount in interface MBCategoryLocalServiceSystemExceptionpublic int getCategoriesCount(long groupId,
long parentCategoryId)
throws SystemException
getCategoriesCount in interface MBCategoryLocalServiceSystemExceptionpublic int getCategoriesCount(long groupId,
long parentCategoryId,
int status)
throws SystemException
getCategoriesCount in interface MBCategoryLocalServiceSystemExceptionpublic int getCategoriesCount(long groupId,
long[] parentCategoryIds)
throws SystemException
getCategoriesCount in interface MBCategoryLocalServiceSystemExceptionpublic int getCategoriesCount(long groupId,
long[] parentCategoryIds,
int status)
throws SystemException
getCategoriesCount in interface MBCategoryLocalServiceSystemExceptionpublic MBCategory getCategory(long categoryId) throws PortalException, SystemException
getCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic java.util.List<MBCategory> getCompanyCategories(long companyId, int start, int end) throws SystemException
getCompanyCategories in interface MBCategoryLocalServiceSystemExceptionpublic int getCompanyCategoriesCount(long companyId)
throws SystemException
getCompanyCategoriesCount in interface MBCategoryLocalServiceSystemExceptionpublic java.util.List<java.lang.Long> getSubcategoryIds(java.util.List<java.lang.Long> categoryIds,
long groupId,
long categoryId)
throws SystemException
getSubcategoryIds in interface MBCategoryLocalServiceSystemExceptionpublic java.util.List<MBCategory> getSubscribedCategories(long groupId, long userId, int start, int end) throws SystemException
getSubscribedCategories in interface MBCategoryLocalServiceSystemExceptionpublic int getSubscribedCategoriesCount(long groupId,
long userId)
throws SystemException
getSubscribedCategoriesCount in interface MBCategoryLocalServiceSystemExceptionpublic void moveCategoriesToTrash(long groupId,
long userId)
throws PortalException,
SystemException
moveCategoriesToTrash in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic MBCategory moveCategory(long categoryId, long parentCategoryId, boolean mergeWithParentCategory) throws PortalException, SystemException
moveCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic MBCategory moveCategoryFromTrash(long userId, long categoryId, long newCategoryId) throws PortalException, SystemException
moveCategoryFromTrash in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic MBCategory moveCategoryToTrash(long userId, long categoryId) throws PortalException, SystemException
moveCategoryToTrash in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void restoreCategoryFromTrash(long userId,
long categoryId)
throws PortalException,
SystemException
restoreCategoryFromTrash in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void subscribeCategory(long userId,
long groupId,
long categoryId)
throws PortalException,
SystemException
subscribeCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic void unsubscribeCategory(long userId,
long groupId,
long categoryId)
throws PortalException,
SystemException
unsubscribeCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic MBCategory updateCategory(long categoryId, long parentCategoryId, java.lang.String name, java.lang.String description, java.lang.String displayStyle, java.lang.String emailAddress, java.lang.String inProtocol, java.lang.String inServerName, int inServerPort, boolean inUseSSL, java.lang.String inUserName, java.lang.String inPassword, int inReadInterval, java.lang.String outEmailAddress, boolean outCustom, java.lang.String outServerName, int outServerPort, boolean outUseSSL, java.lang.String outUserName, java.lang.String outPassword, boolean allowAnonymous, boolean mailingListActive, boolean mergeWithParentCategory, ServiceContext serviceContext) throws PortalException, SystemException
updateCategory in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic MBCategory updateStatus(long userId, long categoryId, int status) throws PortalException, SystemException
updateStatus in interface MBCategoryLocalServicePortalExceptionSystemExceptionpublic MBCategoryLocalService getWrappedMBCategoryLocalService()
getWrappedService()public void setWrappedMBCategoryLocalService(MBCategoryLocalService mbCategoryLocalService)
setWrappedService(com.liferay.portlet.messageboards.service.MBCategoryLocalService)public MBCategoryLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<MBCategoryLocalService>public void setWrappedService(MBCategoryLocalService mbCategoryLocalService)
setWrappedService in interface ServiceWrapper<MBCategoryLocalService>