Package lumis.service.doui.htmlsnippet
Class HtmlSnippetUtil
- java.lang.Object
-
- lumis.service.doui.htmlsnippet.HtmlSnippetUtil
-
public class HtmlSnippetUtil extends java.lang.Object
Utility class for htmlsnippet service.- Since:
- 15.0.0
- Version:
- $Revision: 26044 $ $Date: 2023-12-01 17:01:02 -0300 (Fri, 01 Dec 2023) $
-
-
Constructor Summary
Constructors Constructor Description HtmlSnippetUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
checkEditContentPermission(IServiceInterfaceRequest request)
Checks if the current session hasServiceInstancePermissions.EDIT_SERVICE_INSTANCE_CONTENT
in the service instance specified in the request.static void
checkManageServiceInstancePermission(IServiceInterfaceRequest request)
Checks if the current session hasServiceInstancePermissions.MANAGE_SERVICE_INSTANCE
in the service instance specified in the request.static java.lang.String
processHtml(java.lang.String htmlContent)
-
-
-
Method Detail
-
checkEditContentPermission
public static void checkEditContentPermission(IServiceInterfaceRequest request) throws PortalException
Checks if the current session hasServiceInstancePermissions.EDIT_SERVICE_INSTANCE_CONTENT
in the service instance specified in the request.- Parameters:
request
- the request to the htmlsnippet's interface.- Throws:
PortalException
- Since:
- 15.0.0
-
checkManageServiceInstancePermission
public static void checkManageServiceInstancePermission(IServiceInterfaceRequest request) throws PortalException
Checks if the current session hasServiceInstancePermissions.MANAGE_SERVICE_INSTANCE
in the service instance specified in the request.- Parameters:
request
- the request to the htmlsnippet's interface.- Throws:
PortalException
- Since:
- 15.0.0
-
processHtml
public static java.lang.String processHtml(java.lang.String htmlContent)
-
-