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,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) |
static java.util.List<KBComment> |
getKBComments(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.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,
com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) |
static 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) |
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KBComment |
updateKBComment(long kbCommentId,
long classNameId,
long classPK,
java.lang.String content,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KBComment |
updateStatus(long kbCommentId,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
public static KBComment deleteKBComment(KBComment kbComment) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static KBComment deleteKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static KBComment getKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
public static int getKBCommentsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getKBCommentsCount(long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getKBCommentsCount(long groupId, java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static 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
public static java.lang.String getOSGiServiceIdentifier()
public static 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
public static 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
public static 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
public static KBCommentService getService()