Class XsltEditorResource


  • @Path("/lum-internal/admin/portal-studio/xsleditor")
    public class XsltEditorResource
    extends java.lang.Object
    Resource that returns information used by the xslt editor
    Since:
    8.0.0
    Version:
    $Revision$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getControls​(@NotNull java.lang.String xmlData)  
      java.lang.String getControlXML​(@NotNull java.lang.String xmlData, @NotNull java.lang.String controlId)  
      java.lang.String getInsertMarkers​(@NotNull java.lang.String xmlData, @NotNull java.lang.String serviceInterfaceInstanceId, @NotNull java.lang.String selectedInterfaceStyleId)  
      java.lang.String getJsonFromXml​(@NotNull java.lang.String xmlData)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XsltEditorResource

        public XsltEditorResource()
    • Method Detail

      • getJsonFromXml

        @Path("/getjsonfromxml")
        @POST
        @Produces("application/json")
        public java.lang.String getJsonFromXml​(@FormParam("xmlData") @NotNull
                                               @NotNull java.lang.String xmlData)
                                        throws PortalException
        Throws:
        PortalException
      • getControls

        @Path("/getcontrols")
        @POST
        @Produces("application/json")
        public java.lang.String getControls​(@FormParam("xmlData") @NotNull
                                            @NotNull java.lang.String xmlData)
                                     throws PortalException
        Throws:
        PortalException
      • getControlXML

        @Path("/getcontrolxml")
        @POST
        @Produces("text/plain")
        public java.lang.String getControlXML​(@FormParam("xmlData") @NotNull
                                              @NotNull java.lang.String xmlData,
                                              @FormParam("controlId") @NotNull
                                              @NotNull java.lang.String controlId)
                                       throws PortalException
        Throws:
        PortalException
      • getInsertMarkers

        @Path("/getinsertmarkers")
        @POST
        @Produces("text/plain")
        public java.lang.String getInsertMarkers​(@FormParam("xmlData") @NotNull
                                                 @NotNull java.lang.String xmlData,
                                                 @FormParam("serviceInterfaceInstanceId") @NotNull
                                                 @NotNull java.lang.String serviceInterfaceInstanceId,
                                                 @FormParam("selectedInterfaceStyleId") @NotNull
                                                 @NotNull java.lang.String selectedInterfaceStyleId)
                                          throws PortalException
        Throws:
        PortalException