@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface KBCommentService
extends com.liferay.portal.kernel.service.BaseService
KBCommentServiceUtil
Modifier and Type | Method and Description |
---|---|
KBComment |
deleteKBComment(KBComment kbComment) |
KBComment |
deleteKBComment(long kbCommentId) |
KBComment |
getKBComment(long kbCommentId) |
java.util.List<KBComment> |
getKBComments(long groupId,
int status,
int start,
int end) |
java.util.List<KBComment> |
getKBComments(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) |
java.util.List<KBComment> |
getKBComments(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) |
java.util.List<KBComment> |
getKBComments(long groupId,
java.lang.String className,
long classPK,
int status,
int start,
int end) |
java.util.List<KBComment> |
getKBComments(long groupId,
java.lang.String className,
long classPK,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) |
java.util.List<KBComment> |
getKBComments(long groupId,
java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) |
int |
getKBCommentsCount(long groupId) |
int |
getKBCommentsCount(long groupId,
int status) |
int |
getKBCommentsCount(long groupId,
java.lang.String className,
long classPK) |
int |
getKBCommentsCount(long groupId,
java.lang.String className,
long classPK,
int status) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
KBComment |
updateKBComment(long kbCommentId,
long classNameId,
long classPK,
java.lang.String content,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
KBComment |
updateKBComment(long kbCommentId,
long classNameId,
long classPK,
java.lang.String content,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
KBComment |
updateStatus(long kbCommentId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
KBComment deleteKBComment(KBComment kbComment) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
KBComment deleteKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) KBComment getKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<KBComment> getKBComments(long groupId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<KBComment> getKBComments(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<KBComment> getKBComments(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<KBComment> getKBComments(long groupId, java.lang.String className, long classPK, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<KBComment> getKBComments(long groupId, java.lang.String className, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<KBComment> getKBComments(long groupId, java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getKBCommentsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getKBCommentsCount(long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getKBCommentsCount(long groupId, java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getKBCommentsCount(long groupId, java.lang.String className, long classPK, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
java.lang.String getOSGiServiceIdentifier()
KBComment updateKBComment(long kbCommentId, long classNameId, long classPK, java.lang.String content, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
KBComment updateKBComment(long kbCommentId, long classNameId, long classPK, java.lang.String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
KBComment updateStatus(long kbCommentId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException