Class KBCommentServiceWrapper
java.lang.Object
com.liferay.knowledge.base.service.KBCommentServiceWrapper
- All Implemented Interfaces:
KBCommentService
,com.liferay.portal.kernel.service.BaseService
,com.liferay.portal.kernel.service.ServiceWrapper<KBCommentService>
public class KBCommentServiceWrapper
extends Object
implements KBCommentService, com.liferay.portal.kernel.service.ServiceWrapper<KBCommentService>
Provides a wrapper for
KBCommentService
.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteKBComment
(long kbCommentId) deleteKBComment
(KBComment kbComment) getKBComment
(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) int
getKBCommentsCount
(long groupId) int
getKBCommentsCount
(long groupId, int status) int
getKBCommentsCount
(long groupId, String className, long classPK) int
getKBCommentsCount
(long groupId, String className, long classPK, int status) Returns the OSGi service identifier.void
setWrappedService
(KBCommentService kbCommentService) updateKBComment
(long kbCommentId, long classNameId, long classPK, String content, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateKBComment
(long kbCommentId, long classNameId, long classPK, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStatus
(long kbCommentId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext)
-
Constructor Details
-
KBCommentServiceWrapper
public KBCommentServiceWrapper() -
KBCommentServiceWrapper
-
-
Method Details
-
deleteKBComment
public KBComment deleteKBComment(KBComment kbComment) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteKBComment
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteKBComment
public KBComment deleteKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteKBComment
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComment
public KBComment getKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBComment
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public List<KBComment> getKBComments(long groupId, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBComments
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public 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 - Specified by:
getKBComments
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public List<KBComment> getKBComments(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KBComment> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBComments
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public List<KBComment> getKBComments(long groupId, String className, long classPK, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBComments
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public 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 - Specified by:
getKBComments
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBComments
public 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 - Specified by:
getKBComments
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBCommentsCount
public int getKBCommentsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBCommentsCount
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBCommentsCount
public int getKBCommentsCount(long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBCommentsCount
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBCommentsCount
public int getKBCommentsCount(long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBCommentsCount
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getKBCommentsCount
public int getKBCommentsCount(long groupId, String className, long classPK, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getKBCommentsCount
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceKBCommentService
- Returns:
- the OSGi service identifier
-
updateKBComment
public 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 - Specified by:
updateKBComment
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateKBComment
public KBComment updateKBComment(long kbCommentId, long classNameId, long classPK, String content, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateKBComment
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public KBComment updateStatus(long kbCommentId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStatus
in interfaceKBCommentService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<KBCommentService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<KBCommentService>
-