Class KBCommentServiceUtil
java.lang.Object
com.liferay.knowledge.base.service.KBCommentServiceUtil
Provides the remote service utility for KBComment. This utility wraps
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.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KBCommentdeleteKBComment(long kbCommentId) static KBCommentdeleteKBComment(KBComment kbComment) static KBCommentgetKBComment(long kbCommentId) getKBComments(long groupId, int status, int start, int end) getKBComments(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) getKBComments(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) getKBComments(long groupId, String className, long classPK, int status, int start, int end) getKBComments(long groupId, String className, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) getKBComments(long groupId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) static intgetKBCommentsCount(long groupId) static intgetKBCommentsCount(long groupId, int status) static intgetKBCommentsCount(long groupId, String className, long classPK) static intgetKBCommentsCount(long groupId, String className, long classPK, int status) static StringReturns the OSGi service identifier.static KBCommentServicestatic KBCommentupdateKBComment(long kbCommentId, long classNameId, long classPK, String content, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KBCommentupdateKBComment(long kbCommentId, long classNameId, long classPK, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KBCommentupdateStatus(long kbCommentId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
KBCommentServiceUtil
public KBCommentServiceUtil()
-
-
Method Details
-
deleteKBComment
public static KBComment deleteKBComment(KBComment kbComment) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKBComment
public static KBComment deleteKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComment
public static KBComment getKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public static List<KBComment> getKBComments(long groupId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public static 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public static List<KBComment> getKBComments(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public static List<KBComment> getKBComments(long groupId, String className, long classPK, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public static List<KBComment> getKBComments(long groupId, 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 - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public static List<KBComment> getKBComments(long groupId, String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBCommentsCount
public static int getKBCommentsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBCommentsCount
public static int getKBCommentsCount(long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBCommentsCount
public static int getKBCommentsCount(long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBCommentsCount
public static int getKBCommentsCount(long groupId, String className, long classPK, int status) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
updateKBComment
public static KBComment updateKBComment(long kbCommentId, long classNameId, long classPK, String content, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKBComment
public static KBComment updateKBComment(long kbCommentId, long classNameId, long classPK, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public static KBComment updateStatus(long kbCommentId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-