public class ScreensCommentServiceWrapper extends java.lang.Object implements ScreensCommentService, ServiceWrapper<ScreensCommentService>
ScreensCommentService.ScreensCommentService| Constructor and Description |
|---|
ScreensCommentServiceWrapper(ScreensCommentService screensCommentService) |
| Modifier and Type | Method and Description |
|---|---|
JSONObject |
addComment(java.lang.String className,
long classPK,
java.lang.String body) |
JSONObject |
getComment(long commentId) |
JSONArray |
getComments(java.lang.String className,
long classPK,
int start,
int end) |
int |
getCommentsCount(java.lang.String className,
long classPK) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
ScreensCommentService |
getWrappedService() |
void |
setWrappedService(ScreensCommentService screensCommentService) |
JSONObject |
updateComment(long commentId,
java.lang.String body) |
public ScreensCommentServiceWrapper(ScreensCommentService screensCommentService)
public JSONObject addComment(java.lang.String className, long classPK, java.lang.String body) throws PortalException
addComment in interface ScreensCommentServicePortalExceptionpublic JSONObject getComment(long commentId) throws PortalException
getComment in interface ScreensCommentServicePortalExceptionpublic JSONArray getComments(java.lang.String className, long classPK, int start, int end) throws PortalException
getComments in interface ScreensCommentServicePortalExceptionpublic int getCommentsCount(java.lang.String className,
long classPK)
throws PortalException
getCommentsCount in interface ScreensCommentServicePortalExceptionpublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface ScreensCommentServicepublic JSONObject updateComment(long commentId, java.lang.String body) throws PortalException
updateComment in interface ScreensCommentServicePortalExceptionpublic ScreensCommentService getWrappedService()
getWrappedService in interface ServiceWrapper<ScreensCommentService>public void setWrappedService(ScreensCommentService screensCommentService)
setWrappedService in interface ServiceWrapper<ScreensCommentService>