Package lumis.doui.control.htmleditor
Class CKEditorResource
- java.lang.Object
-
- lumis.doui.control.htmleditor.CKEditorResource
-
-
Constructor Summary
Constructors Constructor Description CKEditorResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHtmlBlockData(String sourceId, String fieldId, String pk)
Returns the conditions HTML blocks source field.Response
getResource(String originalPath)
Routes the given path to the appropriate path.
-
-
-
Method Detail
-
getResource
@GET @Path("/baseHref/{originalPath:.+}") public Response getResource(@PathParam("originalPath") String originalPath) throws PortalException
Routes the given path to the appropriate path.- Parameters:
originalPath
- the originalPath- Returns:
- a redirect response.
- Throws:
PortalException
- Since:
- 14.0.0
-
getHtmlBlockData
@GET @Produces("application/json") @Path("/getHtmlBlockData/{sourceId}/{fieldId}/{pk:[a-fA-F0-9]{32}}") public String getHtmlBlockData(@PathParam("sourceId") String sourceId, @PathParam("fieldId") String fieldId, @PathParam("pk") String pk) throws PortalException, SQLException
Returns the conditions HTML blocks source field.- Parameters:
sourceId
- the source identifier.fieldId
- the field identifier.pk
- the primary key source value.- Returns:
- the conditions HTML blocks source field.
- Throws:
PortalException
SQLException
- Since:
- 14.0.0
-
-