public class KBCommentServiceUtil
extends java.lang.Object
com.liferay.knowledge.base.service.impl.KBCommentServiceImpl and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.KBCommentService| Constructor and Description |
|---|
KBCommentServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static KBComment |
deleteKBComment(KBComment kbComment) |
static KBComment |
deleteKBComment(long kbCommentId) |
static KBComment |
getKBComment(long kbCommentId) |
static java.util.List<KBComment> |
getKBComments(long groupId,
int status,
int start,
int end) |
static java.util.List<KBComment> |
getKBComments(long groupId,
int status,
int start,
int end,
OrderByComparator<KBComment> orderByComparator) |
static java.util.List<KBComment> |
getKBComments(long groupId,
int start,
int end,
OrderByComparator<KBComment> orderByComparator) |
static java.util.List<KBComment> |
getKBComments(long groupId,
java.lang.String className,
long classPK,
int status,
int start,
int end) |
static java.util.List<KBComment> |
getKBComments(long groupId,
java.lang.String className,
long classPK,
int status,
int start,
int end,
OrderByComparator<KBComment> orderByComparator) |
static java.util.List<KBComment> |
getKBComments(long groupId,
java.lang.String className,
long classPK,
int start,
int end,
OrderByComparator<KBComment> orderByComparator) |
static int |
getKBCommentsCount(long groupId) |
static int |
getKBCommentsCount(long groupId,
int status) |
static int |
getKBCommentsCount(long groupId,
java.lang.String className,
long classPK) |
static int |
getKBCommentsCount(long groupId,
java.lang.String className,
long classPK,
int status) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static KBCommentService |
getService() |
static KBComment |
updateKBComment(long kbCommentId,
long classNameId,
long classPK,
java.lang.String content,
int status,
ServiceContext serviceContext) |
static KBComment |
updateKBComment(long kbCommentId,
long classNameId,
long classPK,
java.lang.String content,
ServiceContext serviceContext) |
static KBComment |
updateStatus(long kbCommentId,
int status,
ServiceContext serviceContext) |
public static KBComment deleteKBComment(KBComment kbComment) throws PortalException
PortalExceptionpublic static KBComment deleteKBComment(long kbCommentId) throws PortalException
PortalExceptionpublic static KBComment getKBComment(long kbCommentId) throws PortalException
PortalExceptionpublic static java.util.List<KBComment> getKBComments(long groupId, int status, int start, int end) throws PortalException
PortalExceptionpublic static java.util.List<KBComment> getKBComments(long groupId, int status, int start, int end, OrderByComparator<KBComment> orderByComparator) throws PortalException
PortalExceptionpublic static java.util.List<KBComment> getKBComments(long groupId, int start, int end, OrderByComparator<KBComment> orderByComparator) throws PortalException
PortalExceptionpublic static java.util.List<KBComment> getKBComments(long groupId, java.lang.String className, long classPK, int status, int start, int end) throws PortalException
PortalExceptionpublic static java.util.List<KBComment> getKBComments(long groupId, java.lang.String className, long classPK, int status, int start, int end, OrderByComparator<KBComment> orderByComparator) throws PortalException
PortalExceptionpublic static java.util.List<KBComment> getKBComments(long groupId, java.lang.String className, long classPK, int start, int end, OrderByComparator<KBComment> orderByComparator) throws PortalException
PortalExceptionpublic static int getKBCommentsCount(long groupId)
throws PortalException
PortalExceptionpublic static int getKBCommentsCount(long groupId,
int status)
throws PortalException
PortalExceptionpublic static int getKBCommentsCount(long groupId,
java.lang.String className,
long classPK)
throws PortalException
PortalExceptionpublic static int getKBCommentsCount(long groupId,
java.lang.String className,
long classPK,
int status)
throws PortalException
PortalExceptionpublic static java.lang.String getOSGiServiceIdentifier()
public static KBComment updateKBComment(long kbCommentId, long classNameId, long classPK, java.lang.String content, int status, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static KBComment updateKBComment(long kbCommentId, long classNameId, long classPK, java.lang.String content, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static KBComment updateStatus(long kbCommentId, int status, ServiceContext serviceContext) throws PortalException
PortalExceptionpublic static KBCommentService getService()