Interface KBCommentService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
KBCommentServiceWrapper

@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface KBCommentService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for KBComment. 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:
  • Method Details

    • deleteKBComment

      KBComment deleteKBComment(KBComment kbComment) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteKBComment

      KBComment deleteKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKBComment

      @Transactional(propagation=SUPPORTS, readOnly=true) KBComment getKBComment(long kbCommentId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKBComments

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      @Transactional(propagation=SUPPORTS, readOnly=true) int getKBCommentsCount(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKBCommentsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getKBCommentsCount(long groupId, int status) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKBCommentsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getKBCommentsCount(long groupId, String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getKBCommentsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) 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

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • updateKBComment

      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

      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

      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