public class ScreensCommentServiceUtil
extends java.lang.Object
com.liferay.screens.service.impl.ScreensCommentServiceImpl
and is an
access point for service operations in application layer code running on a
remote server. Methods of this service are expected to have security checks
based on the propagated JAAS credentials because this service can be
accessed remotely.ScreensCommentService
Constructor and Description |
---|
ScreensCommentServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static JSONObject |
addComment(java.lang.String className,
long classPK,
java.lang.String body) |
static JSONObject |
getComment(long commentId) |
static JSONArray |
getComments(java.lang.String className,
long classPK,
int start,
int end) |
static int |
getCommentsCount(java.lang.String className,
long classPK) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static ScreensCommentService |
getService() |
static JSONObject |
updateComment(long commentId,
java.lang.String body) |
public static JSONObject addComment(java.lang.String className, long classPK, java.lang.String body) throws PortalException
PortalException
public static JSONObject getComment(long commentId) throws PortalException
PortalException
public static JSONArray getComments(java.lang.String className, long classPK, int start, int end) throws PortalException
PortalException
public static int getCommentsCount(java.lang.String className, long classPK) throws PortalException
PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static JSONObject updateComment(long commentId, java.lang.String body) throws PortalException
PortalException
public static ScreensCommentService getService()