@ProviderType
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 com.liferay.portal.kernel.json.JSONObject |
addComment(java.lang.String className,
long classPK,
java.lang.String body) |
static com.liferay.portal.kernel.json.JSONObject |
getComment(long commentId) |
static com.liferay.portal.kernel.json.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 com.liferay.portal.kernel.json.JSONObject |
updateComment(long commentId,
java.lang.String body) |
public static com.liferay.portal.kernel.json.JSONObject addComment(java.lang.String className, long classPK, java.lang.String body) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.json.JSONObject getComment(long commentId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static com.liferay.portal.kernel.json.JSONArray getComments(java.lang.String className, long classPK, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCommentsCount(java.lang.String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
public static com.liferay.portal.kernel.json.JSONObject updateComment(long commentId, java.lang.String body) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static ScreensCommentService getService()