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 Details

    • KBCommentServiceWrapper

      public KBCommentServiceWrapper()
    • KBCommentServiceWrapper

      public KBCommentServiceWrapper(KBCommentService kbCommentService)
  • Method Details

    • deleteKBComment

      public KBComment deleteKBComment(KBComment kbComment) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteKBComment in interface KBCommentService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteKBComment

      public KBComment deleteKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      deleteKBComment in interface KBCommentService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKBComment

      public KBComment getKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getKBComment in interface KBCommentService
      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 interface KBCommentService
      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 interface KBCommentService
      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 interface KBCommentService
      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 interface KBCommentService
      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 interface KBCommentService
      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 interface KBCommentService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKBCommentsCount

      public int getKBCommentsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getKBCommentsCount in interface KBCommentService
      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 interface KBCommentService
      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 interface KBCommentService
      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 interface KBCommentService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Specified by:
      getOSGiServiceIdentifier in interface KBCommentService
      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 interface KBCommentService
      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 interface KBCommentService
      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 interface KBCommentService
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getWrappedService

      public KBCommentService getWrappedService()
      Specified by:
      getWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<KBCommentService>
    • setWrappedService

      public void setWrappedService(KBCommentService kbCommentService)
      Specified by:
      setWrappedService in interface com.liferay.portal.kernel.service.ServiceWrapper<KBCommentService>