Class ThemeEditorResource


  • @Path("/lum-internal/admin/portal-studio/theme/editor")
    public class ThemeEditorResource
    extends java.lang.Object
    Supports Rest API for theme editor.
    Since:
    8.0.0
    Version:
    $Revision: 25323 $ $Date: 2022-10-26 16:39:34 -0300 (Wed, 26 Oct 2022) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String areThemeFilesEditable​(java.lang.String themeId)  
      void createNewDirectory​(java.lang.String themeId, java.lang.String filePath, java.lang.String dirName)  
      void createNewFile​(java.lang.String themeId, java.lang.String filePath, java.lang.String fileName)  
      void deleteFile​(java.lang.String themeId, java.lang.String filePath)  
      java.lang.String deletePageHolder​(java.lang.String pageId, java.lang.String pageHolderName)  
      Response downloadZip​(java.lang.String themeId, java.lang.String folderPath)  
      java.lang.String getEditableThemes​(java.lang.String pageId)  
      protected java.util.List<ITheme> getEditableThemes​(PageConfig page, ITransaction transaction)  
      java.lang.String getEditTheme​(HttpServletRequest req, HttpServletResponse resp)  
      Response getFile​(java.lang.String themeId, java.lang.String filePath)  
      java.lang.String getFileText​(java.lang.String themeId, java.lang.String filePath)  
      java.lang.String getFolderChildren​(java.lang.String themeId, java.lang.String folderPath)  
      java.lang.String getPageBlockInfo​(java.lang.String pageId, java.lang.String pageBlockPath, int pageBlockPathParents)  
      java.lang.String getPageHolderInfo​(java.lang.String pageId, java.lang.String pageHolderPath)  
      java.lang.String getParentSelector​(java.lang.String pageId, java.lang.String pageHolderPath)  
      java.lang.String insertPageBlock​(java.lang.String pageId, java.lang.String pageBlockPath, int pageBlockPathParents, java.lang.String pageBlockName, java.lang.String pageBlockReference, java.lang.String selectedPageBlock)  
      java.lang.String insertPageHolder​(java.lang.String pageId, java.lang.String pageHolderPath, java.lang.String pageHolderName)  
      java.lang.String isPageLayoutFileEditable​(java.lang.String pageId)  
      void renameFile​(java.lang.String themeId, java.lang.String filePath, java.lang.String newFileName)  
      void saveFileText​(java.lang.String themeId, java.lang.String filePath, java.lang.String fileContent)  
      java.lang.String uploadFile​(java.io.InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, java.lang.String themeId, java.lang.String filePath)  
      java.lang.String uploadZip​(java.io.InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, java.lang.String themeId, java.lang.String filePath)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait