public class KBCommentServiceWrapper extends java.lang.Object implements KBCommentService, ServiceWrapper<KBCommentService>
KBCommentService.KBCommentService| Constructor and Description |
|---|
KBCommentServiceWrapper(KBCommentService kbCommentService) |
| Modifier and Type | Method and Description |
|---|---|
KBComment |
deleteKBComment(KBComment kbComment) |
KBComment |
deleteKBComment(long kbCommentId) |
KBComment |
getKBComment(long kbCommentId) |
java.util.List<KBComment> |
getKBComments(long groupId,
int status,
int start,
int end) |
java.util.List<KBComment> |
getKBComments(long groupId,
int status,
int start,
int end,
OrderByComparator<KBComment> orderByComparator) |
java.util.List<KBComment> |
getKBComments(long groupId,
int start,
int end,
OrderByComparator<KBComment> orderByComparator) |
java.util.List<KBComment> |
getKBComments(long groupId,
java.lang.String className,
long classPK,
int status,
int start,
int end) |
java.util.List<KBComment> |
getKBComments(long groupId,
java.lang.String className,
long classPK,
int status,
int start,
int end,
OrderByComparator<KBComment> orderByComparator) |
java.util.List<KBComment> |
getKBComments(long groupId,
java.lang.String className,
long classPK,
int start,
int end,
OrderByComparator<KBComment> orderByComparator) |
int |
getKBCommentsCount(long groupId) |
int |
getKBCommentsCount(long groupId,
int status) |
int |
getKBCommentsCount(long groupId,
java.lang.String className,
long classPK) |
int |
getKBCommentsCount(long groupId,
java.lang.String className,
long classPK,
int status) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
KBCommentService |
getWrappedService() |
void |
setWrappedService(KBCommentService kbCommentService) |
KBComment |
updateKBComment(long kbCommentId,
long classNameId,
long classPK,
java.lang.String content,
int status,
ServiceContext serviceContext) |
KBComment |
updateKBComment(long kbCommentId,
long classNameId,
long classPK,
java.lang.String content,
ServiceContext serviceContext) |
KBComment |
updateStatus(long kbCommentId,
int status,
ServiceContext serviceContext) |
public KBCommentServiceWrapper(KBCommentService kbCommentService)
public KBComment deleteKBComment(KBComment kbComment) throws PortalException
deleteKBComment in interface KBCommentServicePortalExceptionpublic KBComment deleteKBComment(long kbCommentId) throws PortalException
deleteKBComment in interface KBCommentServicePortalExceptionpublic KBComment getKBComment(long kbCommentId) throws PortalException
getKBComment in interface KBCommentServicePortalExceptionpublic java.util.List<KBComment> getKBComments(long groupId, int status, int start, int end) throws PortalException
getKBComments in interface KBCommentServicePortalExceptionpublic java.util.List<KBComment> getKBComments(long groupId, int status, int start, int end, OrderByComparator<KBComment> orderByComparator) throws PortalException
getKBComments in interface KBCommentServicePortalExceptionpublic java.util.List<KBComment> getKBComments(long groupId, int start, int end, OrderByComparator<KBComment> orderByComparator) throws PortalException
getKBComments in interface KBCommentServicePortalExceptionpublic java.util.List<KBComment> getKBComments(long groupId, java.lang.String className, long classPK, int status, int start, int end) throws PortalException
getKBComments in interface KBCommentServicePortalExceptionpublic java.util.List<KBComment> getKBComments(long groupId, java.lang.String className, long classPK, int status, int start, int end, OrderByComparator<KBComment> orderByComparator) throws PortalException
getKBComments in interface KBCommentServicePortalExceptionpublic java.util.List<KBComment> getKBComments(long groupId, java.lang.String className, long classPK, int start, int end, OrderByComparator<KBComment> orderByComparator) throws PortalException
getKBComments in interface KBCommentServicePortalExceptionpublic int getKBCommentsCount(long groupId)
throws PortalException
getKBCommentsCount in interface KBCommentServicePortalExceptionpublic int getKBCommentsCount(long groupId,
int status)
throws PortalException
getKBCommentsCount in interface KBCommentServicePortalExceptionpublic int getKBCommentsCount(long groupId,
java.lang.String className,
long classPK)
throws PortalException
getKBCommentsCount in interface KBCommentServicePortalExceptionpublic int getKBCommentsCount(long groupId,
java.lang.String className,
long classPK,
int status)
throws PortalException
getKBCommentsCount in interface KBCommentServicePortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface KBCommentServicepublic KBComment updateKBComment(long kbCommentId, long classNameId, long classPK, java.lang.String content, int status, ServiceContext serviceContext) throws PortalException
updateKBComment in interface KBCommentServicePortalExceptionpublic KBComment updateKBComment(long kbCommentId, long classNameId, long classPK, java.lang.String content, ServiceContext serviceContext) throws PortalException
updateKBComment in interface KBCommentServicePortalExceptionpublic KBComment updateStatus(long kbCommentId, int status, ServiceContext serviceContext) throws PortalException
updateStatus in interface KBCommentServicePortalExceptionpublic KBCommentService getWrappedService()
getWrappedService in interface ServiceWrapper<KBCommentService>public void setWrappedService(KBCommentService kbCommentService)
setWrappedService in interface ServiceWrapper<KBCommentService>